-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method not found #13
Comments
Same here |
Please use
If server cannot detect client capabilities, it cannot fully boot. |
It looks like the second connection parameter is gone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ node fastmcp-demo.js
server is running on SSE at http://localhost:8080/sse
[warning] FastMCP could not infer client capabilities
[warning] FastMCP could not infer client capabilities
Error connecting to server: McpError: MCP error -32601: Method not found
at Server._onresponse (file:///C:/workspace/MCP/calculate/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:156:27)
at _transport.onmessage (file:///C:/workspace/MCP/calculate/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:45:22)
at SSEServerTransport.handleMessage (file:///C:/workspace/MCP/calculate/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:93:71)
at SSEServerTransport.handlePostMessage (file:///C:/workspace/MCP/calculate/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:72:24)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Server. (file:///C:/workspace/MCP/calculate/node_modules/mcp-proxy/dist/chunk-A5VUTWBC.js:194:7) {
code: -32601,
data: undefined
}
node:_http_server:344
throw new ERR_HTTP_HEADERS_SENT('write');
^
Error [ERR_HTTP_HEADERS_SENT]: Cannot write headers after they are sent to the client
at ServerResponse.writeHead (node:_http_server:344:11)
at Server. (file:///C:/workspace/MCP/calculate/node_modules/mcp-proxy/dist/chunk-A5VUTWBC.js:175:15)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
code: 'ERR_HTTP_HEADERS_SENT'
}
Node.js v22.11.0
The text was updated successfully, but these errors were encountered: