---
title: "MCP gateway (aggregated)"
method: DELETE
path: "/mcp"
tags: ["mcp"]
---

# MCP gateway (aggregated)

`DELETE /mcp`

Streamable-HTTP MCP endpoint aggregating every configured upstream MCP server visible to the caller. Tools and prompts are namespaced as {slug}_{name}. POST carries JSON-RPC messages, GET opens the server-notification SSE stream, DELETE ends the session. The X-MCP-Servers request header optionally narrows the visible servers to a comma-separated subset of server slugs.

## Response `200`

JSON-RPC response or SSE stream

- object

## Other responses

- `401` — Unauthorized
- `429` — Too Many Requests
- `501` — Not Implemented

## Changes

- **2026-08-22** `496ff50bdfef` — 6 info
  - added the optional property `error/provider` to the response with the `401` status (media type: application/json)
  - added the optional property `error/provider` to the response with the `401` status (media type: text/event-stream)
  - added the optional property `error/provider` to the response with the `429` status (media type: application/json)
  - added the optional property `error/provider` to the response with the `429` status (media type: text/event-stream)
  - …2 more
- **2026-07-14** `f183374f8ddf` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/enterpilot/apis/gomodel-api/changes/mcp/delete.md)

---

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