Agent frameworks and SDKs for building MCP servers
Frameworks and SDKs for building agents in code. Of the 64 tools on our building MCP servers page, 35 fit this narrower job. By pricing: 28 open source, 3 free or freemium, 2 paid, usage-based or enterprise, 2 pricing on the maker's site. The most-starred open repos here are Pi (125,292 stars), MCP reference servers (92,454 stars), LiteLLM (64,364 stars). Most come from the MCP servers (19), frameworks (5), agent infra (4) categories.
Updated
Pi
Pi is a minimal, MIT-licensed agent harness from Earendil that runs as a terminal coding agent and doubles as a toolkit for building your own agents. It ships a unified multi-provider LLM API, an agent loop, a TUI, print/JSON and RPC modes and a TypeScript SDK, and deliberately leaves out built-in sub-agents and plan mode: you add behaviour through extensions, skills, prompt templates and themes, bundled as Pi packages shared over npm or git.
Added
MCP reference servers
The Model Context Protocol servers repository holds the small set of reference MCP servers maintained by the MCP steering group, showing protocol features and SDK usage for builders writing their own servers. The project warns they are educational examples rather than production-ready, and points to the official MCP Registry for discovering published servers.
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
Composio
Composio gives AI agents more than 1,000 pre-authenticated toolkits for apps such as Gmail, Slack, GitHub and Salesforce, with per-user sessions, managed OAuth, tool search, triggers and a sandboxed workbench, so an agent can act in a user's accounts without you building each integration. The MIT-licensed monorepo ships TypeScript and Python SDKs, a CLI for searching and running tools from the shell, and adapters for the OpenAI Agents SDK, Claude Agent SDK, Vercel AI SDK, LangChain and more; the hosted platform has a free tier.
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
mcp-go
mcp-go is a Go library for the Model Context Protocol. It is for connecting an LLM application to external tools and data through MCP servers and clients. The project is MIT licensed. The site is https://mcp-go.dev/. It is a different codebase from the official Go SDK in modelcontextprotocol/go-sdk.
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
MCP Go SDK
Official Go SDK for building Model Context Protocol servers and clients, maintained with Google.
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
HiThink Finance (Tonghuashun Financial Data)
HiThink Finance is the official Tonghuashun (10jqka) financial data service for China's A-share market, aimed at AI agents and quant research: one API key gives real-time and historical quotes, call auctions, financial statements, valuations, indices, sectors, funds and IPO data through a REST API, a hosted MCP server, a CLI with built-in agent skills, a Python SDK or a local DuckDB store. The client code is MIT-licensed; the data needs an API key.
Added
MCP C# SDK
Official C# SDK for building MCP servers and clients, maintained with Microsoft.
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 Rust SDK
Official Rust SDK for the Model Context Protocol.
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
Inkeep
Inkeep is a platform for support and operations agents. The homepage says engineering and business teams ship agents together, with a no-code visual builder or a TypeScript SDK and two-way sync. GitHub inkeep/agents recorded 1,501 stars and 183 forks on 25 Nov 2026. GitHub's SPDX field was NOASSERTION, so this listing does not call it open source. No price was on the homepage description.
Added
MCP Kotlin SDK
Official Kotlin Multiplatform SDK for building MCP servers and clients on JVM, Native, JS and Wasm, maintained with JetBrains.
Added
AgenticX
AgenticX is an open-source agent project that helps builders handle unified, production-ready multi-agent platform — Python SDK + CLI (agx) + Studio.
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
Ruby Sdk
Ruby Sdk is an MCP server that gives agents a way to handle for the Model Context Protocol servers and clients.
Added
Golf
Golf is an MCP server that gives agents a way to handle MCP Server Framework • Build, deploy & scale secure AI agent infrastructure.
Added
Swipt
Swipt is a GPL-licensed automation platform for iPhone and iPad built on Apple's CoreDevice and accessibility services. Its TypeScript SDK controls a device, its MCP-compatible API runs a JavaScript REPL against that SDK so an AI agent can drive the phone and debug scripts, and a CLI offers the full feature set. It also runs "Swiplets", small apps built with the SDK and SwiftUI. iOS 27 is the first-tier target, with iOS 17.4 to 26 untested.
Added
AgentEnv Framework
AgentEnv Framework is Scale AI's open-source Python SDK and CLI for building RL environments for agents: containerized worlds with realistic apps and data behind an MCP gateway, plus tasks (as DAGs) that grade any agent in any sandbox.
Added
Agentica
One person, a team of agents: CLI, Web, Desktop & Python SDK with multi-session collaboration, persistent memory, and self-evolving skills. 一个人,一支 Agent 团队:支持多终端协作、持久记忆与技能自进化的 AI Agent 框架。
Added
HealthChain
HealthChain is an MCP server that gives agents a way to handle python SDK for healthcare AI — typed, validated FHIR tools for agents.
Added
Lium
Lium is a GPU marketplace built for agent-driven compute: an agent installs the CLI, starts a pod with one command such as lium up --gpu H100 --ttl 1h, runs its job and has the pod removed automatically within the budget you set. It lists RTX 5090 to H100, H200, B200 and B300 machines from many providers with per-second billing, spot pricing, volumes, backups, a Python SDK and an API.
Added
PhoneUse
PhoneUse gives AI agents phones of their own to operate. Agents get cloud Android phones that boot in seconds and scale to hundreds, or real retail iPhones and Androids in a San Francisco rack, tapped by a robot stylus, for apps that detect emulators, with real carrier numbers for SMS and 2FA codes. One MCP server with tools such as acquire, read screen, tap, type, swipe, open app and read SMS plugs into Claude, Cursor, Codex or Windsurf, and there is a Python SDK and REST API. On-demand cloud phones are billed per minute, with flat monthly prices for dedicated and real phones.
Added
Wenbu
Wenbu is a hosted streamable HTTP MCP server (wenbu 1.5.0, listed in the official MCP Registry as app.wenbu/mcp) and web app for traditional Chinese cultural systems and reflection. Connect Claude, Cursor or any MCP client with no API key required to call seven tools: calculate a bazi chart, cast the I Ching, draw tarot, calculate a zi wei chart, search a library, read a library item, and get a daily card. You can also run the MIT-licensed server locally.
Added
GitHub repos (33)
| Repo | GitHub stars | Licence | Last push |
|---|---|---|---|
| 125,292 | MIT | 2026-12-02 | |
| 92,454 | MIT, moving to Apache-2.0 for new contributions | 2026-11-27 | |
| 64,364 | MIT | 2026-12-02 | |
| 31,403 | MIT | 2026-12-02 | |
| 28,857 | Apache License 2.0 | 2026-12-02 | |
| 25,039 | MIT | 2026-11-05 | |
| 13,860 | MIT, moving to Apache-2.0 for new contributions | 2026-11-18 | |
| 11,045 | MIT | 2026-12-02 | |
| 9,279 | — | 2026-12-01 | |
| 8,694 | MIT | 2026-12-01 | |
| 5,428 | Apache License 2.0 (transitioning from MIT) | 2026-12-01 | |
| 5,384 | MIT | 2026-11-13 | |
| 4,779 | — | 2026-12-02 | |
| 4,670 | Apache License 2.0 (moving from MIT; docs under CC BY 4.0) | 2026-12-01 | |
| 4,366 | Apache License 2.0 | 2026-11-18 |
Top 15 of 33 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 35. The first three by GitHub stars and featured status are Pi: Pi is a minimal, MIT-licensed agent harness from Earendil that runs as a terminal coding agent and doubles as a toolkit for building your own agents. It ships a unified multi-provider LLM API, an agent loop, a TUI, print/JSON and RPC modes and a TypeScript SDK, and deliberately leaves out built-in sub-agents and plan mode: you add behaviour through extensions, skills, prompt templates and themes, bundled as Pi packages shared over npm or git.; MCP reference servers: The Model Context Protocol servers repository holds the small set of reference MCP servers maintained by the MCP steering group, showing protocol features and SDK usage for builders writing their own servers. The project warns they are educational examples rather than production-ready, and points to the official MCP Registry for discovering published servers.; 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.
Are there free or open-source options?
Yes: 28 open source, 3 free or freemium, 2 paid, usage-based or enterprise, 2 pricing on the maker's site. 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.