WM

woodychang21/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2 stars 0 forks 质量 39 趋势 8

MCP Playground

概览

A comprehensive guide to learning and implementing Model Context Protocol (MCP) from fundamentals to production-ready applications. This repository is organized in a logical progression that takes you from MCP basics to advanced implementations: By the end of this tutorial, you'll have built a that demonstrates the full power of MCP + LangChain integration: Check out the 03 - LangChain Third-Party Integrations section! - Complete MCP crash course with hands-on examples - Understanding MCP concepts and architecture - Basic server and client implementations - : Dave Ebbelaar's AI Cookbook - Custom server implementations from scratch - HTTP, SSE, and STDIO transport methods - Tool definition and implementation patterns - NPX server integration and debugging - : Using LangChain agents as MCP clients - Tako MCP server for data visualization - Streamlit frontend development - Production deployment strategies - Real-world application patterns - : Third-party MCP servers with LangChain...

README

以下为原文 README 节选,完整内容请查看原文。

MCP Learning Journey

A comprehensive guide to learning and implementing Model Context Protocol (MCP) from fundamentals to production-ready applications.

Learning Path

This repository is organized in a logical progression that takes you from MCP basics to advanced implementations:

By the end of this tutorial, you’ll have built a Streamlit application that demonstrates the full power of MCP + LangChain integration:

Ready to build this? Check out the 03 - LangChain Third-Party Integrations section!

01 - MCP Fundamentals

Start here if you’re new to MCP

  • Complete MCP crash course with hands-on examples
  • Understanding MCP concepts and architecture
  • Basic server and client implementations
  • Source: Dave Ebbelaar’s AI Cookbook

02 - LangChain MCP Servers

Learn to build MCP servers with LangChain agents

  • Custom server implementations from scratch
  • HTTP, SSE, and STDIO transport methods
  • Tool definition and implementation patterns
  • NPX server integration and debugging
  • LangChain Integration: Using LangChain agents as MCP clients

03 - LangChain Third-Party Integrations

Integrate production-ready MCP solutions with LangChain

  • Tako MCP server for data visualization
  • Streamlit frontend development
  • Production deployment strategies
  • Real-world application patterns
  • LangChain Integration: Third-party MCP servers with LangChain agents

Quick Start

  1. Begin with fundamentals: Navigate to 01-mcp-fundamentals/
  2. Follow the numbered sequence: Each section builds upon the previous
  3. Hands-on learning: Execute code examples and build projects
  4. LangChain Integration: Learn to use MCP servers with LangChain agents
  5. Production ready: End with deployable MCP applications using LangChain

What You’ll Master

  • MCP Architecture: Understanding the protocol and its components
  • Server Development: Building custom MCP servers
  • LangChain Integration: Using LangChain agents as MCP clients
  • Tool Development: Creating and implementing MCP tools
  • Production Deployment: Real-world MCP applications with LangChain
  • Third-Party Integration: Using existing MCP solutions with LangChain agents

Prerequisites

  • Python 3.8+ (recommended: Python 3.11+)
  • Basic Python knowledge
  • Understanding of APIs and web services
  • Docker (for some advanced examples)
  • Git (for cloning and version control)
  • OpenAI API Key and Deployment Name (for LangChain integrations)
  • Tako API Key (for data visualization examples in tako-mcp submodule)

Installation & Setup

  1. Clone the repository:

    git clone 
    cd mcp
    
  2. Initialize submodules (Important!):

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →