Skip to main content

MCP Server

SOAT exposes all its resources as Model Context Protocol (MCP) tools. AI assistants such as Claude Desktop, GitHub Copilot, and any MCP-compatible client can call these tools to manage projects, files, agents, conversations, documents, and more directly from a chat or coding session.

Endpoint

POST http://<your-server>:5047/mcp

The MCP server is mounted on the same port as the REST API. No separate process or port is required.

Protocol Details

PropertyValue
TransportStreamable HTTP (JSON responses)
HTTP methodsPOST /mcp — send JSON-RPC requests/notifications; DELETE /mcp — terminate session
Content-Typeapplication/json
Acceptapplication/json, text/event-stream
Session modeStateless (a fresh transport is created per HTTP request)

The server implements the MCP specification over HTTP with enableJsonResponse: true. There is no SSE streaming — every response is a plain JSON body.

Authentication

All tools require authentication. Pass either a JWT session token or an sk_-prefixed API key as a Bearer token in the Authorization header of every MCP request:

Authorization: Bearer <token>

Obtain a session token by calling POST /api/v1/users/login. Obtain a project-scoped API key by calling POST /api/v1/api-keys. See Projects module for details.

Available Modules

Every SOAT module is exposed through the MCP server. See the Tools Reference for the complete list.