Skip to content

MCP SDKs

The official MCP SDKs are programming libraries for building clients or servers that speak the protocol.

Visit MCP SDKs

When would you use an SDK instead of adding a server?

An existing server already offers a set of operations. An SDK gives a developer building blocks for making a server or client. Check the official directory for your language, version and support tier. The Python and TypeScript SDKs are separate packages with their own setup.

Who decides what the new tool can see?

Your application does. The library provides the protocol connection, and you decide which data source and operations to expose. Keep the interface, package version and examples with your source. Start with a local sample that reads invented data and has no connection to real records.

What would a one-operation fictional server return?

Draw a local server that reads the title from a sample handbook you wrote.

  1. Define the input and output
    Use one invented handbook label and return only its title.
  2. Name its data boundary
    Write what it should do if a different label is requested.