mcp-for-beginners

MCP learning resource. .NET, Java, TypeScript, JavaScript, Python examples. Teaches Model Context Protocol fundamentals. #MCP #ModelContextProtocol

4,794
1,204
# 🚀 Model Context Protocol (MCP) Curriculum for Beginners

[![GitHub contributors](https://img.shields.io/github/contributors/microsoft/mcp-for-beginners.svg)](https://GitHub.com/microsoft/mcp-for-beginners/graphs/contributors)
[![GitHub issues](https://img.shields.io/github/issues/microsoft/mcp-for-beginners.svg)](https://GitHub.com/microsoft/mcp-for-beginners/issues)
[![GitHub pull-requests](https://img.shields.io/github/issues-pr/microsoft/mcp-for-beginners.svg)](https://GitHub.com/microsoft/mcp-for-beginners/pulls)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

[![GitHub watchers](https://img.shields.io/github/watchers/microsoft/mcp-for-beginners.svg?style=social&label=Watch)](https://GitHub.com/microsoft/mcp-for-beginners/watchers)
[![GitHub forks](https://img.shields.io/github/forks/microsoft/mcp-for-beginners.svg?style=social&label=Fork)](https://GitHub.com/microsoft/mcp-for-beginners/fork)
[![GitHub stars](https://img.shields.io/github/stars/microsoft/mcp-for-beginners?style=social&label=Star)](https://GitHub.com/microsoft/mcp-for-beginners/stargazers)

[![Microsoft Azure AI Foundry Discord](https://dcbadge.limes.pink/api/server/ByRwuEEgH4)](https://discord.com/invite/ByRwuEEgH4)

## **Learn MCP with Hands-on Code Examples in C#, Java, JavaScript, Python, and TypeScript**

This curriculum provides a structured learning path for the **Model Context Protocol (MCP)**, a framework designed to standardize interactions between AI models and client applications.  It offers practical coding examples and real-world use cases across popular programming languages including C#, Java, JavaScript, TypeScript, and Python.

Whether you're an AI developer, system architect, or software engineer, this guide is your comprehensive resource for mastering MCP fundamentals and implementation strategies.

## 🚀 Getting Started

Follow these steps to get started:

1.  **Fork the Repository**: Click the "Fork" button at the top right of this page.
    [![GitHub forks](https://img.shields.io/github/forks/microsoft/mcp-for-beginners.svg?style=social&label=Fork)](https://GitHub.com/microsoft/mcp-for-beginners/fork)

2.  **Clone the Repository**:  Clone your forked repository to your local machine using Git:

    ```bash
    git clone https://github.com/<your-github-username>/mcp-for-beginners.git
    ```

3.  **Join the Azure AI Foundry Discord**: Connect with experts and fellow developers.
    [Join The Azure AI Foundry Discord](https://discord.com/invite/ByRwuEEgH4)

## 🌐 Multi-Language Support

This README is available in multiple languages, automatically updated via GitHub Actions:

[French](./translations/fr/README.md) | [Spanish](./translations/es/README.md) | [German](./translations/de/README.md) | [Russian](./translations/ru/README.md) | [Arabic](./translations/ar/README.md) | [Persian (Farsi)](./translations/fa/README.md) | [Urdu](./translations/ur/README.md) | [Chinese (Simplified)](./translations/zh/README.md) | [Chinese (Traditional, Macau)](./translations/mo/README.md) | [Chinese (Traditional, Hong Kong)](./translations/hk/README.md) | [Chinese (Traditional, Taiwan)](./translations/tw/README.md) | [Japanese](./translations/ja/README.md) | [Korean](./translations/ko/README.md) | [Hindi](./translations/hi/README.md) | [Bengali](./translations/bn/README.md) | [Marathi](./translations/mr/README.md) | [Nepali](./translations/ne/README.md) | [Punjabi (Gurmukhi)](./translations/pa/README.md) | [Portuguese (Portugal)](./translations/pt/README.md) | [Portuguese (Brazil)](./translations/br/README.md) | [Italian](./translations/it/README.md) | [Polish](./translations/pl/README.md) | [Turkish](./translations/tr/README.md) | [Greek](./translations/el/README.md) | [Thai](./translations/th/README.md) | [Swedish](./translations/sv/README.md) | [Danish](./translations/da/README.md) | [Norwegian](./translations/no/README.md) | [Finnish](./translations/fi/README.md) | [Dutch](./translations/nl/README.md) | [Hebrew](./translations/he/README.md) | [Vietnamese](./translations/vi/README.md) | [Indonesian](./translations/id/README.md) | [Malay](./translations/ms/README.md) | [Tagalog (Filipino)](./translations/tl/README.md) | [Swahili](./translations/sw/README.md) | [Hungarian](./translations/hu/README.md) | [Czech](./translations/cs/README.md) | [Slovak](./translations/sk/README.md) | [Romanian](./translations/ro/README.md) | [Bulgarian](./translations/bg/README.md) | [Serbian (Cyrillic)](./translations/sr/README.md) | [Croatian](./translations/hr/README.md) | [Slovenian](./translations/sl/README.md) | [Ukrainian](./translations/uk/README.md) | [Burmese (Myanmar](./translations/my/README.md)

## 🔗 Official MCP Resources

-   📘 [MCP Documentation](https://modelcontextprotocol.io/) – Detailed tutorials and user guides
-   📜 [MCP Specification](https://spec.modelcontextprotocol.io/) – Protocol architecture and technical references
-   🧑‍💻 [MCP GitHub Repository](https://github.com/modelcontextprotocol) – Open-source SDKs, tools, and code samples

## 🗓️ Join us for MCP Dev Days 29-30th July 2025

Get ready for two days of deep technical insight, community connection, and hands-on learning at MCP Dev Days, a virtual event dedicated to the Model Context Protocol (MCP) — the emerging standard that bridges AI models and the tools they rely on.

➡️ [Register for MCP Dev Days](https://developer.microsoft.com/en-us/reactor/series/S-1563/)

You can watch MCP Dev Days by registering on our event page: https://aka.ms/mcpdevdays. From there, you’ll be able to join a live stream on YouTube or Twitch. All of the content is recorded and will be available afterwards on the Microsoft Developer YouTube channel. Source code for the demos will be available on GitHub too.

### Event Details

-   **Dates:** July 29 (Day 1) & July 30 (Day 2)
-   **Time:** 9:00 AM PST daily
-   **Where:** Online – join from anywhere!

#### Day 1: MCP Productivity, DevTools, & Community

Is all about empowering developers to use MCP in their developer workflow and celebrating the amazing MCP community. We’ll be joined with community members and partners such as Arcade, Block, Okta, and Neon to see how they are collaborating with Microsoft to shape an open, extensible MCP ecosystem. Real-world demos across VS Code, Visual Studio, GitHub Copilot, and popular community tools

*   Practical, context-driven dev workflows
*   Community-led sessions and insights

Whether you’re just getting started with MCP or already building with it, Day 1 will set the stage with inspiration and actionable takeaways.

#### Day 2: Build MCP Servers with Confidence

Is for MCP builders. We’ll go deep into implementation strategies and best practices for creating MCP servers and integrating MCP into your AI workflows.

### Topics include:

*   Building MCP Servers and integrating them into agent experiences
*   Prompt-driven development
*   Security best practices
*   Using building blocks like Functions, ACA, and API Management
*   Registry alignment and tooling (1P + 3P)

If you’re a developer, tool builder, or AI product strategist, this day is packed with the insights you need to build scalable, secure, and future-ready MCP solutions.

## 🧭 MCP Curriculum Overview

This curriculum is structured to guide you from the fundamentals of MCP to advanced topics and practical implementations.

### Model Context Protocol Fundamentals

<details>
  <summary><strong> Lesson 1-3: Model Context Protocol Fundamentals</strong></summary>

-   **00. Introduction to MCP**
    Overview of the Model Context Protocol and its significance in AI pipelines. [Read more](./

Repository

MI
microsoft

microsoft/mcp-for-beginners

Created

April 4, 2025

Updated

July 7, 2025

Language

Python

Category

Developer Tools