---
title: "Delete an MCP Server"
method: DELETE
path: "/v1/ai-gateways/{gatewayId}/mcp-servers/{mcpServerIdOrName}"
tags: ["AI Gateway MCP Servers"]
---

# Delete an MCP Server

`DELETE /v1/ai-gateways/{gatewayId}/mcp-servers/{mcpServerIdOrName}`

**Pre-release Endpoint**
This endpoint is currently in beta and is subject to change.

Removes a specific MCP Server from the AI Gateway.

## Response `204`

MCP Server deleted successfully.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/revisions/4fef3868064f/schema)
