MCP Directory
Back

learn-modelcontextprotocol

by Ding-Ye · Go · ★ 0

Re-grow the modelcontextprotocol spec from scratch in Go — one mechanism per chapter, each ending with an upstream TypeScript spec reading. Generated by learn-repo-generator.

Install

go install github.com/Ding-Ye/learn-modelcontextprotocol@latest

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "learn-modelcontextprotocol": {
      "command": "npx",
      "args": [
        "-y",
        "github:Ding-Ye/learn-modelcontextprotocol"
      ]
    }
  }
}

From the README

> 用 Go 渐进式重建 [modelcontextprotocol/modelcontextprotocol](https://github.com/modelcontextprotocol/modelcontextprotocol) 协议规范的核心机制——每一章一个机制,每一章末尾有上游 TypeScript 规范的注解阅读。教学法借鉴 [shareAI-lab/learn-claude-code](https://github.com/shareAI-lab/learn-claude-code)。 English version: [README.en.md](./README.en.md). MCP(Model Context Protocol)是 Anthropic 主导、社区共建的开放 JSON-RPC 协议,让 LLM 应用能发现并调用工具、读取上下文资源、发起反向 sampling 请求等。上游仓库 **没有** 一份"完整参考实现"——它是规范(schema.ts + docs/)和增强提案(seps/),所有 SDK 都在外面分散维护。 本仓库的目标:**用 Go 从零渐进重建上游协议规范的核心机制**——每章实现一个能跑的子集,最终凑出一个可以承载 全链路的 MCP 服务器 + 客户端。 每章 ≤ 1000 行 Go,每章是独立的 Go module…
Read full README on GitHub →

Related other servers