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 conflateActual relationshipWhat to do before integrating
SDK package version vs protocol revisionEach SDK adopts revisions on its own cadence; upgrading an SDK does not mean the other end supports the same revisionCheck “supported protocol revision” in your SDK’s docs and intersect it with your peer’s
Tier level vs capability ceilingTiers do not cap what you can implementDon’t abandon a language over tier 3; weigh ecosystem and sample depth
Official SDK vs the spec textSDKs are tools; the spec is the contractSettle 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

SDKRepositoryTier
  TypeScriptmodelcontextprotocol/typescript-sdkTier 1
  Pythonmodelcontextprotocol/python-sdkTier 1
  C#modelcontextprotocol/csharp-sdkTier 1
  Gomodelcontextprotocol/go-sdkTier 1
  Rustmodelcontextprotocol/rust-sdkTier 1
  Rubymodelcontextprotocol/ruby-sdkTier 1
  Javamodelcontextprotocol/java-sdkTier 2
  Swiftmodelcontextprotocol/swift-sdkTier 3
  PHPmodelcontextprotocol/php-sdkTier 3
  Kotlinmodelcontextprotocol/kotlin-sdkTier 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