π¦
Sandbox Fastmcp
β‘ Sandbox for learning the FastMCP framework π
0 installs
Trust: 34 β Low
Docs
Ask AI about Sandbox Fastmcp
Powered by Claude Β· Grounded in docs
I know everything about Sandbox Fastmcp. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
Quick Start
Install
pip install fastmcp
Create a server
# server.py
from fastmcp import FastMCP
mcp = FastMCP("My MCP Server")
@mcp.tool
def letter_counter(text: str, letter: str) -> str:
"""Count how many times a letter appears in the given text."""
return f"The letter '{letter}' appears {text.count(letter)} times in the text."
if __name__ == "__main__":
mcp.run()
Run
python server.py
Or with the FastMCP CLI:
fastmcp run server.py:mcp
For HTTP transport:
fastmcp run server.py:mcp --transport http --port 8000
License
MIT
