Skip to Content

MCP servers

Connect a remote MCP server and let your agents use its tools, with a review step before anything new goes live.

If your tools already live behind an MCP server, register it once and your agents can call its tools like any other.

The one thing to understand up front: you approve what your agents can call. We fetch the remote tool list, show it to you, and agents only ever run what you approved. If the remote server adds or changes a tool, that tool stays blocked until you approve it — so nobody else's deploy changes what your agent can do.

{
  "slug": "claims-tools",
  "name": "Claims tools",
  "url": "https://mcp.example.com/rpc",
  "auth_mode": "bearer",
  "auth_secret_ref": "claims_mcp_token",
  "tool_allowlist": [
    "lookup_policy",
    "create_ticket"
  ]
}

Over the API: POST /v1/mcp-servers.

The endpoint must be a public HTTPS Streamable HTTP MCP server. The slug is permanent.

Authentication

Credentials are never stored inline — they name a secret:

auth_modeWhat you provide
noneNothing
bearerauth_secret_ref — the secret holding the token
oauth2oauth_client_id_ref and oauth_client_secret_ref, plus the token URL, audience, and scope if discovery doesn't supply them

Approve the tools

Introspect

Over the API: POST /v1/mcp-servers/{id}/introspect.

We connect and list what the server offers. The first successful introspection becomes your approved set.

Re-introspect when the upstream changes

Each tool comes back marked new, unchanged, or changed. New and changed tools are blocked.

Approve

Over the API: POST /v1/mcp-servers/{id}/approve-drift.

Review what changed, then approve the whole set at once.

Reading a server shows you both lists — what's approved and what the server currently offers — plus a status telling you whether it's usable:

StatusMeaning
readyApproved and current lists agree
ready_with_driftSafe to use; some remote tools are blocked pending approval
not_introspectedNothing observed yet for these connection settings
archivedRead-only history

Changing the URL or any auth setting clears the current observation, so you introspect again before using it. Your approvals survive that, so there's no window where something unreviewed could run.

tool_allowlist narrows further: leave it empty to expose everything approved, or list the names you want. It applies at call time, so changing it needs no re-approval.

Attach to an agent

Once the status is ready or ready_with_drift, add the server's ID to behavior.tools.mcp_server_ids on the agent's draft, then promote and deploy. Up to 50 servers per agent.

The combined approved tool surface is limited to 500 tools and 4 MiB of schemas. If a save exceeds the limit, narrow the allowlist or split the integration before attaching it.

Removing a server

A server still attached to an active agent can't be archived; the error lists what's using it.

See also

Tools · Secrets · Transfers & call actions

On this page