Are you the author? Sign in to claim
FastMCP Tool Server Starter
Tiny FastMCP server that imports public functions from a science package and exposes them as MCP tools.
Requires Python 3.12+.
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e ./science-demo
pip install -e .
Or with uv that is faster and tidy than pip, but optional:
uv sync
For agents that launch the server as a subprocess:
fast-mcp-starter --transport stdio
For agents that connect to a running MCP URL:
fast-mcp-starter --transport streamable-http --host 127.0.0.1 --port 8000
Endpoint:
http://127.0.0.1:8000/mcp
See notebooks/test_with_agent.ipynb for a small external LangGraph agent that connects to this MCP server.
Expose normal public Python functions in your external package, add that package as a dependency in pyproject.toml, then import and register those functions in server.py and server.py.
Keep science-demo as a working example while you add your own repo. Delete it later only if you do not want the demo tools.
This starter does that with:
from science_demo.science_tools import generate_random_points, plot_sine_wave
mcp.tool()(generate_random_points)
mcp.tool()(plot_sine_wave)
The local science-demo package exposes:
generate_random_points(output_dir: str, count: int = 30, seed: int = 42) -> ArtifactResult
plot_sine_wave(output_dir: str, num_points: int = 200) -> ArtifactResult
Both return typed structured content:
{"status": "success", "files": ["..."], "message": "...", "metadata": {}}
python -m pytest
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows