diff --git a/docs/docs/tutorials/security/authorization.mdx b/docs/docs/tutorials/security/authorization.mdx index 4895907fe..9b0ef600a 100644 --- a/docs/docs/tutorials/security/authorization.mdx +++ b/docs/docs/tutorials/security/authorization.mdx @@ -567,7 +567,7 @@ const mcpPostHandler = async (req: express.Request, res: express.Response) => { const server = createMcpServer(); await server.connect(transport); } else { - res.status(400).json({ + res.status(404).json({ jsonrpc: "2.0", error: { code: -32000,