Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
Fetch YApi JSON API docs from a project URL for agent client integration.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
YAPI_BASE_URL, YAPI_TOKEN, YAPI_UIDValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"yapi": {
"command": "uvx",
"args": [
"contextdong-yapi-mcp"
],
"env": {
"YAPI_BASE_URL": "your-value",
"YAPI_TOKEN": "your-value",
"YAPI_UID": "your-value"
}
}
}
}Run this in your terminal
claude mcp add yapi --env YAPI_BASE_URL=your-value --env YAPI_TOKEN=your-value --env YAPI_UID=your-value -- uvx contextdong-yapi-mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"yapi": {
"command": "uvx",
"args": [
"contextdong-yapi-mcp"
],
"env": {
"YAPI_BASE_URL": "your-value",
"YAPI_TOKEN": "your-value",
"YAPI_UID": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"yapi": {
"type": "stdio",
"command": "uvx",
"args": [
"contextdong-yapi-mcp"
],
"env": {
"YAPI_BASE_URL": "your-value",
"YAPI_TOKEN": "your-value",
"YAPI_UID": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
YAPI_BASE_URL envYAPI_UID envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified with the GitHub account ContextDong, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: YAPI_TOKEN
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.1.0) reached the registry 4 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Spec Driven Development, Remote Desktop Commander, HotCodePush
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Manage over-the-air (OTA) updates for React Native, Expo, Capacitor and Cordova apps.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
从粘贴的 YApi 项目地址拉取接口文档(JSON 请求 / JSON 响应),供编码 Agent 自动理解并对接客户端项目的 MCP Server。
English
base_url / project_id / interface_id_yapi_token + _yapi_uid)或项目 open token.env、.yapi-mcp.json、运行时 yapi_configure、或工具参数{
"mcpServers": { "yapi": { "command": "uvx", "args": ["--from", "contextdong-yapi-mcp", "yapi-mcp"], "env": { "YAPI_BASE_URL": "https://yapi.example.com", "YAPI_TOKEN": "YOUR_LOGIN_JWT_OR_PROJECT_OPEN_TOKEN" } } } }
从 Git 安装(不经 PyPI):
{
"mcpServers": { "yapi": { "command": "uvx", "args": [ "--from", "git+https://github.com/ContextDong/Yapi-Mcp", "yapi-mcp" ], "env": { "YAPI_BASE_URL": "https://yapi.example.com", "YAPI_TOKEN": "YOUR_TOKEN" } } } }
或使用 pip:
pip install contextdong-yapi-mcp
优先级从高到低:
token、base_url)yapi_configure(仅当前 MCP 进程内存).env(YAPI_BASE_URL、YAPI_TOKEN、YAPI_UID、YAPI_COOKIE).yapi-mcp.json,或 YAPI_MCP_CONFIG 指向的路径示例:
cp .env.example .env
cp .yapi-mcp.example.json .yapi-mcp.json
| 变量 | 说明 |
|---|---|
YAPI_BASE_URL | YApi 主机,如 https://yapi.example.com |
YAPI_TOKEN | 登录 JWT 或 项目 open token |
YAPI_UID | 可选;登录 JWT 一般会自动解析 uid |
YAPI_COOKIE | 可选;原始 Cookie 头覆盖 |
YAPI_MCP_CONFIG | 可选;JSON 配置文件路径 |
切勿提交 .env、.yapi-mcp.json 或真实 token。
| 工具 | 用途 |
|---|---|
yapi_configure / yapi_get_config | 动态配置 / 查看非敏感配置 |
yapi_parse_url | 从页面 URL 解析主机与 id |
yapi_get_project | 项目元信息 |
yapi_list_interfaces | 可搜索的接口索引 |
yapi_get_interface | 单个接口完整 JSON 定义(便于写客户端) |
yapi_export_catalog | 导出目录(可选详情) |
在对话中粘贴项目地址:
根据 https://yapi.example.com/project/123/interface/api/ 对接登录相关接口
Agent 应先配置凭证(如需要),再列表 / 拉详情,最后按目标工程现有风格实现客户端。
可选 Skill:.cursor/skills/yapi-api-client/SKILL.md
python -m pip install -e ".[dev]"
python -m pytest python -m yapi_mcp.server
io.github.ContextDong/yapi-mcpcontextdong-yapi-mcp(uvx / 命令 yapi-mcp)yapi-mcp 在 PyPI 上已被其他项目占用MIT