@modelcontextprotocol/sdk, FastMCP handles the protocol plumbing so you can focus on what your server actually does.
The three pillars
Servers
Turn TypeScript functions into MCP tools, resources, and prompts — with middleware, auth, composition, and long-running tasks.
Clients
Connect to one or many MCP servers, call tools, and wire LLM sampling to Anthropic, OpenAI, or Google with one line.
Apps
Build interactive UIs rendered directly in MCP host conversations using a server-side component library.
Get going
Quickstart
Build, run, and call your first MCP server in a few minutes.
CLI
Run, inspect, call, and install servers from the command line with
fastmcp.Ecosystem
| Package | Role |
|---|---|
@modelcontextprotocol/sdk | Official low-level MCP protocol implementation — this library’s foundation |
fastmcp (PyPI) | The Python original this project models its API after |
@modelcontextprotocol/ext-apps | Official MCP Apps extension — foundation for the Apps pillar |