Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Local-first control plane for coding agents: routing, reservations, and guardrails.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"polis-protocol": {
"command": "uvx",
"args": [
"polis-protocol",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add polis-protocol -- uvx polis-protocol mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"polis-protocol": {
"command": "uvx",
"args": [
"polis-protocol",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"polis-protocol": {
"type": "stdio",
"command": "uvx",
"args": [
"polis-protocol",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 yehudalevy-collab 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.0.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, SwarmMemo
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The local-first control plane for coding agents. Run Claude, Codex, Gemini, and Cursor against one repo — each claimed contract records an owner, agents can record evidence, and shared lessons help reduce repeated failures. Plain markdown, in git, across every vendor.
🌐 Website → [polis-protocol.ymlsora.chatgpt.site](https://polis-protocol.ymlsora.chatgpt.site) · Install · Proof · Plug into your agent (MCP)
Synthetic simulation: repeat errors 65% → 7% · Advisory overlap conflicts detected · reproduce in 5s: polis bench --mode learning
Modeled run with synthetic tasks and seed 0 — assumptions and limitations are published below.
uvx polis-protocol init # one command · no server · no database · just markdown in your repo
Shared by Claude · Codex · Gemini · Cursor , all reading one _polis/ folder. MIT.
⭐ If the loop below clicks, a star helps other multi-agent builders find this.
Three AI agents share one project: Claude (research), Codex (frontend), Gemini (translation).
A Spanish-translation task comes in. Who gets it?
Early on, Claude did — it rated itself highly. But two finished contracts and one lesson later (*"the corporate word 'líder' reads wrong here; use the movement loan-word 'madrij'"*), the router quietly moved that work to Gemini. Nobody reassigned it. The team learned, and the routing followed.
That loop — work routed by track record, track record updated by outcomes — is the entire point. See it yourself in one command, no install, no API keys:
git clone https://github.com/ymxlx/polis-protocol.git
cd polis-protocol && bash scripts/demo.sh
Score breakdown (sorted by total): gemini-translator-pesaj total=0.688 hist=0.25 self=1.00 cost=1.00 avail=1.00 lessons=+0.10 ↳ lessons applied: 2026-04-18-madrij-not-lider claude-research-pesaj total=0.453 hist=0.15 self=0.60 cost=1.00 avail=1.00 lessons=+0.00 codex-frontend-pesaj total=0.290 hist=0.00 self=0.20 cost=1.00 avail=1.00 lessons=+0.00
Recommendation: gemini-translator-pesaj ← won on history + an applied lesson, not self-rating
If that loop is interesting to you, a ⭐ genuinely helps other multi-agent builders find this.
There is now a wave of git-and-markdown task boards for AI agents — claim a task, do it, mark it done. They're good, and Polis can write to them. But a board is passive: it records what happened and never gets smarter. The protocol is frozen the day it ships.
Polis adds an active coordination layer to the shared record:
chronicle.md. *(Every board does this.)*A board is something you fill in. Polis is a team that develops. It learns who's best, and it can rewrite its own rules.
The whole thing lives in a folder. There is no central server, no required runtime, no proprietary format. If a tool can read and write markdown, it can participate.
If you are wondering how Polis compares with AGENTS.md, CrewAI, LangGraph, hcom, SwarmClaw, or agent memory systems, see docs/comparisons.md.
A *polis* is a small Greek city — a few thousand people who all know each other and run their own affairs. The metaphor maps cleanly:
| Polis | Polis Protocol |
|---|---|
| Citizen | An AI agent from any vendor |
| Capability card | A content-hashed YAML manifest of what an agent can do |
| Contract | A structured task with intent, assignment, and settlement |
| Chronicle | An append-only event log every citizen reads on session start |
| Lesson | A retrospective filed by capability tag |
| Chavruta | A paired critique by a citizen from a different vendor before a high-stakes action |
| Amendment | A vote-ratified change to the constitution |
It is opinionated on purpose. The names are sticky, the file format is rigid, the chronicle line shape is non-negotiable. Rigidity at the protocol layer is what lets four different vendors' models read the same folder and agree on what they're looking at.
From the root of any project:
# zero-install, one command
uvx polis-protocol init
pipx install polis-protocol # isolated pip install polis-protocol # into the current env
init scaffolds _polis/, writes bridge files for Claude/Codex/Gemini, and registers you as a citizen. Pass an identity when you want one:
uvx polis-protocol init \
--agent-id claude-research-yourproject \ --vendor anthropic --model claude-opus-4-7 --tool "claude code"
Preview the scaffold without writing files using --dry-run. Re-running is non-destructive; polis init --repair restores any missing managed files. (Hacking on the protocol itself? git clone + python scripts/init_polis.py still works.)
You now have:
your-project/
├── CLAUDE.md / AGENTS.md / GEMINI.md / AIDER.md ← cross-tool entry pointers ├── .agents/skills/polis-protocol/SKILL.md ← skill mirror (Codex and Antigravity both read this) └── _polis/ ├── CONSTITUTION.md ← canonical protocol ├── README.md ├── index.md ← "where things stand" ├── chronicle.md ← append-only event log ├── citizens/ / ← capability_card, status, inbox, journal └── contracts/ ├── open/ ← active tasks ├── settled/ ← closed tasks with lessons └── routing_stats.yml ← learned routing policy
polis contract open --title "Literature review" \
--tags long-context-reading,source-checking --by claude-research-yourproject
Or drop a file in _polis/contracts/open/ by hand — it's just markdown:
---
contract_id: literature-review opened_by: claude-research-yourproject status: proposed stakes: medium required_tags: [long-context-reading, source-checking] cost_ceiling: medium
...
polis route --polis-root _polis \
--contract _polis/contracts/open/literature-review.md --explain
Output:
Score breakdown:
claude-research-yourproject total=0.430 hist=0.00 self=0.90 cost=1.00 avail=1.00 lessons=+0.00 codex-frontend-yourproject total=0.350 hist=0.00 self=0.50 cost=1.00 avail=1.00 lessons=+0.00
Recommendation: claude-research-yourproject
polis contract settle literature-review --quality 5 --minutes 90
polis reconcile --polis-root _polis
The bandit's routing_stats.yml updates, and any lesson the owner files under _polis/lessons/ / can carry a bounded routing_effect that the router reads — and names in --explain — on the next similar contract. Failures can become polis guardrail add … entries that future contracts on those tags inherit as must-pass acceptance criteria.
polis reserve src/auth --as claude-research-yourproject --note "refactoring login"
polis release src/auth --as claude-research-yourproject
Reservations are advisory coordination recorded in shared state. They are not filesystem locks, a security boundary, or a guarantee against races from tools that do not participate in Polis.
Every polis is also an MCP server — polis mcp speaks MCP over stdio with zero extra dependencies. It exposes the whole lifecycle as tools (status, open / route / claim / settle / abandon, context packets, reserve / release, guardrails) plus read-only resources (polis://state, polis://replay, polis://replay/redacted, polis://constitution):
# Claude Code
claude mcp add polis -- uvx --from polis-protocol polis mcp
uvx, args --from polis-protocol polis mcp--polis-root /path/to/_polis)
Agents that can't shell out to a CLI can now open contracts, get an explainable routing recommendation, reserve files, and settle with evidence — through the same shared application layer the CLI and dashboard use. Nothing ever hand-edits _polis/ files.
polis bench ships in the box — we benchmarked our own claims instead of asserting them:
polis bench --mode learning.polis reserve rejects overlapping claims and names the holder when every participant uses the same shared state. Reservations are not filesystem locks or race prevention.polis bench). Polis's edge is learning *without having to trust the cards*, a transparent reason for every pick, and the coordination layer the baselines lack.Every citizen publishes one file: _polis/citizens/ /capability_card.yml. Vendor, model, languages, capability tags with self-ratings, cost envelope, latency envelope, standing instructions, signature. The card is the polis's answer to "who can do
只显示了开头部分;其余内容请在仓库中阅读