Skip to content

Commit b096b45

Browse files
authored
Fix @modelcontextprotocol/inspector command-line
This `node build/index.js` is needed only if your server is using Node and is ran with `./build/index.js`. It does not make sense to specify this with a Python server.
1 parent f180bda commit b096b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/FAQ.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To verify your FastApiMCP server is working properly, you can use the MCP Inspec
3131
1. Start your FastAPI application
3232
2. Open a new terminal and run the MCP Inspector:
3333
```bash
34-
npx @modelcontextprotocol/inspector node build/index.js
34+
npx @modelcontextprotocol/inspector
3535
```
3636
3. Connect to your MCP server by entering the mount path URL (default: `http://127.0.0.1:8000/mcp`)
3737
4. Navigate to the `Tools` section and click `List Tools` to see all available endpoints

0 commit comments

Comments
 (0)