---
title: "Remove Mcp Server"
method: DELETE
path: "/v1/mcp/server/{server_id}"
tags: ["mcp"]
---

# Remove Mcp Server

`DELETE /v1/mcp/server/{server_id}`

Allows deleting mcp serves in the db

## Path parameters

- `server_id` string, required

## Headers

- `litellm-changed-by` string, nullable — The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability

## Response `202`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/koboillm/apis/litellm-api.md) · [All operations](https://skmtc.dev/koboillm/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/koboillm/litellm-api/revisions/d4d54fef65be/schema)
