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.
Suggested flow
Section titled “Suggested flow”- Open Settings Guide.
- Enable Local MCP Bridge.
- Choose the setup guide format for your client.
- For Codex, copy the Streamable HTTP TOML snippet into
~/.codex/config.toml. For Cursor or generic clients, copy the JSON snippet. - Restart or reload the IDE client so it discovers the MCP server.
- Ask the IDE agent to call
fm_session action:statuswhen it needs session identity. - For script work, have the agent discover Script Schema and targeted step/function records with
fm_search, then read the exact script withfm_read target:script(orgenie://context/scripts) before edits. - Have the agent inspect one exact metadata target with
fm_read. - If the prompt names several metadata objects for staging, call
fm_read target:selectionwith their exact identities. - Stage exactly one item with
fm_stage kind:script,kind:data, orkind:layout. - Open Workbench in Genie and run, copy, or remove the staged item.
Example staging request
Section titled “Example staging request”For one new script, submit a Script Schema document to fm_stage kind:script. The steps array should use step ids/names and argument shapes discovered with targeted fm_search queries.
{ "kind": "script", "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, read genie://context/scripts or fm_read target:script first and submit fm_stage kind:script with result_type: "delta_edit". For one supported SQL data/schema request, use fm_stage kind: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 fm_stage kind:script calls, one per script.
What belongs in the demo
Section titled “What belongs in the demo”- setup guide format selection in Settings
- Codex Streamable HTTP or Cursor/generic JSON configuration
fm_session action:statuswhen session identity matters- Script Schema and targeted script catalog/step records discovered with
fm_search - one exact
fm_readlookup - one
metadata_selectionbundle fromfm_read target:selectionwhen metadata names matter - one staged Workbench item
- user review in Workbench
- normal Genie CODE or DATA behavior after clicking Run
Boundaries to mention
Section titled “Boundaries to mention”- MCP staging does not generate, mutate, or apply.
- Script work is one new script or one active-script edit through
fm_stage kind:script. - DATA is one supported FileMaker SQL write/schema request through
fm_stage kind:data. - QUERY is read-only SELECT through
fm_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.
Suggested media
Section titled “Suggested media”- 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