Skip to content
Documentation menu

MCP server

Gated

Read workspace metadata from an MCP client through one stateless endpoint, POST /api/mcp. Closed today: a switch that Center of Agentic controls is off.

Status: Gated. Shipped, but closed until a switch described on this page is turned on.

The platform MCP server offers five workspace metadata reads. A separately consented product-help profile adds one documentation reader, two fixed resources and two inspection prompts. All are read-only: none starts a run, calls a model or connector, changes a domain record, or approves work.

Transport

  • One endpoint: POST https://centerofagentic.com/api/mcp. Any other HTTP method returns 405 with Allow: POST.
  • MCP Streamable HTTP, protocol revision 2026-07-28 only.
  • Stateless. Every request carries its own protocol version, client capabilities and credential. There is no initialize handshake, no ping, no session id and no server-initiated stream.
  • One JSON-RPC 2.0 request per HTTP request. Batches are refused.
  • The response is JSON. If the Accept header lists text/event-stream and not application/json, a response with HTTP 200 arrives as one server-sent message event instead; every other status stays JSON.

Availability today

The MCP server is closed today for every workspace, because Center of Agentic has not turned on the platform-wide switch. No date for opening it is published. Tools open only when all three of these are on:

  1. Platform-wide switch. Controlled by Center of Agentic; a workspace cannot turn it on. It is off today.
  2. Workspace switch. A workspace admin turns MCP on for the workspace. Off by default.
  3. Key grant. A workspace admin grants MCP access to the specific API key that makes the call.

The workspace switch and the key grants cannot be used yet either. These pages document the controls as they are built.

If any of the three is off, the endpoint still answers but exposes nothing: tools/list returns an empty list, and a tools/call for any of the five tools returns a result with isError: true and the code host_grant_required. server/discover still answers any accepted credential, so a client can confirm the server and its revision. See Controlling MCP access.

A key cannot tell which of the three is off: the empty list and the host_grant_required result are the same in each case. As built, the MCP clients card under Settings → API access tells a workspace admin when the platform-wide switch is off, and the management response reports it as platformEnabled. If MCP access would help your team, tell us what you would connect.

Credentials

Send a workspace API key as a bearer token: Authorization: Bearer $COA_API_KEY. The key needs at least the read scope; run and admin include it. Authentication explains how to create keys.

  • A missing or invalid credential returns 401 with a WWW-Authenticate: Bearer header.
  • A key without a usable scope, or a key bound to an external agent, returns 403.
  • Only API keys can hold a grant. Any other credential, such as a signed-in browser session, is never given tools, even where server/discover answers it.

Required headers and _meta fields

Each request states the protocol revision and the method twice, in HTTP headers and in the JSON-RPC body. If they differ, or one is missing, the request is refused before the credential is checked.

HeaderRequiredValue
AuthorizationYesBearer followed by the API key.
Content-TypeYesapplication/json.
MCP-Protocol-VersionYes2026-07-28. Must equal the revision in _meta.
Mcp-MethodYesThe JSON-RPC method, for example tools/call.
Mcp-NameOn tools/callThe tool name, exactly as in params.name.
Key in params._metaRequiredValue
io.modelcontextprotocol/protocolVersionYes"2026-07-28".
io.modelcontextprotocol/clientCapabilitiesYesAn object. {} is accepted.
io.modelcontextprotocol/clientInfoNoAn object with string name and version. It is an untrusted label and grants nothing.

Supported methods

MethodResult
server/discoverThe supported revisions and capabilities. Tools, resources and prompts are implemented; their presence grants no access.
tools/listThe tools the calling key is granted right now; empty while access is closed. Results are sorted and paginated; pass a returned nextCursor as cursor, and restart listing if it expires or access changes.
tools/callRuns one tool. See the tool reference.
resources/list, prompts/listTwo fixed resources/prompts with a freshly consented product-help grant; empty otherwise.
resources/templates/listEmpty: private-record URI templates are not published.
resources/read, prompts/getFixed help/schema content or instruction-only prompts with current access; unknown or unauthorized identifiers return -32602.
Anything else, including initialize and pingHTTP 404 with JSON-RPC error -32601, when the request carries the headers and _meta fields above. Without them it fails earlier with HTTP 400.

Every result carries resultType: "complete" and the server identity under _meta; discovery and list results add cacheScope: "private". Responses are sent with Cache-Control: private, no-store. A notification (a message without id) gets 202 and is not processed.

Example: server/discover

Request
curl -sS https://centerofagentic.com/api/mcp \
  -H "Authorization: Bearer $COA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2026-07-28" \
  -H "Mcp-Method: server/discover" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "server/discover",
    "params": {
      "_meta": {
        "io.modelcontextprotocol/protocolVersion": "2026-07-28",
        "io.modelcontextprotocol/clientCapabilities": {},
        "io.modelcontextprotocol/clientInfo": { "name": "example-client", "version": "1.0.0" }
      }
    }
  }'
Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "supportedVersions": ["2026-07-28"],
    "capabilities": { "tools": {}, "resources": {}, "prompts": {} },
    "resultType": "complete",
    "ttlMs": 0,
    "cacheScope": "private",
    "_meta": {
      "io.modelcontextprotocol/serverInfo": {
        "name": "center-of-agentic",
        "title": "Center of Agentic",
        "version": "1.0.0"
      }
    }
  }
}

