-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Description
I am trying to launch couple of mcp servers with metamcp and create an unified endpoint. curl request is already failing for the /mcp unified endpoint.
surprisingly the /sse endpoint works fine
:~/repo/metamcp$ curl -v http://localhost:12008/metamcp/mcp/sse
- Trying 127.0.0.1:12008...
- Connected to localhost (127.0.0.1) port 12008 (#0)
GET /metamcp/mcp/sse HTTP/1.1
Host: localhost:12008
User-Agent: curl/7.81.0
Accept: /
- Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< x-powered-by: Express
< access-control-allow-origin: *
< access-control-allow-credentials: true
< x-frame-options: DENY
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block
< referrer-policy: strict-origin-when-cross-origin
< content-security-policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; frame-ancestors 'none';
< vary: Origin
< content-type: text/event-stream
< cache-control: no-cache, no-transform
< connection: keep-alive
< date: Thu, 13 Nov 2025 12:07:44 GMT
< transfer-encoding: chunked
<
event: endpoint
data: /metamcp/mcp/message?sessionId=ae37b65b-f648-4881-9cd4-999b212b843e
^C
:~/repo/metamcp$ curl -v http://localhost:12008/metamcp/mcp/mcp
- Trying 127.0.0.1:12008...
- Connected to localhost (127.0.0.1) port 12008 (#0)
GET /metamcp/mcp/mcp HTTP/1.1
Host: localhost:12008
User-Agent: curl/7.81.0
Accept: /
- Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< x-powered-by: Express
< access-control-allow-origin: *
< access-control-allow-credentials: true
< x-frame-options: DENY
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block
< referrer-policy: strict-origin-when-cross-origin
< content-security-policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; frame-ancestors 'none';
< vary: Origin
< date: Thu, 13 Nov 2025 12:07:49 GMT
< connection: close
< content-length: 17
< - Closing connection 0
Session not found
Metadata
Metadata
Assignees
Labels
No labels