Skip to content

Unregister an MCP-client server

DELETE
/admin/ai/mcp-clients/{id}

Removes the registration + cascades to its tool grants via FK. The runtime provider stays in the router until the next app restart; until then, dispatcher calls against this server’s name return ErrServerNotFound.

Requires mcp.client.admin.

id
required
string format: uuid

Deleted

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed