DELETE
/
api
/
v2
/
public
/
mcp-servers
/
:mcp_server_id
Delete MCP Server
curl --request DELETE \
  --url https://api.gocobalt.io/api/v2/public/mcp-servers/:mcp_server_id \
  --header 'Authorization: <authorization>' \
  --header 'linked_account_id: <linked_account_id>' \
  --header 'x-api-key: <api-key>'
No content returned

This API allows you to delete an existing MCP server from your organization.

This action is irreversible. Once deleted, the MCP server and all its configurations will be permanently removed.

Request description

This API supports two authentication methods. You can use either Session Token authentication OR the combination of API key and linked account ID.

Authentication Option 1: Session Token

Authorization
string
required

Bearer token using your session token for authentication

Format: Bearer YOUR_SESSION_TOKEN

Authentication Option 2: API Key + Linked Account

x-api-key
string
required

Your Cobalt API key

linked_account_id
string
required

The unique identifier for the linked account

Path Parameters

mcp_server_id
string
required

Unique identifier for the MCP server to delete

Response description

response
null

No content returned on successful deletion

No content returned