Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

FastMCP

$ fastmcp Official Med Risk
Prefect · Agent Bridges & Meta · Apache-2.0 · macos / linux / windows

FastMCP (PrefectHQ/fastmcp) is the leading Python framework and CLI for building, running, and testing MCP servers and clients. Its fastmcp CLI supports run, inspect, install, list --json, and call --json across local Python files and remote HTTP MCP endpoints.

FCRS-1.0 Score
89 /100
Good
Medium Confidence
Zero-Friction Install
pip install fastmcp
CLI vs MCP Decision Hybrid (CLI + MCP)

fastmcp builds and serves MCP servers while also offering list --json, inspect, and call --json so agents can test servers straight from the CLI.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Supports fastmcp list --json, fastmcp call --json, and fastmcp inspect with clean non-interactive CLI ergonomics.

  • fastmcp list --json, fastmcp call --json, and fastmcp inspect subcommands
Trust & Safety 21 / 25

Separates static inspect / list from call, run, and install (which modifies host client config files).

  • Read-only inspect and list commands distinct from call and install
Setup & Portability 14 / 15

Runs cross-platform via uvx fastmcp or pip install fastmcp on macOS, Linux, and Windows.

  • Available on PyPI (fastmcp) and runnable via uvx
Utility & Efficiency 14 / 15

End-to-end toolchain covering server authoring, transport bridging, client config installation, and CLI tool invocation.

  • Single CLI handles run, inspect, install, list, and call
Maintenance & Lineage 9 / 10

Maintained by Prefect (PrefectHQ/fastmcp) under Apache-2.0 with rapid adoption.

  • Official PrefectHQ repository under Apache-2.0
Docs & Verifiability 9 / 10

Comprehensive documentation site at gofastmcp.com covering CLI patterns, transports, and authentication.

  • Official docs at gofastmcp.com

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key OAuth Browser Config File
Credential Storage

Reads provider secrets from environment variables and stores OAuth/client tokens in local FastMCP cache or client configs.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free and Apache-2.0 open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# FastMCP Agent Rules
- Always pass `--json` on `fastmcp list` and `fastmcp call` for clean parsing.
- Use `fastmcp inspect` before `fastmcp run` or `fastmcp install` to verify exposed tools and config writes.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect a local FastMCP server file
fastmcp inspect server.py

Prints a structured summary of declared tools, resources, and prompts without running a persistent daemon.

List tools on a running MCP endpoint as JSON
fastmcp list http://127.0.0.1:8000/mcp --json

Queries tools exposed by a local or remote MCP server and returns machine-readable JSON.

Controlled Writes & Previews

Invoke a single MCP tool via CLI
fastmcp call http://127.0.0.1:8000/mcp get_status --json

Executes one MCP tool call on a target server and prints a JSON response.

Strengths for Agents

  • + fastmcp list --json and fastmcp call --json turn MCP server debugging into scriptable CLI steps.
  • + fastmcp inspect reveals server capabilities without starting a blocking server.
  • + fastmcp install streamlines wiring servers into Claude, Cursor, and Gemini configs.

Caveats & Pitfalls

  • ! fastmcp run starts a blocking server process unless executed in the background or with a timeout.
  • ! Requires Python 3.10+ (or uv/uvx) and project dependencies installed for target Python servers.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI