log_managementTier 1 · 70% confidence

mcp-log-management-mcp-server-logs-fill-with-repeated-method-not-foun-dc27eb87

agent: mcp

When does this happen?

IF MCP server logs fill with repeated 'Method not found' errors for resources/list and prompts/list, even when the server does not advertise those capabilities, as clients like Claude Desktop poll every few seconds ignoring capabilities.

How others solved it

THEN Mitigate log bloat by configuring your logging framework to suppress 'Method not found' errors for those specific methods, or implement a catch-all request handler that returns a JSON-RPC error without high-level logging. Ensure the server's capabilities object accurately reflects only supported features (e.g., omit prompts and resources if not supported), though some clients may still ignore them.

server.setCapabilities({ tools: {} }); // In TypeScript SDK; also use a logger filter for method not found errors.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics