MCP Explained: How I Built a Model Context Protocol Server for an AI Agent (With Real Code)
中文摘要
本文介绍 Claude Code 等工具使用的 MCP 协议,并提供代码示例,指导如何为 AI Agent 构建 MCP 服务器。
English Summary
This article explains the Model Context Protocol (MCP) used by Claude Code and Cursor, providing a practical guide and code to build an MCP server for AI agents.
Original Excerpt
If you’ve used Claude Code, Cursor, or any tool-calling AI agent in the last year, you’ve run into MCP — the Model Context Protocol. Most… Continue reading on Medium »