POST
/mcp/disableDisable MCP Server
Disable the MCP server endpoint at /mcp (only with root permissions).
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
200MCP server disabled.
messagestringoptional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
403You are not allowed to disable the MCP server.
messagestringoptional
Error handling
A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 403 is returned: You are not allowed to disable the MCP server.