Expose project as MCP server
set_mcp_serverTurn the project's own MCP server on or off: /_mcp serves one tool per function marked as an MCP tool (with its input/output schemas); /_mcp?test serves the draft.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"enabled": "<enabled>"
},
"name": "set_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| project | Yes | Project id (p…) or address (slug) |