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
genie_get_capabilities. - For script work, have the agent read
genie://schemas/script-schema, callgenie_get_steps, and readgenie://context/scriptsbefore edits. - Have the agent inspect metadata with
genie_describe. - If the prompt names metadata, have the agent call
genie_prepare_metadata_selection. - Stage one item with
genie_stage_scriptorgenie_stage_data. - 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 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.
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
genie_get_capabilitiesbefore staging- Script Schema and
genie_get_stepsbefore script staging - one metadata lookup
- one
metadata_selectionbundle when 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
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.
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