Skip to content

Console · MCP Connections

Exposing the platform's 330+ tool catalog safely to external AI agents is managed under Settings → MCP: three sub-pages — server, connections, clients — plus a call audit. The protocol and security model (OAuth 2.1 + PKCE, three-layer tool visibility, HIGH-risk two-phase confirmation) live in AI Agent / MCP — this page is about driving the UI.

You are here: you want Claude Desktop / VS Code / Cursor or your own agent calling platform tools over MCP. Protocol details and the curl flow are on the MCP page; this covers what to configure in the console.

What each sub-page governs

Sub-pageGovernsTypical actions
MCP ServerThe platform's outward /mcp endpoint (the MCP resource server on the gateway)Check server status, refresh the tool catalog
MCP ConnectionOne established agent connection: which client, which tool whitelistNew connection, manage tools, inspect scope
MCP ClientRegistered OAuth clients (where /oauth2/register dynamic registrations land)Register a client, view clientId/secret

Tool-catalog refresh is a manual admin action (POST /mcp/tool/catalog/refresh): the catalog does not update automatically when HTTP endpoints are added — trigger a refresh here (or via curl) before new tools appear in tools/list.

Full flow for one agent connection

  1. Register a client: add one on the MCP clients page (or let the agent self-register via /oauth2/register, which needs a logged-in principal and assigns ownership to it);
  2. Get a token: the client exchanges via OAuth 2.1 + PKCE (S256 enforced) for a 15-minute JWT (30-day refresh token with rotation);
  3. Create the connection: new entry on the connections page — pick the client and configure the tool whitelist;
  4. The agent calls: tools/list returns the intersection of the principal's RBAC permissions, the connection whitelist, and the risk policy (HIGH hidden by default until explicitly enabled) — three layers decide what the agent sees;
  5. HIGH-risk operations: the call first returns CONFIRM_REQUIRED + confirmId; a second confirmed call (within 5 minutes, matching argument digest, single consumption) actually executes.

Call audit

The MCP Audit page (dc3_mcp_audit_log) records every tool call: who (principal/connection), what (tool_id), risk level, duration, source IP; HIGH-risk calls log their confirmation-ticket details too. "What did the agent actually do" is answered here.

UI actions mapped to APIs

UI actionAPI (via gateway)Semantics
Register clientPOST …/oauth2/registerRequires a logged-in principal
Refresh tool catalogPOST …/mcp/tool/catalog/refreshManual, admin; run after adding endpoints
Connection mgmt / whitelistMCP connection CRUDThe middle layer of the three-way filter
Audit queryevery tools/call lands in dc3_mcp_audit_logFull trail

Further reading

  • AI Agent / MCP — the full reference: protocol, OAuth flow, risk tiers
  • Agentic Center — the platform's built-in conversational AI (the complementary access path)
  • Auth, Tenant & RBAC — how the RBAC layer of the three-way filter works

Released under the AGPL-3.0 License