diff --git a/apps/mcp/src/index.ts b/apps/mcp/src/index.ts index ec55808..5c30aad 100644 --- a/apps/mcp/src/index.ts +++ b/apps/mcp/src/index.ts @@ -21,7 +21,7 @@ app.all('/mcp', async (c) => { c.header('Cache-Control', 'no-cache'); c.header('Connection', 'keep-alive'); - return mcpServer.handleRequest(c.req.raw); + return mcpServer.handleRequest(c); }); const port = Number(process.env.PORT) || 3000;