Open
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
use the demo server in quick start document
# server.py
from mcp.server.fastmcp import FastMCP
# Create an MCP server
mcp = FastMCP("Demo")
@mcp.resource("config://app")
def get_config() -> str:
"""Static configuration data"""
return "App configuration here"
# dynamic resource
@mcp.resource("greeting://{name}")
def get_greeting(name: str) -> str:
"""Get a personalized greeting"""
return f"Hello, {name}!"
Claude can not see the dynamic resource, only the static one works.
Expected behavior
Use dynamic resource in Claude
Screenshots
Desktop (please complete the following information):
- OS: windows 10
Metadata
Metadata
Assignees
Labels
No labels