remove extra comments

This commit is contained in:
Evandro Camargo 2026-02-16 22:17:17 -03:00
parent 1b6d5bc17a
commit 93911d6838
No known key found for this signature in database

View file

@ -100,9 +100,6 @@ const mcpHandler = SupermemoryMCP.mount("/mcp", {
},
})
// MCP request handler — registered on both bare and wildcard paths
// to comply with MCP Streamable HTTP transport spec, which requires
// a single endpoint that accepts POST, GET, and DELETE.
const handleMcpRequest = async (c: Context<{ Bindings: Bindings }>) => {
const authHeader = c.req.header("Authorization")
const token = authHeader?.replace(/^Bearer\s+/i, "")