dome tool registers upstream MCP servers (the “tools” an agent reaches through Dome) and manages their auth, outbound headers, and field classifications. To list the capabilities each agent currently sees, use dome agents list instead.
List
dome tool list [workspace-id-or-slug]
List MCP server connections. Aliases: ls.
Get
dome tool get <name> [workspace-id-or-slug]
Show details for one tool connection.
Add
dome tool add [workspace-id-or-slug]
Register a new MCP server.
When
--auth-method=oauth --credential-type=shared, add automatically prints the URL to start the admin consent flow. Open it in a browser to complete consent. If the flow can’t start automatically, run oauth-connect afterwards.
Shared OAuth tool (manual client)
Per-user OAuth tool (dynamic client registration)
Update
dome tool update <name> [workspace-id-or-slug]
Update an MCP server connection. Only provided flags change. Switching --auth-method between api-key and oauth clears the previously stored credential bundle.
Remove
dome tool remove <name> [workspace-id-or-slug]
Remove an MCP server connection.
Gateways
dome tool gateways <list|add|remove> <connection-name-or-id> [gateway-name-or-id]
Manage the connection’s tool-source membership in Gateways from the connection side. Mirrors dome gateway tool-sources.
list <connection>— Gateways this connection is a tool source of. Alias:ls.add <connection> <gateway>— attach as a tool source; every observed tool joins, and newly discovered tools propagate automatically.remove <connection> <gateway>— detach. Alias:rm.
OAuth connect
dome tool oauth-connect <name> [workspace-id-or-slug]
Begin the shared-OAuth admin consent flow. Prints a one-shot URL valid for ~10 minutes. Open it in a browser to complete consent at the upstream’s authorization server. After consent, Dome stores the tokens.
Only valid for --auth-method=oauth --credential-type=shared tools. Per-user OAuth tools trigger consent automatically on each end user’s first call.
OAuth disconnect
dome tool oauth-disconnect <name> [workspace-id-or-slug]
Revoke shared OAuth credentials. The OAuth client configuration is preserved, so a subsequent oauth-connect reuses the same client. Idempotent.
Header list
dome tool header list <tool-name> [workspace-id-or-slug]
List the outbound headers configured on a tool.
Header add
dome tool header add <tool-name> [workspace-id-or-slug]
Append outbound headers to a tool without replacing the existing list. Combine --header-literal, --header-secret, and --header-actas flags (refer to add for shapes).
Header remove
dome tool header remove <tool-name> [workspace-id-or-slug]
Remove outbound headers by name from a tool.
Catalog list
dome tool catalog list <connection> [workspace-id-or-slug]
List the persistent MCP tool catalog for a connection — the tools the gateway has observed on the upstream MCP server. The catalog survives gateway restarts and stays queryable without a live data plane.
Catalog sync
dome tool catalog sync <connection> [workspace-id-or-slug]
Sync the persistent MCP tool catalog for a per-user connection by dispatching exactly one upstream tools/list against the calling admin’s own per-user credential. Shared connections already pre-warm via the gateway’s startup discovery and are rejected client-side.
Attach your per-user credential first through the normal magic-link flow (refer to oauth-connect or the per-user provisioning flow in the dashboard), then run this command. Sync works both before any agent traffic (pre-warm) and after (refresh). The result is recorded through the shared catalog observation path and is visible to dome tool catalog list immediately afterwards.
gateway.manage permission. Returns FailedPrecondition when no per-user credential exists at the resolved sub-hash — the error message names both remedies (attach the credential, or pass --act-as-sub).
Catalog block
dome tool catalog block <connection> <tool>
Hide a discovered MCP tool from agents. The Gateway filters the tool out of tools/list and denies any tools/call against it. A block takes precedence over ordinary connection-level access. Blocks persist across re-observation.
Requires the
gateway.manage permission. Blocked-call attempts emit a tool.blocked_call_denied audit event.
Catalog deprecate
dome tool catalog deprecate <connection> <tool>
Mark a tool as deprecated. The tool stays callable and visible to agents; the dashboard renders a warning chip and operators see the status in dome tool catalog list. Use when an upstream replaces a tool and you want to soft-signal callers without breaking them.
Requires the
gateway.manage permission.
Catalog restore
dome tool catalog restore <connection> <tool>
Return a tool to active, clearing any prior block or deprecation.
Requires the gateway.manage permission.