Skip to content
Browse the library
microsoft / mcp-for-beginners

MCP for Beginners

An open-source curriculum on the Model Context Protocol (MCP) with cross-language examples

Who it is for

Developers who want to understand MCP and study client/server examples in a supported language.

What you can do with it

Trace how a client connects to a server and exposes a tool, then compare that flow with the protocol explanation.

Before you start

The curriculum covers several languages and evolving protocol details. Follow the selected example and version notes rather than combining instructions across languages.

Prerequisites

Use a language you can already build and run. Check the dependencies in that language’s setup instructions.

Costs and external services

Some examples integrate model providers or external services. Public access to the curriculum does not establish that those services are free.

Try this first

Read the getting-started section and run one client/server example in a language you already use.

Source and context

These selection notes describe the resource's scope. Check the source for current details.

Selection notes updated . How selection notes are reviewed.

Choose your next step

Keep exploring

Explore the category →