MCP Tutorials
Model Context Protocol(MCP) 中文教程讲解
What is MCP Tutorials?
MCP Tutorials is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol(mcp) 中文教程讲解
Model Context Protocol(MCP) 中文教程讲解
This server falls under the Developer Tools and Knowledge & Memory categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Model Context Protocol(MCP) 中文教程讲解
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-tutorialsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Tutorials
MCP Tutorials is a Chinese-language educational repository that provides comprehensive, hands-on guides for learning the Model Context Protocol from first principles through practical Go implementations. It covers MCP theory, building both clients and servers in Go using the ThinkInAIXYZ/go-mcp library, transport layer details (HTTP+SSE and Streamable HTTP), and real-world projects such as an IP information query server and an AI-powered travel itinerary generator integrating Amap and EdgeOne Pages. Developers who prefer reading technical content in Chinese and want Go-based MCP examples will find it particularly useful.
Prerequisites
- Go 1.21 or later installed (the repository is written in 100% Go)
- Familiarity with Go programming and HTTP concepts
- An MCP-compatible client such as Claude Desktop for testing built servers
- Basic understanding of LLM concepts and why external tool integration is useful
Clone the repository
Clone the mcp-tutorials repository to your local machine to access all tutorial code examples.
git clone https://github.com/chenmingyong0423/mcp-tutorials.git
cd mcp-tutorialsExplore the tutorial structure
The repository contains a tutorials folder with written guides and a code-examples folder with runnable Go code. Browse these to find the tutorial relevant to your learning goal.
ls tutorials/
ls code-examples/Install the go-mcp dependency
The code examples use the ThinkInAIXYZ/go-mcp library. Navigate to a code example directory and download dependencies.
cd code-examples/overview
go mod downloadRun a tutorial server example
Build and run one of the example MCP servers, such as the IP information query server. This gives you a running MCP server you can connect a client to.
go run main.goConnect Claude Desktop to your running server
Once your Go MCP server is running, add it to your MCP client configuration using the compiled binary path or go run command.
{
"mcpServers": {
"mcp-tutorial-server": {
"command": "go",
"args": ["run", "/path/to/mcp-tutorials/code-examples/overview/main.go"]
}
}
}Read the tutorial articles
Each subdirectory in the tutorials/ folder corresponds to an article on chenmingyong.cn. Read the corresponding article while experimenting with the code to get the full learning experience.
MCP Tutorials Examples
Client configuration
Example Claude Desktop configuration for running one of the tutorial Go servers directly with 'go run'. Replace the path with the actual example you want to test.
{
"mcpServers": {
"mcp-tutorial-server": {
"command": "go",
"args": ["run", "/path/to/mcp-tutorials/code-examples/overview/main.go"]
}
}
}Prompts to try
These prompts are appropriate once you have a tutorial server running and connected to your MCP client.
- "What is the geographic location and ISP for IP address 8.8.8.8?"
- "Look up information about my current IP address."
- "Generate a weekend travel itinerary for Beijing using the travel planning tool."
- "What MCP tools are currently available from the connected server?"Troubleshooting MCP Tutorials
go: command not found when starting the MCP server
Ensure Go is installed and the go binary is on the PATH used by your MCP client. On macOS, MCP clients launched from the GUI may not inherit your shell PATH — use the absolute path to the go binary (e.g. /usr/local/go/bin/go) in the command field.
Module not found or dependency errors when running examples
Run 'go mod download' or 'go mod tidy' inside the specific code-examples subdirectory before running the server. Each example has its own go.mod file.
Server starts but no tools appear in the AI client
The tutorial servers use stdio transport by default. Ensure the MCP client config uses 'command' and 'args' (stdio mode) rather than a URL-based HTTP config. Check the server's stdout for any startup errors.
Frequently Asked Questions about MCP Tutorials
What is MCP Tutorials?
MCP Tutorials is a Model Context Protocol (MCP) server that model context protocol(mcp) 中文教程讲解 It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Tutorials?
Follow the installation instructions on the MCP Tutorials GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Tutorials?
MCP Tutorials works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Tutorials free to use?
Yes, MCP Tutorials is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP Tutorials Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP Tutorials? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Tutorials in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Tutorials?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.