Skip to Content
SeyloDocs

Turn the MCP server on or off

POST
/api/v1/mcp.update

Switches the MCP endpoint on or off for the whole panel. Off refuses every token and OAuth flow but keeps them.

Needs mcp.manage, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
enabled*boolean

Response Body

Success.

application/json
  1. response
enabled*boolean
url*string
oauthMetadataUrl*string
snippets*
tools*
Example Request
curl -X POST 'https://example.com/api/v1/mcp.update' \  -H 'Content-Type: application/json' \  -d '{  "enabled": true}'
Example Response
{  "enabled": true,  "url": "string",  "oauthMetadataUrl": "string",  "snippets": {},  "tools": {    "total": 0,    "readOnly": 0,    "destructive": 0  }}