MCP

Delete an MCP server instance and associated connected accounts

Changed on

Removes a user instance from the MCP server and deletes all connected accounts for that user that are associated with the auth configurations of this specific MCP server. Connected accounts for other auth configurations are not affected.

delete/api/v3.1/mcp/servers/{serverId}/instances/{instanceId}

Request

  • Base URL
    https://backend.composio.dev
  • URL
    https://backend.composio.dev/api/v3.1/mcp/servers/{serverId}/instances/{instanceId}
  • Auth
    API key in header x-api-key

Path parameters

serverIdstring required

UUID of the MCP server

Example:550e8400-e29b-41d4-a716-446655440000

The ID of the MCP server

instanceIdstring required

The user ID to remove from this server

Example:user_123456

The instance ID (user ID) to delete

Response

Successfully deleted MCP server instance and associated connected accounts.

messagestring required
deleted_connected_accountsnumber required

Changes

    • info

      api operation id deleteV3_1McpServersByServerIdInstancesByInstanceId removed and replaced with deleteMcpServersByServerIdInstancesByInstanceId

    • info

      api tag Instances removed

    • info

      api tag Servers removed

    • info

      endpoint deprecated

    • info

      the endpoint scheme security CookieAuth was removed from the API

    • info

      the endpoint scheme security UserApiKeyAuth was removed from the API