Agent frameworks and SDKs for building MCP servers
Frameworks and SDKs for building agents in code. Of the 31 tools on our building MCP servers page, 20 fit this narrower job. By pricing: 20 open source. The most-starred open repos here are Pi (116,073 stars), LiteLLM (61,465 stars), OpenAI Agents SDK (Python) (30,023 stars). Most come from the MCP & infra (13), frameworks (5), coding (1) categories.
Updated
Pi
Minimal, extensible open-source terminal coding agent and agent toolkit from Earendil, with a multi-provider LLM API, TypeScript SDK, RPC mode and installable extensions, skills and themes.
Added
LiteLLM
Open-source AI gateway and Python SDK that calls 100+ LLM providers in the OpenAI format, with cost tracking, guardrails, load balancing and logging.
Added
OpenAI Agents SDK (Python)
OpenAI's Python SDK for building multi-agent workflows; v0.23.0/0.23.1 released Oct 1-2.
Added
FastMCP
Pythonic framework for building MCP servers and clients quickly.
Added
MCP Python SDK
Official Python SDK for building Model Context Protocol servers and clients.
Added
MCP TypeScript SDK
Official TypeScript SDK for building MCP servers and clients.
Added
mcp-use
Full-stack MCP framework for building MCP servers, MCP apps and agents that connect to them.
Added
Claude Agent SDK (Python)
Anthropic's Python SDK for building agents on Claude Code's agent loop, with the CLI bundled, custom tools and hooks.
Added
Sphere SDK
TypeScript SDK that gives autonomous agents an identity and wallet on the Unicity network to find, negotiate and settle payments with other agents.
Added
MCP Go SDK
Official Go SDK for building Model Context Protocol servers and clients, maintained with Google.
Added
MCP C# SDK
Official C# SDK for building MCP servers and clients, maintained with Microsoft.
Added
MCP Rust SDK
Official Rust SDK for the Model Context Protocol.
Added
Antigravity SDK
Google's Python SDK for building stateful AI agents powered by Antigravity and Gemini, abstracting the agent loop and runtime.
Added
MCP Java SDK
Official Java SDK for MCP servers and clients.
Added
TanStack AI
Type-safe, provider-agnostic TypeScript SDK for chat, tool calling and agents.
Added
NitroStack
TypeScript framework with decorators and dependency injection for building, testing and deploying MCP servers and MCP apps, with a companion desktop studio.
Added
Workflow SDK
Vercel's TypeScript SDK for building durable, reliable and observable apps and AI agents.
Added
Skybridge
Full-stack TypeScript and React framework for building MCP Apps and ChatGPT Apps.
Added
MCP PHP SDK
Official PHP SDK for building MCP servers and clients, maintained with the PHP Foundation and Symfony.
Added
Arcade
Actions runtime for enterprise agents with thousands of prebuilt authenticated tools, plus an open-source framework for building your own MCP servers.
Added
GitHub repos (20)
| Repo | GitHub stars | Licence | Last push |
|---|---|---|---|
| 116,073 | MIT | — | |
| 61,465 | MIT | 2026-10-18 | |
| 30,023 | MIT | 2026-10-17 | |
| 28,106 | Apache License 2.0 | 2026-10-17 | |
| 24,595 | MIT | 2026-10-17 | |
| 13,595 | MIT, moving to Apache-2.0 for new contributions | 2026-10-13 | |
| 10,772 | MIT | 2026-10-17 | |
| 8,293 | — | 2026-10-16 | |
| 5,385 | — | 2026-10-17 | |
| 5,240 | — | 2026-10-16 | |
| 4,586 | Apache License 2.0 (moving from MIT; docs under CC BY 4.0) | 2026-10-17 | |
| 4,023 | Apache License 2.0 (moving from MIT; docs under CC BY 4.0) | 2026-10-17 | |
| 3,768 | — | 2026-10-13 | |
| 3,740 | MIT | 2026-10-16 | |
| 3,199 | MIT | 2026-10-15 |
Top 15 of 20 by stars. Stars and licence come from each repo, checked when the listing was last verified.
FAQ
What are the best AI tools for building MCP servers focused on agent frameworks and SDKs?
We list 20. The first three by GitHub stars and featured status are Pi: Minimal, extensible open-source terminal coding agent and agent toolkit from Earendil, with a multi-provider LLM API, TypeScript SDK, RPC mode and installable extensions, skills and themes.; LiteLLM: Open-source AI gateway and Python SDK that calls 100+ LLM providers in the OpenAI format, with cost tracking, guardrails, load balancing and logging.; OpenAI Agents SDK (Python): OpenAI's Python SDK for building multi-agent workflows; v0.23.0/0.23.1 released Oct 1-2.
Are there free or open-source options?
Yes: 20 open source. Pricing is as each maker states it.
More from building MCP servers
Tools are grouped by what each says it does. Missing one? Submit it free.