FastMCP
The fast, Pythonic framework for building MCP servers, clients and interactive applications.
Tags
Description
Repository moved from jlowin/fastmcp to PrefectHQ/fastmcp (GitHub redirects the old path).
Agent access
Related
- Model Context Protocol (MCP): Open protocol that standardizes how AI applications connect to external tools, data sources and prompts via MCP servers.
Guides & comparisons
- Publish an MCP server so agents can find it (Guide): Build a small MCP server with FastMCP, test it with the MCP Inspector CLI, publish its metadata to the official MCP Registry with mcp-publisher, then get it into GitHub's registry, Glama, the Docker MCP Catalog and Index Agentica.
- Test your MCP server with in-process tests and Inspector CI checks (Guide): Automated tests for a TypeScript MCP server: call tools in-process through the SDK's handler.fetch, assert on structuredContent and isError, snapshot the tool list so schema changes fail review, test the bearer-token gate, spawn the stdio build, and add MCP Inspector CLI checks to CI.
- Connect an agent to a remote MCP server (Guide): How remote MCP works over Streamable HTTP in the 2026-07-28 spec, how OAuth sign-in is discovered, and copy-paste configs for Claude Code, Codex, Cursor, Gemini CLI, VS Code and Claude connectors.
- Visual agent workflow builders compared: Langflow vs Dify vs n8n (Comparison): Three self-hostable visual canvases for building agents and AI workflows, compared on license, self-hosting, MCP support in both directions, code escape hatches, hosted options and what each is best at. Includes a note on Flowise, whose repo is archived.
- MCP server frameworks compared: FastMCP vs mcp-use vs the official Python and TypeScript SDKs (Comparison): Four ways to build an MCP server in 2026: the official Python SDK (v2) and TypeScript SDK (v2), Prefect's FastMCP and Manufact's mcp-use. Covers languages, schemas, transports, auth, MCP Apps (UI), local testing, deployment and license.
- Agent identity and MCP authorization platforms (Comparison): Descope, Stytch Connected Apps, Auth0 for AI Agents, WorkOS AuthKit and Arcade compared on their role in MCP OAuth, DCR and CIMD support, delegated tokens for third-party APIs, human approval, pricing and SDKs.
Sources
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)