We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a88cac commit d58c2ebCopy full SHA for d58c2eb
src/examples/server/simpleStreamableHttp.ts
@@ -280,7 +280,7 @@ app.use(express.json());
280
let authMiddleware = null;
281
if (useOAuth) {
282
// Create auth middleware for MCP endpoints
283
- const mcpServerUrl = new URL(`http://localhost:${MCP_PORT}`);
+ const mcpServerUrl = new URL(`http://localhost:${MCP_PORT}/mcp`);
284
const authServerUrl = new URL(`http://localhost:${AUTH_PORT}`);
285
286
const oauthMetadata: OAuthMetadata = setupAuthServer(authServerUrl, mcpServerUrl);
0 commit comments