Skip to content

Cortex MCP reference

View as Markdown

Cortex exposes one hosted remote HTTP MCP server for knowledge and coordinated work.

Endpoint

Use this canonical server URL:

Text
https://cortex.socra.cloud/mcp

The server does not require a local process or a local MCP passthrough.

Discovery

Send MCP messages with HTTP POST. An unauthenticated initialization request receives a 401 Bearer challenge with a resource_metadata URL. A GET request to the MCP endpoint returns 405.

The canonical protected-resource metadata is available at:

Text
https://cortex.socra.cloud/.well-known/oauth-protected-resource/mcp

The metadata identifies https://oauth.socra.cloud as the authorization server. OAuth discovery directs browser authorization to https://account.socra.com/oauth/authorize and token requests to https://oauth.socra.cloud/oauth/token.

Authorization

The first-party coding-agent plugins use pre-registered public clients and Authorization Code with PKCE. Custom applications register an OAuth client through a customer-owned Cloud Project.

Cortex accepts the standard account-scoped Socra access token. Review access and permissions before choosing the principal and Account for the connection. Cortex does not require a separate Cortex-only audience token.

Tool families

The MCP server presents tools from these Cortex areas:

The discovered tool schema is the current interface reference. Review it in the host before allowing writes or deletes, and review the Cortex security model before changing the host's approval policy.

Update or rename a Module

For context_update, required name selects the existing Module by its current name. The optional new_name supplies the destination when renaming:

JSON
{
  "name": "team-context",
  "new_name": "team-guide"
}

Omit new_name when updating content or other fields without a rename. Only supplied fields change. Renaming preserves the Module’s permanent ID, history and internal relationships. An occupied destination fails without changing either Module. Unknown arguments are rejected.

Legacy tool

context_delete is a legacy, deprecated tool. Do not use it. Cortex retains Modules and refuses permanent deletion. Use context_archive to retire a Module while preserving its content and history.

Custom configuration

Follow Configure the Cortex MCP server to register and connect a custom client.