---
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

---

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