Skip to main content
POST
/
api
/
mcp
/
disconnect
curl -X POST https://api.example.com/api/mcp/disconnect \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "mcp_abc123"
  }'
{
  "success": true
}

Request Body

id
string
required
MCP server ID to disconnect

Response

success
boolean
Whether the disconnection was successful
curl -X POST https://api.example.com/api/mcp/disconnect \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "mcp_abc123"
  }'
{
  "success": true
}