Document strategy for hosting standalone server
Currently servers are installed in Claude Desktop as it is the only widely used client, but it should be possible to run the server on a standalone basis with a configurable host/port.
Would very much like this! @jlowin
I have tried to run fastmcp as a server using the docs from the README
uv run fastmcp run server.py
Running the command above does not give any feedback, just keep hanging, and I tried to go to http://localhost:8000 (as it seems to be the default port: https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server.py#L75) but nothing there
For my use-case I am looking into deploying and using a MCP from a webapp client (I will have a MCP HTTP server + a "client" server with a nice chat UI taking care of the LLM/MCP interaction, not specifically claude based, which I expect will be the use case for a lot of people building chat-based services)
If someone still reads this: one thing if you run locally make sure you provide the transport option explicitly with sse or the streamable-http - otherwise you're only going to get the stdio transport (which is why it seems to hang).
How are you guys actually doing local development, like use it from Claude Desktop while building for example? It's annoying with uv and the venv because that doesn't properly work in Claude. So my final last resort was to actually build a local docker image and essentially docker run it from Claude....
I run my server in VS Code with transport=sse and then in claude/cursor I just setup it as an SSE MCP server.
This allows me to debug in vscode while using the server in claude/cursor
Ah and this is closed in current docs.