Skip to content

Bridge mode exposes MCP servers through one dedicated tool, mcpctl, instead of advertising every server tool and schema to the model. Agents discover only the schemas they need. Bridge mode is on by default (mcp.bridge_mode: true).

What changes for the agent ​

Without bridge modeWith bridge mode
MCP tool definitionsOne per tool (mcp__github__create_issue, mcp__github__list_repos, …)One wrapper: mcpctl
DiscoveryIndividual tool definitionsAvailable-server context plus on-demand help
InvocationDirect call to the registered toolmcpctl with an args array

A short <mcpservers> block supplies permitted running servers and their descriptions. Changes to the available-server catalogue arrive as context updates on later turns. Full tool schemas are fetched on demand.

The dedicated mcpctl tool ​

The model passes the arguments after mcpctl as separate strings:

json
{"args": ["github", "list_repos", "--owner", "octocat"]}

This uses the current user and agent context to call Frona's MCP service directly. It does not launch a shell, require shell permission, or need an ephemeral token file. Spaces and shell metacharacters inside an argument are literal data.

The command parser, help text, flags, output, and errors are shared with the standalone CLI. Arguments are bounded to 256 entries and 64 KiB in total. Calls support cancellation and time out after at most 120 seconds, or sooner when the agent has a shorter nonzero sandbox timeout.

Discovery commands ​

Dedicated tool argumentsEquivalent CLI commandWhat it shows
["list"]mcpctl listPermitted running servers
["github", "--help"]mcpctl github --helpAvailable tools on a server
["github", "list_repos", "--help"]mcpctl github list_repos --helpParameters, types, and required flags

Each flag and value is its own argument. An empty server list means no servers are available to the current execution.

Standalone CLI ​

The mcpctl executable remains available for shell workflows when shell access is permitted:

nu
mcpctl github list_repos --owner octocat

The executable reads FRONA_API_URL and an ephemeral token from FRONA_TOKEN_FILE, then calls Frona's HTTP bridge. Frona injects these into the sandbox environment. This route needs network access to the Frona API; the dedicated tool does not use this shell or HTTP hop.

Authorization and updates ​

Both routes enforce ownership and the current agent's policies for the underlying MCP tool. Discovery filters inaccessible tools, and every invocation is authorized again. Selecting bridge mode does not grant access to a server or its tools.

When an MCP server sends a tool-list change notification, Frona refreshes its registered tools. Changes are available to bridge discovery and to subsequent requests using direct registration without restarting the MCP server. A failed refresh keeps the last successful tool list.

When to turn bridge mode off ​

Set mcp.bridge_mode: false when you want the model to receive individual MCP tool definitions, for example with a small tool set or when inspecting native call arguments.

Directly registered MCP tools preserve supported PNG, JPEG, GIF, and WebP image results for the model. Invalid, unsupported, or excessive images produce explanatory text while preserving the rest of the result. The bridge returns CLI-style text output.

Next steps ​

  • MCP. Server configuration and sandboxing.
  • Installing. Add and manage servers.
  • Policies. Authorize MCP tools.