Method not allowed
DELETE
/mcp
const url = 'https://example.com/api/v1/mcp';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/mcpThe MCP endpoint is stateless with no session lifecycle; DELETE returns 405 (use POST).
Responses
Section titled “Responses”Method Not Allowed. Use POST.