---
title: "Terminate an MCP session"
method: DELETE
path: "/api/mcp"
---

# Terminate an MCP session

`DELETE /api/mcp`

## Request

- Base URL: `https://three.ws`
- URL: `https://three.ws/api/mcp`
- Auth: none required

Ends the caller's MCP session. This server handles every request statelessly, so no session state is held and a plain DELETE is a successful no-op.

## Headers

- `Mcp-Session-Id` string

## Response `204`

Session ended; no content

## Other responses

- `404`: Unknown session: the supplied Mcp-Session-Id was never issued by this server, so the client should start a new session

---

[API](https://skmtc.dev/three/apis/three-ws-api.md) · [All operations](https://skmtc.dev/three/apis/three-ws-api/llms.txt) · [OpenAPI document](https://skmtc.dev/three/apis/three-ws-api/revisions/dbc5e3a81b79?raw)
