---
search:
  tags:
    - McpTransport
    - DELETE
seo:
  description: >-
    The Streamable HTTP session-teardown call. The transport is stateless —
    every request stands alone… Reference for the DELETE /mcp endpoint in the
    varsafe API.
sidebar:
  label: MCP transport (end session)
  badge: DELETE
title: MCP transport (end session)
type: openapi-operation
---
The Streamable HTTP session-teardown call. The transport is stateless — every request stands alone — so there is no server-side session to release and this acknowledges with an empty 200.

`DELETE /mcp`

**Responses**

- `200` — Acknowledged, with an empty body.
- `400` — The body is not a valid JSON-RPC message, or names an unsupported MCP protocol version.
- `401` — No bearer token, or it is invalid, expired or revoked. The \`WWW-Authenticate\` header names the protected-resource metadata.
- `403` — The token lacks the grant the transport requires.
- `429` — Too many rejected authentication attempts.
- `500` — Unexpected server error. The body never carries internal detail.
- `503` — Token verification is temporarily unavailable. Retry later.
