v3
MCP

Mcp Http Delete

Explicitly terminate an MCP HTTP session.

This endpoint allows clients to cleanly close their session and free server resources. Part of the MCP Streamable HTTP transport spec.

Args: auth_api_key: API key authentication mcp_session_id: Required session ID from header mcp_protocol_version: MCP-Protocol-Version header (defaults to 2025-03-26 if absent)

Returns: 204 No Content on success, 404 if session not found

delete/v3/mcp/http

Headers

Mcp-Session-Idstring required
MCP-Protocol-Versionstring nullable

Response

Successful Response

{"stackTrail":"paths:/v3/mcp/http:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes