-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the bug
If you review the mcp diagnostic logs of basically any server (at least all the ones I've seen) they are littered with requests for capability lists and then "method not found" errors. It seems like the mcp client should read the capbilities once and then not query the undefined ones every couple seconds.
To Reproduce
Steps to reproduce the behavior:
- Write a typescript mcp server that only has "tools" and pass the capabilities to the client
- Run Claude Desktop and then view the logs in Claude\logs.
Expected behavior
If a server indicates it supports a certain capability, perhaps the available options should be checked periodically. But if it lists a capability as undefined or doesn't otherwise indicate it supports prompts, resources, that should end the conversation until the client configuration is reloaded.
Logs
If applicable, add logs to help explain your problem.
2025-02-19T20:35:34.178Z [mssql] [info] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":29}
2025-02-19T20:35:34.181Z [mssql] [info] Message from server: {"jsonrpc":"2.0","id":29,"error":{"code":-32601,"message":"Method not found"}}
2025-02-19T20:35:34.185Z [mssql] [info] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":30}
2025-02-19T20:35:34.186Z [mssql] [info] Message from server: {"jsonrpc":"2.0","id":30,"error":{"code":-32601,"message":"Method not found"}}
2025-02-19T20:35:39.175Z [mssql] [info] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":31}
2025-02-19T20:35:39.177Z [mssql] [info] Message from server: {"jsonrpc":"2.0","id":31,"error":{"code":-32601,"message":"Method not found"}}
2025-02-19T20:35:39.181Z [mssql] [info] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":32}
2025-02-19T20:35:39.181Z [mssql] [info] Message from server: {"jsonrpc":"2.0","id":32,"error":{"code":-32601,"message":"Method not found"}}
2025-02-19T20:35:44.181Z [mssql] [info] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":33}
2025-02-19T20:35:44.186Z [mssql] [info] Message from server: {"jsonrpc":"2.0","id":33,"error":{"code":-32601,"message":"Method not found"}}
2025-02-19T20:35:44.193Z [mssql] [info] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":34}
2025-02-19T20:35:44.196Z [mssql] [info] Message from server: {"jsonrpc":"2.0","id":34,"error":{"code":-32601,"message":"Method not found"}}
`