This project uses FastMCP 3.2.0.
fastmcp: command not foundThe CLI is only installed inside this project's virtual environment, so it is not available from your base shell unless you activate.venvor run it throughuv.uv run fastmcp dev main.pyIn FastMCP3.x,devis a command group. You must use a subcommand such asinspector.uv run fastmcp dev inspectorThat form needs a server spec or afastmcp.json. This repo now includesfastmcp.json, so auto-detection works.
Run the server directly:
uv run fastmcp runInspect the server:
uv run fastmcp inspectOpen MCP Inspector in dev mode:
uv run fastmcp dev inspectorIf the Inspector UI shows Error Connecting to MCP Inspector Proxy - Check Console logs,
open the exact URL printed in the terminal. FastMCP 3.x starts the proxy with a per-run
session token, and the Inspector page must include that token or the proxy config request
will be rejected.
For local-only debugging, you can disable proxy auth:
DANGEROUSLY_OMIT_AUTH=true uv run fastmcp dev inspectorYou can still pass the file explicitly if you want:
uv run fastmcp run main.py
uv run fastmcp inspect main.py
uv run fastmcp dev inspector main.py