fix(docs): launch server with fastmcp CLI instead of mcp run#1
Open
dcaslin wants to merge 2 commits into
Open
Conversation
The server is built on standalone FastMCP v3 (`from fastmcp import FastMCP`), but the README configured Claude Desktop to launch it with `mcp run` from the `mcp[cli]` SDK. That launcher only accepts the SDK's bundled `mcp.server.fastmcp.server.FastMCP` class and rejects the standalone v3 object as 'not a valid server object', so the server fails to start. Switch the documented config to the matching launcher: `--with fastmcp` and `fastmcp run`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Without --directory, uv resolves the environment relative to wherever Claude Desktop spawns the process, so the server's working directory (and the .boostcamp session state it reads) doesn't line up with the project. Matches the verified working config. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Following the README setup, Claude Desktop fails to start the server with:
The server is built on standalone FastMCP v3 (
from fastmcp import FastMCP,fastmcp>=3.2.0inpyproject.toml), but the documented config launches it withmcp runfrom themcp[cli]SDK. That launcher only accepts the SDK's bundledmcp.server.fastmcp.server.FastMCPclass and rejects the standalone v3 object, so the server never starts.Fix
--with fastmcpandfastmcp run.--directory /path/to/your/boostcamp-mcptouv runso uv resolves the project environment and working directory from the project root rather than wherever Claude Desktop spawns the process (the server's session state lives relative to the project).Verified the server loads cleanly under this exact config in Claude Desktop locally.
🤖 Generated with Claude Code