Skip to content

Use MCP with Your Web IDE

This example shows how Genie can expose FileMaker-aware context to an editor or agent running on the same Mac, then accept reviewed handoff through Workbench.

Enable Local MCP Bridge, connect the IDE, inspect metadata, and stage one supported script or DATA Workbench item without bypassing Genie review.

  1. Open Settings Guide.
  2. Enable Local MCP Bridge.
  3. Choose the setup guide format for your client.
  4. For Codex, copy the Streamable HTTP TOML snippet into ~/.codex/config.toml. For Cursor or generic clients, copy the JSON snippet.
  5. Restart or reload the IDE client so it discovers the MCP server.
  6. Ask the IDE agent to call genie_get_capabilities.
  7. For script work, have the agent read genie://schemas/script-schema, call genie_get_steps, and read genie://context/scripts before edits.
  8. Have the agent inspect metadata with genie_describe.
  9. If the prompt names metadata, have the agent call genie_prepare_metadata_selection.
  10. Stage one item with genie_stage_script or genie_stage_data.
  11. Open Workbench in Genie and run, copy, or remove the staged item.

For one new script, submit a Script Schema document to genie_stage_script. The steps array should use step ids/names and argument shapes returned by genie_get_steps.

{
"title": "Export Customers JSON",
"source": "Codex",
"script": {
"result_type": "new_script",
"script": {
"name": "Export Customers JSON",
"steps": [
{
"name": "Set Variable",
"args": {
"name": "$json",
"value": "\"[]\""
}
}
]
}
},
"metadata_selection": {
"tables": [],
"fields": [],
"layouts": [],
"scripts": [],
"customFunctions": []
}
}

For an edit to the active script, read genie://context/scripts first and submit genie_stage_script with result_type: "delta_edit". For one supported SQL data/schema request, use genie_stage_data.

If the agent receives ok: false, it should follow the returned guidance. For example, a bundled two-script request should be split into two genie_stage_script calls, one per script.

  • setup guide format selection in Settings
  • Codex Streamable HTTP or Cursor/generic JSON configuration
  • genie_get_capabilities before staging
  • Script Schema and genie_get_steps before script staging
  • one metadata lookup
  • one metadata_selection bundle when metadata names matter
  • one staged Workbench item
  • user review in Workbench
  • normal Genie CODE or DATA behavior after clicking Run
  • MCP staging does not generate, mutate, or apply.
  • Script work is one new script or one active-script edit through genie_stage_script.
  • DATA is one supported FileMaker SQL write/schema request through genie_stage_data.
  • QUERY is read-only SELECT through genie_query, outside Workbench.
  • ASK/planning stays in the IDE or normal Genie chat, outside Workbench.
  • Manual FileMaker graph and layout work stays in FileMaker or in IDE-side instructions.
  • one short walkthrough video
  • one screenshot of Local MCP Bridge settings with setup guide
  • one screenshot of the copied Codex TOML or Cursor JSON
  • one screenshot of the external MCP client reading Genie metadata
  • one screenshot of a staged Workbench item
  • one screenshot of Genie running the item through normal chat