Skip to content

Local MCP Bridge

Connect Codex, Cursor, Claude Desktop, or another local MCP client to FileMaker through Genie.

Reads are free. Staging, Workbench actions, and script execution require a paid plan.

For each tool, the resources and what can be staged, see MCP tool reference.

Claude, connected through the Local MCP Bridge, finishes an estimates feature in an invoicing file. It reads the file, finds what is broken, then writes scripts, builds layouts and adds a relationship. Auto apply was on.

  1. Open Settings > Local MCP and turn on Enable. It takes effect at once; you do not need to Save.
  2. Choose your app under Connect an app and click Copy setup.
  3. Follow the Setup instructions that open. They name the menu to open in your app and where to paste: Claude Desktop (Settings > Developer > Edit Config), Codex (~/.codex/config.toml, on Windows %USERPROFILE%\.codex\config.toml) and Cursor (Settings > Tools & MCP > Add Custom MCP Server, which opens mcp.json).
  4. Quit and reopen your app, then click Test connection.

Test connection shows whether the listener is running and on which port, whether apps have read-only or Coding Access, the security level apps get, and how many open files an agent would see. A line that fails says how to fix it. Under the button, Last connected names the app that last reached Genie and when, or says that no app has connected yet. Genie keeps this in memory only. Genie’s own Claude Code and Codex are not counted.

An agent can read the same facts from the connection section of fm_session action:status. It never contains the access token.

Only a new port needs Save. If Regenerate token cannot save the new token (for example the macOS Keychain is locked), Genie says so and the current token keeps working.

Advanced settings contains the port, server details, configuration preview and token regeneration. Keep the access token private. What connected apps can read is set in Settings › Security (see below).

Use the configuration generated by your installed Genie version. The token and port must match Settings. After changing your plan, reconnect so the client refreshes its available tools.

Genie 3.3 can run its Agent through your own Claude Code or Codex. They use this same local bridge, with the same nine tools, so you do not connect them like an external client. If Local MCP is off, Genie shows Local connection is off with a Turn on link in the footer under the composer (Local connection off) and a button in Settings > Models. Turn on asks Turn on Local MCP? first, then does what the switch in Settings > Local MCP does. The bridge only listens on this Mac (127.0.0.1) and uses a private token. Their changes follow the same Auto apply rules as any MCP client: you review each one unless Auto apply is on. Claude Code and Codex.

You can run Genie in more than one FileMaker at a time. Only one of them can hold the Local MCP port, and external apps reach that one. Each Genie’s own agents work with the FileMaker they run in. The others wait: Test connection says the port is in use, and when the FileMaker holding it quits, another takes it over within a few seconds.

Local MCP settings after Test connection: port 3845 is in use elsewhere and this FileMaker takes it over when it is free; licence, security and file checks pass
Test connection in a FileMaker that is waiting for the port.

Use Settings > Security to choose what connected MCP clients can read: Full access, Structure only or Selection only. The level applies to them when MCP apps is checked under Applies to; anything left unchecked gets Full access. A file’s own level, set in Settings > Personalization > Project > Access, applies to them too.

Local MCP Bridge settings in Genie

At Selection only:

  • only what you select in Metadata Explorer is shared
  • if nothing is selected, no live FileMaker data is shared
  • selecting a table does not automatically share all its fields
  • every query and evaluation asks for your confirmation first
  • broad live resources, Web access, and report_issue are unavailable

The Local MCP page no longer has its own Privacy mode switch. If you used it, MCP apps are now at Selection only. Privacy and Security.

On a Mac with FileMaker Pro 26.1 or later, Settings > Local MCP can show a line under the connection status. Genie only reads it. It never changes it.

  • FileMaker Agent Access: On, port 19080, Off, or On in settings but not running. This is FileMaker’s own setting, which lets other applications reach your open files. FileMaker grants access to a whole application at once, not file by file, and the access ends when FileMaker quits. Apps connected through Genie follow the security level you set in Genie. To change Agent Access, use FileMaker’s Agents window.

The line is hidden on older FileMaker and on Windows.

Turn on Settings > Extensions > Enable Klai Integration (paid) to give Genie and connected MCP clients the Klai / BetterForms guides and tools. See Klai and BetterForms.

  1. Confirm the FileMaker file with fm_session.
  2. Find the relevant guides with fm_search; read exact scripts and metadata with fm_read.
  3. Use fm_query for record data and fm_evaluate for calculation checks when needed.
  4. Prepare one item with fm_stage.

Without Auto apply, staged items go to Genie’s Workbench, where you review them. With Auto apply on, an explicit execute request runs directly. A named script can be read without opening it in Script Workspace. fm_run can request one existing script run, and Genie asks you to confirm every run unless Auto apply is on with Run scripts automatically enabled.

Deletes wait for you unless you allow them. With Auto apply on, a delete runs only if its box is ticked in Settings > Security: Delete layouts automatically, Delete scripts automatically or Delete schema automatically. With the box off, the agent gets awaiting_delete_confirmation and you answer on a card in Genie. A delete cannot be undone. See Deletes.

Use the setup guide in Settings to copy the current snippet for your client. Current snippets name the server genie_filemaker.

For Codex, use Streamable HTTP in ~/.codex/config.toml:

[mcp_servers.genie_filemaker]
enabled = true
url = "http://127.0.0.1:3845/mcp"
[mcp_servers.genie_filemaker.http_headers]
Authorization = "Bearer <generated-token>"

For Cursor or generic MCP JSON clients, use:

{
"mcpServers": {
"genie_filemaker": {
"url": "http://127.0.0.1:3845/mcp",
"headers": {
"Authorization": "Bearer <generated-token>"
}
}
}
}

For Claude Desktop, use the Claude Desktop (stdio bridge) setup guide. Genie uses mcp-remote@latest as the local stdio bridge to the Streamable HTTP server:

{
"mcpServers": {
"genie_filemaker": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"http://127.0.0.1:3845/mcp",
"--header",
"Authorization:${GENIE_MCP_AUTH_HEADER}"
],
"env": {
"GENIE_MCP_AUTH_HEADER": "Bearer <generated-token>"
}
}
}
}

When Genie cannot answer or stage a request, it usually returns an ok:false result with a reason instead of dropping the connection.

The fix is usually to:

  • open or activate the correct FileMaker file
  • refresh the Script Workspace selection
  • inspect metadata with fm_read
  • split bundled work into one item at a time
  • keeping an IDE-side agent aligned with FileMaker metadata
  • reading script context without pasting large XML into chat
  • checking FileMaker calculations before staging
  • checking relationships and field lists before data or script work
  • staging one script, data change, or layout item for review

Enable Local MCP Bridge, connect the IDE, inspect metadata, and stage one script or data change for review in Workbench.

Connect your client as described above. Then:

  1. Ask the IDE agent to call fm_session action:status when it needs session identity.
  2. For script work, have the agent discover Script Schema and targeted step/function records with fm_search, then read the exact script with fm_read target:script (or genie://context/scripts) before edits.
  3. Have the agent inspect one exact metadata target with fm_read.
  4. If the prompt names several metadata objects for staging, call fm_read target:selection with their exact identities.
  5. Stage exactly one item with fm_stage kind:script, kind:data, or kind:layout.
  6. Open Workbench in Genie and run, copy, or remove the staged item.

With Auto apply on, an explicit execute request from the agent runs directly instead of waiting in Workbench.

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 SQL data or 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.