# MCP SDK

> An official code kit to build MCP servers and clients. There is one per language.

**Field:** Artificial Intelligence  
**Category:** MCP  
**Also known as:** MCP SDKs, Model Context Protocol SDK, @modelcontextprotocol/server, MCP Python SDK

## Think of it like

It is like a kit with the hard parts already built. You only add the part that is yours.

## Definition

An MCP SDK is an official code library for building MCP servers and clients. It handles the messages, the transports and the version rules for you. You only write your tools, resources and prompts. There are official SDKs for ten languages, including TypeScript, Python, C#, Go, Rust, Ruby and Java. Each SDK is ranked in a tier that says how complete and well kept it is.

## Example

A Python developer installs the MCP SDK and writes one function for each tool. The SDK turns them into a working server.

## Example code

```bash
npm install @modelcontextprotocol/server
pip install "mcp[cli]"
```

Install the server SDK for TypeScript, or the SDK for Python.

## Why it matters

The protocol has many small rules. An SDK gets them right, so you can spend your time on the tools.

## Common mistake

Assuming every SDK supports the newest spec on day one. Each one adds new releases on its own schedule.

## Three principles

- **Official libraries.** One for each main language.
- **Handles the protocol.** You write the tools.
- **Ranked in tiers.** Tier 1 is the most complete.

## Related terms

- [MCP Server](https://learn.benibix.com/term/ai/mcp-server)
- [MCP Client](https://learn.benibix.com/term/ai/mcp-client)
- [Software Development Kit (SDK)](https://learn.benibix.com/term/development/sdk)
- [MCP Inspector](https://learn.benibix.com/term/ai/mcp-inspector)
- [SDK MCP Server](https://learn.benibix.com/term/ai/sdk-mcp-server)

![A row of five steps for an MCP server. Write it with an SDK. Test it in the MCP Inspector. Pack it into one .mcpb bundle file. List it in the MCP Registry. A host app finds it and runs it as a local server on the user's computer.](https://learn.benibix.com/diagrams/ai8-mcp-dev-tools.svg)

---

Source: https://learn.benibix.com/term/ai/mcp-sdk
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
