---
title: "Delete MCP server"
method: DELETE
path: "/api/v1/mcp-servers/{id}"
tags: ["MCP Servers"]
---

# Delete MCP server

`DELETE /api/v1/mcp-servers/{id}`

Deletes an MCP server definition when `If-Match` matches the current MCP server revision.

## Path parameters

- `id` string, required

## Headers

- `If-Match` string, required

## Response `204`

MCP server deleted

## Other responses

- `400` — Invalid MCP server id or revision header
- `404` — MCP server not found
- `409` — MCP server revision mismatch
- `428` — Missing required `If-Match` header
- `500` — MCP server store operation failed

## Changes

- **2026-06-25** `78c6acdb22fb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/fabro-sh/apis/fabro-run-api/changes/api/v1/mcp-servers/:id/delete.md)

---

[API](https://skmtc.dev/fabro-sh/apis/fabro-run-api.md) · [All operations](https://skmtc.dev/fabro-sh/apis/fabro-run-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fabro-sh/fabro-run-api/revisions/7bdeefd151cd/schema)
