Replies: 2 comments
-
|
Similar, albeit slightly different situation: I haven't yet tried using resources, but I have tried using tools and prompts. Also, I used claude code and cursor as clients instead of claude desktop. However, the issue is the same: Both claude code and cursor can access the tools just fine, but they do not see the prompts (even though the prompts appear to work fine when i run mcp dev server.py) |
Beta Was this translation helpful? Give feedback.
-
I see the exact same problem in very simple test code that adds a templated resource. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Claude Desktop is seeing and utilizing my tools declared with the
@server.tool()decorator, but not seeing my resources declared with the@server.resource()decorator, e.g.,@server.resource("patent://applications/{application_number}"). It appears in the "MCP Log File" in Claude Desktop that the "resources/list" method call is returning an empty list (2025-06-12T03:31:37.441Z [info] [USPTO ODP API] Message from server: {"jsonrpc":"2.0","id":27,"result":{"resources":[]}}).EDIT: Just ran the MCP server with MCP Inspector and it also does not see any of the defined resources. This is FastMCP 2.8.0. Any ideas? Do I need to move this to an issue?
Beta Was this translation helpful? Give feedback.
All reactions