Catalog pages and compatibility

When access opens, tools are listed in name order, up to 25 per page and 40 total for the default profile. Send the returned nextCursor as cursor on the next tools/list request; restart listing if a cursor expires or access changes. Cursors expire after 60 seconds and are bound to the current caller, client, grants and schema.

Granted catalogs permit client-private reuse for up to 60 seconds (ttlMs: 60000, cacheScope: private); closed catalogs use zero. Every tool call checks current access again. HTTP responses remain private, no-store. The catalog version, fingerprint and private page cacheKey are under _meta["com.centerofagentic/catalog"]. A client may pin v1 in that request metadata field; other versions are refused. The metadata and documentation tool schemas keep their _v1 names.

Ordinary breaking replacements require a new version and published dates allowing at least 90 days of overlap. An unsafe version can be suspended immediately with a reason. No replacement or retirement is scheduled. These safeguards add no tools or permissions; platform access remains closed today.

Product help, resources and prompts

An admin creates a fresh product-help grant by selecting Include product help and schemas in Settings before granting access. Existing metadata-only grants stay unchanged; revoke and grant again to expand one. Operator readiness and the workspace switch remain required.

Resource or promptBehavior
coa://docs/product-help/v1Fixed public product guidance; text/markdown.
coa://schemas/metadata/v1The five workspace metadata input schemas; application/json.
coa_inspect_agent_v1Instructions for the existing agent metadata reads; no automatic call or private context.
coa_inspect_receipt_v1Instructions for the existing receipt metadata reads; no automatic call or private context.

Use resources/read with the exact uri, or coa_docs_read_v1 with that same uri for identical contents in a tools-only client. prompts/get accepts the exact prompt name and no arguments (or an empty arguments object). A URI, prompt or host confirmation grants no rights or approval. No private-record resources or URI templates are exposed.

Documentation results use private, no-store HTTP controls and zero cache lifetime. The finite two-item lists fit one page; no continuation is issued. Each read/render rechecks consent and policy, discharges logging, records a minimized release intent, then checks current access again. Missing evidence storage refuses content release. Revocation cannot remove a copy already received by a host.

Send Mcp-Method: resources/read and Mcp-Name matching the uri, plus the usual authorization, protocol-version and Content-Type headers. The body follows the same request-local _meta envelope as tool requests.

Example: tools/list

Request
curl -sS https://centerofagentic.com/api/mcp \
  -H "Authorization: Bearer $COA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2026-07-28" \
  -H "Mcp-Method: tools/list" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/list",
    "params": {
      "_meta": {
        "io.modelcontextprotocol/protocolVersion": "2026-07-28",
        "io.modelcontextprotocol/clientCapabilities": {}
      }
    }
  }'
Response while access is closed
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "tools": [],
    "resultType": "complete",
    "ttlMs": 0,
    "cacheScope": "private",
    "_meta": {
      "io.modelcontextprotocol/serverInfo": {
        "name": "center-of-agentic",
        "title": "Center of Agentic",
        "version": "1.0.0"
      }
    }
  }
}

With all access switches on, a metadata-only grant lists five descriptors; a newly consented product-help grant lists six. Each describes its name, title, input schema and read-only behavior. Existing grants are not upgraded.

Client compatibility

  • The server speaks revision 2026-07-28 only and never falls back to an older one. A request that names another revision, or none, gets HTTP 400 and JSON-RPC error -32022; error.data.supported lists the accepted revision.
  • A client that opens with initialize, as clients built for earlier revisions do, is refused. Send server/discover, tools/list or tools/call directly, each with the _meta fields above.
  • The client must set the MCP headers above and send a static bearer token. OAuth sign-in for MCP clients is not offered on this endpoint.
  • A request with an Origin header from another site gets 403. Clients that send no Origin header, such as servers and command-line tools, are unaffected.
  • Center of Agentic has not published a list of tested MCP clients. Check yours with server/discover first.

Limits

  • Size: a request body and a tool result are each at most 256 KiB. List tools return at most 50 items a page.
  • Rate limit: by default 60 calls a minute per API key and 300 a minute per workspace, counted over tools/list and tools/call from granted keys. A limited call gets HTTP 429 with a Retry-After header.
  • REST calls to the five equivalent reads, made with a key that has MCP access, draw on the same allowance. See Rate limits.

Errors

Transport and protocol failures are JSON-RPC errors with a numeric code, a message and sometimes data. Read the body: some arrive with HTTP 200. A product refusal, such as a missing grant, is instead a successful tools/call result with isError: true; see the tool reference.

HTTPCodeWhen
400-32700The body is not valid JSON.
400-32600The body is not a single JSON-RPC request, for example a batch.
400-32602The _meta fields are missing or malformed.
400-32020A header and the body disagree, or a required header is missing. error.data.mismatch names both sides.
400-32022Unsupported or unnamed protocol revision.
401-32000Missing or invalid credential.
403-32000The credential may not use the endpoint, or the request came from a browser page on another site.
404-32601Unknown or unsupported method.
405, 413, 415-32000Not a POST, body too large, or Content-Type is not application/json.
200-32602Unknown tool, arguments that fail the tool's schema, or an unusable cursor.
429-32000Rate limited. error.data holds retryAfterSec and scope.
500, 503-32603Server fault. 503 signals a temporary outage.

Next steps

Something missing or unclear? Tell us and we will improve this page.