mcp-lite-dev
共学《MCP极简开发》项目代码
Install / Use
claude mcp add datawhalechina -- npx -y github:datawhalechina/mcp-lite-devIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHub本项目基于Datawhale组队学习的共读《MCP极简开发》课程,主要包括学习笔记和项目代码。
项目地址:https://github.com/datawhalechina/mcp-lite-dev
环境安装
-
基础环境:Python3.10+
-
安装UV
pip install uv
set UV_INDEX=https://mirrors.aliyun.com/pypi/simple
- 安装Python依赖包
uv sync --python 3.10 --all-extras
- 切换到本地环境(.venv)
cd .venv/Scripts
activate
配置文件
-
访问openweathermap网站,注册账号,获取API KEY
-
在项目根目录下新建
.env文件,并添加以下内容
OPENWEATHER_API_KEY=YOUR_API_KEY
-
访问硅基流动网站,注册账号,获取API KEY
注:书中使用的是deepseek,我们使用硅基流动的模型,其实效果是一样的。 -
在项目根目录下新建
.env文件,并添加以下内容
BASE_URL=https://api.siliconflow.cn/v1
MODEL=deepseek-ai/DeepSeek-V3
API_KEY=YOUR_API_KEY
项目协作安排
| 章节号 | 标题 | 进度 | 负责人 | |:---:|:----------------------:|:---:|:---------:| | 1 | 快速了解MCP | 进行中 | 王子怡 | | 2 | MCP核心原理 | 进行中 | 洪可壕 | | 3 | MCP的安全问题 | 进行中 | 易华挥 | | 4 | 支持MCP的主流平台 | 进行中 | - | | 5 | MCP Server资源整理 | 进行中 | - | | 6 | 动手写一个MCP | 进行中 | 尹大吕 | | 7 | MCP开发进阶 | 进行中 | 钟永麟 | | 8 | 基于MCP Server的IDE应用实战 | 进行中 | - | | 9 | 基于MCP Server的生活类智能体应用 | 进行中 | - | | 10 | 基于MCP Server的个人效率智能体应用 | 进行中 | - | | 11 | 基于MCP Server的办公效率智能体应用 | 进行中 | - |
致谢
核心贡献者
- 胡锐锋-项目负责人 (Datawhale成员-华东交通大学-系统架构设计师)
其他
阅读提示
第7.2.2节 MCP Server的上线发布
-
请登录PyPI官方网站注册账号。
-
访问PyPI官网-我的账户创建API token。
-
在项目根目录下执行以下命令,进行项目打包和上传发布,需要使用到API token:
python -m build
python -m twine upload dist/*
关注我们
<div align=center> <p>扫描下方二维码关注公众号:Datawhale</p> <img src="https://raw.githubusercontent.com/datawhalechina/pumpkin-book/master/res/qrcode.jpeg" width = "180" height = "180"> </div>Related Skills
Agent-Reach
84.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.4kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
career-ops
72.4kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
