> ## Documentation Index
> Fetch the complete documentation index at: https://docs.splox.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete MCP Connection

> Deletes an end-user MCP connection by ID.

Deletes an end-user MCP connection by ID.

## Usage

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE "https://app.splox.io/api/v1/mcp-connections/YOUR_CONNECTION_ID" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```python Python theme={null}
  from splox import SploxClient

  client = SploxClient(api_key="YOUR_API_KEY")
  client.mcp.delete_connection("YOUR_CONNECTION_ID")
  ```

  ```typescript Node.js theme={null}
  import Splox from "splox";

  const client = new Splox("YOUR_API_KEY");
  await client.mcp.deleteConnection("YOUR_CONNECTION_ID");
  ```

  ```go Go theme={null}
  err := client.MCP.DeleteConnection(ctx, "YOUR_CONNECTION_ID")
  if err != nil {
      panic(err)
  }
  ```
</CodeGroup>


## OpenAPI

````yaml DELETE /mcp-connections/{id}
openapi: 3.1.0
info:
  title: Splox API
  description: >-
    Run workflows, manage chats, receive events, and monitor execution via the
    Splox API
  version: 1.0.0
  contact:
    name: Splox Support
    email: support@splox.io
    url: https://community.splox.io
servers:
  - url: https://app.splox.io/api/v1
    description: Production API
security: []
tags:
  - name: MCP
    description: Discover MCP servers, manage connections, and execute MCP tools
  - name: Workflows
    description: List, get, and inspect workflows, versions, and nodes
  - name: Workflow Requests
    description: Run workflows, monitor execution, and retrieve results
  - name: Events
    description: Receive external events via Event Hub webhooks
  - name: Chats
    description: Manage chat sessions for workflow interactions
paths:
  /mcp-connections/{id}:
    delete:
      tags:
        - MCP
      summary: Delete MCP Connection
      description: Deletes an end-user MCP connection by ID.
      operationId: deleteMCPConnection
      parameters:
        - name: id
          in: path
          required: true
          description: MCP connection ID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Connection deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: deleted
        '404':
          description: Connection not found
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token generated from your Splox account settings. Create tokens at
        https://app.splox.io/account?tab=settings

````