E2B
SDK / ToolOpen-source secure sandboxes where AI agents run code — the de facto execution layer for agent apps.
- sandbox
- code-execution
- sdk
- agents
Pythonic framework for building MCP servers — decorators, type hints, and zero boilerplate.
FastMCP is the most popular Python framework for building MCP servers. Define tools, resources, and prompts as decorated Python functions; the framework handles JSON-RPC, schema generation, and transport wiring. Now maintained under the Prefect org.
Best for shipping an MCP server in an afternoon — wrap an existing internal API as MCP, expose a database as queryable resources, or build the custom tool side of an Agent SDK project. The de-facto Python choice; pair with uv for fast setup.
uv add fastmcp
Then:
from fastmcp import FastMCP
mcp = FastMCP("my-server")
@mcp.tool
def add(a: int, b: int) -> int: return a + b
mcp.run()
Run via python -m my_server for stdio, or pass transport="http" for the Streamable HTTP server.FastMCP has its own major-version cadence (currently v2.x) — pin it in production. The async-first API works best with uvicorn-style event loops; sync tool functions are supported but the framework encourages async def.
Repository
PrefectHQ/fastmcpCharted
Open-source secure sandboxes where AI agents run code — the de facto execution layer for agent apps.
Anthropic's official TypeScript SDK for building agentic applications.
Python edition of the official Claude Agent SDK.