---
title: Delete MCP Server
description: Deletes an MCP server and removes any associated OAuth tokens. This action is irreversible.
docs_index: /docs/llms.txt
lastUpdated: 2026-11-27
product: v0 API
type: reference
prerequisites:
  - /docs/api/v1/quickstart
---

> For an index of all documentation, see [/docs/llms.txt](/docs/llms.txt).

Deletes an MCP server and removes any associated OAuth tokens. This action is irreversible.

#### `DELETE /v1/mcp-servers/{mcpServerId}`

## Usage

```typescript
import { v0 } from 'v0-sdk'

const result = await v0.mcpServers.delete({
  mcpServerId: 'mcp_123',
})

console.log(result)
```

```bash
curl -X DELETE https://api.v0.dev/v1/mcp-servers/mcp_123   -H "Authorization: Bearer $V0_API_KEY"   -H "Content-Type: application/json"
```

## API Signature

### Request

#### Path Parameters

- `mcpServerId: string` The ID of the MCP server to delete. Provided as a path parameter.

### Response

- `id: string`
- `object: 'mcp_server'`
- `deleted: 'true'`

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/docs/agents.md](/docs/agents.md)