MCP Server endpoints
The MCP server AI clients connect to, and its settings. Paths are relative to the address of your Simcha DB Studio server.
These endpoints are never available through the MCP server: The MCP server is what AI clients connect to; its own endpoints are not tools.
| Method | Path | What it does |
|---|---|---|
| POST | /api/mcp | Send MCP messages |
| GET | /api/mcp | Open an MCP event stream |
| DELETE | /api/mcp | End an MCP session |
| GET | /api/mcp/settings | Read the MCP server settings |
| PUT | /api/mcp/settings | Change the MCP server settings |
POST /api/mcp
The MCP endpoint (Streamable HTTP, JSON answers, no sessions). Takes one JSON-RPC 2.0 message or a list: initialize, ping, tools/list and tools/call. Each tool call is checked and recorded on its own, so a read-only token can send messages but only call tools that read. Refused with 401 and WWW-Authenticate without a token, and with 403 while the MCP server is turned off.
Reads only · Role: Any signed-in user · Not available through the MCP server
No inputs.
GET /api/mcp
Answers 405: the MCP server answers each POST directly and opens no event stream.
Reads only · Role: Any signed-in user · Not available through the MCP server
No inputs.
DELETE /api/mcp
Answers 405: the MCP server keeps no sessions.
Changes data and can remove or overwrite it · Role: Any signed-in user · Not available through the MCP server
No inputs.
GET /api/mcp/settings
Returns whether the MCP server is on, its address, and each tool group with whether it is on, whether it is on by default, how many tools it has and how many of them the caller can use.
Reads only · Role: Any signed-in user · Not available through the MCP server
No inputs.
PUT /api/mcp/settings
Turns the MCP server on or off and sets the tool groups it offers. A groups list replaces the groups that are on; leave it out to keep them.
Changes data · Role: Admin · Not available through the MCP server
| Input | Type | Description |
|---|---|---|
enabled (body) | boolean, optional | Whether AI clients can use the MCP server |
groups (body) | list of string, optional | The tool groups to offer |