SDKs
Before choosing an SDK: three distinct things — tier, SDK version, protocol revision
Tiers signal maintenance commitment and support level; they are not a feature switch. The tier-3 Swift, PHP and Kotlin SDKs can still implement the full protocol — the difference is the maintainers’ pledged support level and governance participation (see “SDK Tiers”).
| Easy to conflate | Actual relationship | What to do before integrating |
|---|---|---|
| SDK package version vs protocol revision | Each SDK adopts revisions on its own cadence; upgrading an SDK does not mean the other end supports the same revision | Check “supported protocol revision” in your SDK’s docs and intersect it with your peer’s |
| Tier level vs capability ceiling | Tiers do not cap what you can implement | Don’t abandon a language over tier 3; weigh ecosystem and sample depth |
| Official SDK vs the spec text | SDKs are tools; the spec is the contract | Settle behavior disputes against the spec for the revision in play |
Suggested path: run the pinned quickstart example for your language first, then swap in your real tools.
Build MCP servers and clients using our official SDKs. SDKs are classified into tiers based on feature completeness, protocol support, and maintenance commitment. Learn more about SDK tiers.
Available SDKs
| SDK | Repository | Tier |
|---|---|---|
| TypeScript | modelcontextprotocol/typescript-sdk | Tier 1 |
| Python | modelcontextprotocol/python-sdk | Tier 1 |
| C# | modelcontextprotocol/csharp-sdk | Tier 1 |
| Go | modelcontextprotocol/go-sdk | Tier 1 |
| Rust | modelcontextprotocol/rust-sdk | Tier 1 |
| Ruby | modelcontextprotocol/ruby-sdk | Tier 1 |
| Java | modelcontextprotocol/java-sdk | Tier 2 |
| Swift | modelcontextprotocol/swift-sdk | Tier 3 |
| PHP | modelcontextprotocol/php-sdk | Tier 3 |
| Kotlin | modelcontextprotocol/kotlin-sdk | Tier 3 |
See SDK Tiering System for details on what each tier means.
Getting Started
Each SDK follows the idioms and best practices of its language. SDKs adopt new protocol revisions on their own schedules, so check each SDK’s documentation for the revisions it supports. All SDKs support:
- Creating MCP servers that expose tools, resources, and prompts
- Building MCP clients that can connect to any MCP server
- Local and remote transport protocols
- Protocol compliance with type safety
Visit the SDK page for your chosen language to find installation instructions, documentation, and examples.
Next Steps
Ready to start building with MCP? Choose your path:
Build a Server
Learn how to create your first MCP server
Build a Client
Create applications that connect to MCP servers