Skip to content

fastmcp dev Error #191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
johnson7788 opened this issue Apr 17, 2025 · 2 comments
Open

fastmcp dev Error #191

johnson7788 opened this issue Apr 17, 2025 · 2 comments

Comments

@johnson7788
Copy link

johnson7788 commented Apr 17, 2025

When I run the desktop.py with dev mode, like this, Query parameters always run with other args, it runs my t8.py script, very strange? is there any cache?

fastmcp dev desktop.py

Starting MCP inspector...
⚙️ Proxy server listening on port 6277

🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀
New SSE connection
Query parameters: {
transportType: 'stdio',
command: 'uv',
args: 'run --with fastmcp fastmcp run t8.py',
env: '{"HOME":"/Users/admin","LOGNAME":"admin","PATH":"

/Users/admin/miniforge3/envs/pipecat/bin/fastmcp
pip freeze | grep fastmcp
-e git+https://github.com./jlowin/fastmcp@91fba14c88a9f21698b815615d4e6a2e28fe72ee#egg=fastmcp

I think the error come from @modelcontextprotocol/inspector.
i try npx run it ,always error
npx @modelcontextprotocol/inspector

@vivian1311
Copy link

Hi, I think I'm encountering a related issue when trying to run fastmcp dev.

Here's my setup:
OS: macOS
Python environment: virtualenv with fastmcp installed

When I run:

fastmcp dev readme-quickstart.py

I get this error:

sh:  mcp-inspector: command not found
[ERROR] Dev server failed

I tried running:

npx @modelcontextprotocol/inspector

But it fails with similar errors. I suspect fastmcp dev is expecting the binary to be available as mcp-inspector, but this command isn't globally linked or discoverable in my path.

@aimsecond
Copy link

aimsecond commented Apr 17, 2025

I have the same issue as @vivian1311 encountered on MacOS.

I got it working by running:

npm install -g @modelcontextprotocol/inspector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants