Skip to main content
DELETE
/
api
/
captain
/
agents
/
{id}
/
mcp
/
servers
/
{name}
Remove MCP server
curl --request DELETE \
  --url http://localhost:63372/api/captain/agents/{id}/mcp/servers/{name} \
  --cookie captain_session=
{
  "ok": true
}

Authorizations

captain_session
string
cookie
required

HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.

Path Parameters

id
string
required

Agent ID

name
string
required

MCP server name

Response

Success

ok
boolean
required
Example:

true