Skip to content
Delete an MCP registration

Delete an MCP registration

Delete the server registration, policies, switches, hooks, connections, connect sessions, OAuth app, and stored OAuth registrations.

DELETE/api/v1/mcp-integrations/:key

Request#

TypeScript
const response = await fetch("https://api.smallworld.sh/api/v1/mcp-integrations/example-mcp", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${apiKey}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();

Use your server-side apiKey. Replace the example IDs.

Path parameters#

keystringrequired

The saved integration's command key, URL-encoded.

Responses#

Returns the result of this operation.

200 response
{
  "deleted": true
}
More about this endpoint

Tool-call and enablement history remains. This does not delete the remote MCP server.