Sponsored by Deepsite.site

Test_apple_price

Created By
24825040022 months ago
Content

MCP-for-beginners

GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Microsoft Azure AI Foundry Discord

Follow these steps to get started using these resources:

  1. Fork the Repository: Click GitHub forks
  2. Clone the Repository: git clone https://github.com/microsoft/mcp-for-beginners.git
  3. Join The Azure AI Foundry Discord and meet experts and fellow developers

🌐 Multi-Language Support

Supported via GitHub Action (Automated & Always Up-to-Date)

Arabic | Bengali | Bulgarian | Burmese (Myanmar) | Chinese (Simplified) | Chinese (Traditional, Hong Kong) | Chinese (Traditional, Macau) | Chinese (Traditional, Taiwan) | Croatian | Czech | Danish | Dutch | Finnish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Korean | Malay | Marathi | Nepali | Norwegian | Persian (Farsi) | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi (Gurmukhi) | Romanian | Russian | Serbian (Cyrillic) | Slovak | Slovenian | Spanish | Swahili | Swedish | Tagalog (Filipino) | Thai | Turkish | Ukrainian | Urdu | Vietnamese

🚀 Model Context Protocol (MCP) Curriculum for Beginners

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

🧠 Overview of the Model Context Protocol Curriculum

The Model Context Protocol (MCP) is a cutting-edge framework designed to standardize interactions between AI models and client applications. This open-source curriculum offers a structured learning path, complete with 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.

🔗 Official MCP Resources

🧭 MCP Curriculum Overview

📚 Complete Curriculum Structure

ModuleTopicDescriptionLink
Module 1-3: Fundamentals
00Introduction to MCPOverview of the Model Context Protocol and its significance in AI pipelinesRead more
01Core Concepts ExplainedIn-depth exploration of core MCP conceptsRead more
02Security in MCPSecurity threats and best practicesRead more
03Getting Started with MCPEnvironment setup, basic servers/clients, integrationRead more
Module 3: Building Your First Server & Client
3.1First ServerCreate your first MCP serverGuide
3.2First ClientDevelop a basic MCP clientGuide
3.3Client with LLMIntegrate large language modelsGuide
3.4VS Code IntegrationConsume MCP servers in VS CodeGuide
3.5SSE ServerCreate servers using Server-Sent EventsGuide
3.6HTTP StreamingImplement HTTP streaming in MCPGuide
3.7AI ToolkitUse AI Toolkit with MCPGuide
3.8TestingTest your MCP server implementationGuide
3.9DeploymentDeploy MCP servers to productionGuide
Module 4-5: Practical & Advanced
04Practical ImplementationSDKs, debugging, testing, reusable prompt templatesRead more
05Advanced Topics in MCPMulti-modal AI, scaling, enterprise useRead more
5.1Azure IntegrationMCP Integration with AzureGuide
5.2Multi-modalityWorking with multiple modalitiesGuide
5.3OAuth2 DemoImplement OAuth2 authenticationGuide
5.4Root ContextsUnderstand and implement root contextsGuide
5.5RoutingMCP routing strategiesGuide
5.6SamplingSampling techniques in MCPGuide
5.7ScalingScale MCP implementationsGuide
5.8SecurityAdvanced security considerationsGuide
5.9Web SearchImplement web search capabilitiesGuide
5.10Realtime StreamingBuild realtime streaming functionalityGuide
5.11Realtime SearchImplement realtime searchGuide
5.12Entra ID AuthAuthentication with Microsoft Entra IDGuide
5.13Foundry IntegrationIntegrate with Azure AI FoundryGuide
5.14Context EngineeringTechniques for effective context engineeringGuide
Module 6-10: Community & Best Practices
06Community ContributionsHow to contribute to the MCP ecosystemGuide
07Insights from Early AdoptionReal-world implementation storiesGuide
08Best Practices for MCPPerformance, fault-tolerance, resilienceGuide
09MCP Case StudiesPractical implementation examplesGuide
10Hands-on WorkshopBuilding an MCP Server with AI ToolkitLab

💻 Sample Code Projects

Basic MCP Calculator Samples

LanguageDescriptionLink
C#MCP Server ExampleView Code
JavaMCP CalculatorView Code
JavaScriptMCP DemoView Code
PythonMCP ServerView Code
TypeScriptMCP ExampleView Code
RustMCP ExampleView Code

Advanced MCP Implementations

LanguageDescriptionLink
C#Advanced SampleView Code
Java with SpringContainer App ExampleView Code
JavaScriptAdvanced SampleView Code
PythonComplex ImplementationView Code
TypeScriptContainer SampleView Code

🎯 Prerequisites for Learning MCP

To get the most out of this curriculum, you should have:

  • Basic knowledge of programming in at least one of the following languages: C#, Java, JavaScript, Python, or TypeScript

  • Understanding of client-server model and APIs

  • Familiarity with REST and HTTP concepts

  • (Optional) Background in AI/ML concepts

  • Joining our community discussions for support

📚 Study Guide & Resources

This repository includes several resources to help you navigate and learn effectively:

Study Guide

A comprehensive Study Guide is available to help you navigate this repository effectively. The guide includes:

  • A visual curriculum map showing all topics covered
  • Detailed breakdown of each repository section
  • Guidance on how to use sample projects
  • Recommended learning paths for different skill levels
  • Additional resources to complement your learning journey

Changelog

We maintain a detailed Changelog that tracks all significant updates to the curriculum materials, including:

  • New content additions
  • Structural changes
  • Feature improvements
  • Documentation updates

🛠️ How to Use This Curriculum Effectively

Each lesson in this guide includes:

  1. Clear explanations of MCP concepts
  2. Live code examples in multiple languages
  3. Exercises to build real MCP applications
  4. Extra resources for advanced learners

Events

MCP Dev Days July 2025

➡️Watch on Demand - MCP Dev Days

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. You can watch MCP Dev Days by registering on our event page: https://aka.ms/mcpdevdays.

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 Boot Camp August 2025

Learn in intensive video sessions how to create MCP servers, integrate with VS Code, and deploy professionally on Azure based on content from the MCP for Beginners curriculum. Walk away with practical skills in a technology that major companies are already using.

➡️Watch on Demand MCP Bootcamp | English

➡️Watch on Demand MCP Bootcamp | Brasil

➡️Watch on Demand MCP Bootcamp | Spanish

🌟 Community Thanks

Thanks to Microsoft Valued Professional Shivam Goyal for contributing important code samples.

📜 License Information

This content is licensed under the MIT License. For terms and conditions, see the LICENSE.

🤝 Contribution Guidelines

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

📂 Repository Structure

The repository is organized as follows:

  • Core Curriculum (00-10): The main content organized in ten sequential modules
  • images/: Diagrams and illustrations used throughout the curriculum
  • translations/: Multi-language support with automated translations
  • translated_images/: Localized versions of diagrams and illustrations
  • study_guide.md: Comprehensive guide to navigating the repository
  • changelog.md: Record of all significant changes to the curriculum materials
  • mcp.json: Configuration file for MCP specification
  • CODE_OF_CONDUCT.md, LICENSE, SECURITY.md, SUPPORT.md: Project governance documents

🎒 Other Courses

Our team produces other courses! Check out:

™️ Trademark Notice

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third-parties' policies.

Server Config

{
  "mcpServers": {
    "apple": {
      "command": "D://anaconda//python.exe",
      "args": [
        "D://pyfile//MCP//get_apple_price.py"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Amap Maps高德地图官方 MCP Server
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors