You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very confusing, as I bounced from quickstart into those concept pages. I tried to add @list_prompts() and @get_prompt() decorators to my FastMCP server I created in the quickstart, when I should have been adding @prompt() instead.
The issue is exacerbated by FastMCP having almost the same API interface as mcp.server, so the errors I was getting were async related and I had to look into the FastMCP source to understand what was going on.
The text was updated successfully, but these errors were encountered:
The server quickstart uses FastMCP:
https://modelcontextprotocol.io/quickstart/server
The concept page examples use mcp.server:
https://modelcontextprotocol.io/docs/concepts/tools
https://modelcontextprotocol.io/docs/concepts/resources
https://modelcontextprotocol.io/docs/concepts/prompts
This is very confusing, as I bounced from quickstart into those concept pages. I tried to add @list_prompts() and @get_prompt() decorators to my FastMCP server I created in the quickstart, when I should have been adding @prompt() instead.
The issue is exacerbated by FastMCP having almost the same API interface as mcp.server, so the errors I was getting were async related and I had to look into the FastMCP source to understand what was going on.
The text was updated successfully, but these errors were encountered: