Skip to main content

MCP connections and tools

Source review and historical material

This technical reference was reconciled statically with current implementation on 8 November 2026. Explicit historical examples, screenshots and pinned public links remain historical; they are not evidence of current runtime acceptance. Start with the current operator guide for installation and check your installed build before using newer capabilities.

BURROW separates a provider connection, its discovered tool catalog and each agent's grants. Saving or discovering a connection does not grant an agent permission to call its tools. PostgreSQL owns these records; mcporter supplies transport.

Connect, discover, grant​

  1. Open Settings → Connections → MCP servers and create an enabled connection.
  2. Choose http with a base URL or stdio with a command and arguments. Supply only the credentials/environment the provider needs.
  3. Discover the provider's tools. Use Diagnose when startup or connection checks fail.
  4. Open the agent's MCP tool settings and grant specific tools from the catalog.
  5. Make a test request through that agent and inspect the execution result. Discovery alone is not a successful invocation test.

HTTP API-key credentials become a Bearer authorization header unless an explicit custom Authorization header is configured. HTTP-only custom secret headers can be added/replaced/removed in the connection editor; existing values are not returned in metadata reads. A stdio provider runs as a subprocess with the service PATH and configured provider environment values. Use trusted executables and narrowly scoped provider credentials.

The model-facing menu​

Three stable native tools expose external capabilities:

ToolPurpose
mcp_providersList all enabled providers, with discovered tool and grant counts
mcp_capabilitiesSearch/page one provider's tools and see grant state
mcp_callInvoke an exact provider/tool with arguments

Provider lookup accepts an exact ID or a unique case-insensitive name. Capability pages default to 12 items and allow at most 20; descriptions are bounded to 2,000 characters. Ungranted tools can appear with granted: false so the agent can explain a missing capability. Visibility does not confer permission.

Execution rechecks the connection, exact tool and agent grant. Mod-provided tools additionally require the live mod registration. The runtime includes the menu when its resolved MCP connection map is nonempty. In public 2026.10.19, list_skills and load_skill are independent of that MCP menu flag; a connection-free turn can expose the skill tools.

Connection lifecycle​

LifecycleBehaviorSecret-bearing local files
ephemeralA transient mcporter configuration is created for an operation and removed afterwardTemporary configuration, mode 0600
keep_aliveStable configuration and an idempotently started mcporter daemon<mcporterRoot>/runtime/mcp-<id>.json, mode 0600, retained while active

The adapter runtime directory is mode 0700. Disable/delete or changes affecting provider launch stop the daemon and remove its configuration. Unchanged stable configuration is not rewritten. Encrypted database storage does not mean decrypted credentials never reach disk: the adapter needs a restricted configuration for transport.

Discovery and daemon operations normally have a 20-second deadline; calls have 30 seconds. Timeout sends TERM then KILL after one second. Normal discovery/transport stdout/stderr capture retains at most a 256 KiB tail; the typed-content-preserving invocation path allows a bounded 32 MiB capture for supported images. Truncated image JSON is rejected instead of exposed as plain text. A parsed provider isError response remains a tool error even if mcporter exits nonzero.

The server stores at most 200 sanitized keep-alive lifecycle events in PostgreSQL. At startup it imports an existing mcp-provider-events.jsonl once per source path, preserves the full original text in a separate import receipt, and leaves the source file in place. That raw legacy receipt can contain unknown or malformed content and is not guaranteed redacted. Standalone adapter use without the injected store retains the JSONL fallback. Restored state is labeled lastKnown; it is not proof that a provider process is currently alive.

Updating secrets and grants​

Secret values are write-only in normal list responses. For connection updates:

  • Omitting the entire environmentVariables property leaves the saved variable set unchanged
  • Supplying the array replaces the set; a retained variable without a new value keeps its stored secret
  • Omitting a variable from a supplied replacement array deletes it
  • Blank or omitted apiKey does not clear the stored API key
  • PUT /api/agents/{agentId}/mcp-tools replaces the complete grant set

Deleting a connection cascades its stored secrets and grants. The current HTTP handler awaits removal, including keep-alive reconciliation, before returning its result. Re-list connections when a response is lost or an error leaves the result uncertain.

Protected values​

A cooperating provider can declare sensitive leaves with BURROW's typed sensitive-value envelope. The runtime substitutes opaque in-memory handles, binds consumption to the caller and redacts known resolved values from supported output paths. Managed handles additionally check issuer, scope, expiry, provider availability and current authorization.

This is an explicit producer/consumer contract. It does not identify every secret in arbitrary unmarked tool output, and it does not police all shell commands or external-provider behavior. See permissions and trust boundaries.

Mod tools use the same grant surface​

An enabled server mod can register tools under a provider ID mod.<mod-id>. This reuses the MCP catalog and grants without creating a network MCP server. A disabled or failed mod loses live tool availability but retains catalog/grant records; uninstall removes its tool catalog and associated grants. Standalone CLI turns do not automatically host these server mods.

Installed mods are trusted code. A mod's special mod-authorized tool availability is accepted only for live mod transport, and its handler must enforce its own record/agent authorization. Read extension development before installing or authoring one.

Image results and activity identity​

Current Core persists supported typed MCP image blocks and passes them through native multimodal continuation when the selected model supports vision. It does not decode arbitrary base64-looking text. Invalid or unsupported images produce bounded content errors rather than invented visual evidence. Live and saved activity identifies the underlying provider/tool; load_skill activity also retains the selected skill identity. See operator instructions.

Diagnose a connection​

Check the enabled state, transport settings, saved secret indicators, discovered catalog and exact agent grants in that order. Then use Diagnose and inspect its bounded classification. In current Development builds, discovery failures can include a bounded, sanitized provider reason, such as missing authentication scopes. A failed discovery does not replace the saved catalog. For stdio failures, verify the executable exists in the service environment, not only your interactive shell. For keep_alive, distinguish historical receipts from present liveness.

The API endpoints are listed in settings and integrations; installation paths are in the environment reference.

Targeted source review​

The immutable links below record earlier public evidence. Current contracts were reconciled against the 8 November implementation baseline; static inspection is not a live deployment test.

Complete enabled-provider discovery​

Checked 12 November 2026: MCP discovery examines all enabled provider connections instead of silently stopping after the first 50. Availability and per-agent grants still apply; discovering a connection or tool does not authorize its invocation.

Per-connection TLS verification​

Current HTTP MCP connections expose Verify TLS certificate, enabled by default. The saved verifyTls boolean is connection-scoped; missing values mean true. Stdio transports ignore it. Discovery, diagnosis and invocation use the same saved policy. Turning it off permits certificate impersonation for that server; prefer fixing its certificate/trust configuration rather than disabling verification. This documentation describes the setting, not authorization to change it. It does not disable TLS checks globally for Burrow or unrelated MCP connections.