Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Multi-party decisions for agents: red lines rejected in code, max-min pick, SHA-256 receipt. Stdlib.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"parley": {
"command": "uvx",
"args": [
"parley-consensus"
]
}
}
}在终端中运行这条命令
claude mcp add parley -- uvx parley-consensus粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"parley": {
"command": "uvx",
"args": [
"parley-consensus"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"parley": {
"type": "stdio",
"command": "uvx",
"args": [
"parley-consensus"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 5uper0 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.0)于35天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Agent Data Tools: Utilities
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
103 tools: JSON repair, CSV, hashes, cron, dates, units, validators. 25 free calls.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Give each party's agent a private red line. Parley picks the option that crosses nobody's line and lifts the least-happy party, and every owner can check on their own machine that their limit held. Nobody shows their sheet, not even to the coordinator.
Red lines are code, not prompts · multilateral (N>2) · non-crypto · self-hosted · zero-dependency Python · Apache-2.0.
[Try it live](https://parleyprotocol.com/demo/) · [See it in 30 seconds](#see-it-in-30-seconds) · Roadmap · Changelog · Security · Contributing · Español: herencia entre hermanos · Español: ¿unanimidad para vender? · English: do all heirs have to agree to sell a flat in Spain? · Ukrainian
Rival parties reach a max-min decision · a shortcut that would cheat someone is BLOCKED by a red line · every party verifies the tamper-evident receipt.
Works from an MCP host (Claude, Cursor) and from OpenAI Agents SDK, smolagents and LangGraph: the three recipes return the same receipt hash for the same decision.
pip install parley-consensus # zero-dependency core
pip install "parley-consensus[crypto]" # + Ed25519-signed verdicts
The distribution is parley-consensus (PyPI's parley is an unrelated project); the import name is parley.
/plugin marketplace add 5uper0/parley
/plugin install parley@parley
This registers the parley-mcp stdio server, launched with uvx --from parley-consensus parley-mcp, so uv must be installed.
from parley.agent import Agent
from parley.consensus import run_consensus from parley.preferences import HardConstraint, PreferenceSheet
options = [ {"venue": "rooftop", "cost": 900}, {"venue": "garden", "cost": 600}, {"venue": "diner", "cost": 300}, ] ana = PreferenceSheet( "Ana", utility=lambda o: 1.0 if o["venue"] == "rooftop" else 0.4)
bob = PreferenceSheet( "Bob", hard=[HardConstraint("budget", lambda o: o["cost"] <= 700)], utility=lambda o: 1 - o["cost"] / 1000) cara = PreferenceSheet( "Cara", utility=lambda o: 0.9 if o["venue"] == "garden" else 0.5)
agents = [Agent(s.owner, s) for s in (ana, bob, cara)] result = run_consensus(agents, options) print(result.status, result.decision) print("receipt sha256:", result.transcript.hash())
for sheet in (ana, bob, cara): ok = result.transcript.verify_non_betrayal(sheet, result.decision) print(sheet.owner, "not betrayed:", ok)
agreed {'venue': 'garden', 'cost': 600} receipt sha256: 30483303e4d94e22833161d9bb8c292c0effff88c3303d7e195e57d49c88f516 Ana not betrayed: True Bob not betrayed: True Cara not betrayed: True
The hash above is what version 0.2.1 and later print: a rejected option's score is reported as 0. Version 0.2.0 prints a9cb75c0... for the same snippet; the decision and the verdicts are identical.
The rooftop is Ana's favourite and loses anyway: it crosses Bob's budget red line, so it is rejected before any score is weighed. The coordinator only ever saw red-line, never the budget or the sheet.
Contributors install from a clone instead: pip install -e ".[dev]" (see Status).
The base install ships a stdlib-only MCP server over stdio. Point your host at it:
{"mcpServers": {"parley": {"command": "parley-mcp"}}}
If the console script is not on the host's PATH, launch it through the interpreter that has the package: {"command": "python", "args": ["-m", "parley.mcp"]}.
The server speaks both MCP eras: hosts on the 2026-07-28 revision (no initialize, version and capabilities in each request's _meta, server/discover for discovery) are served statelessly, and hosts on 2025-11-25 or earlier get the usual initialize handshake. Same tools, same receipt hash on both.
Three tools appear: parley_decide (options + each party's red lines and preferences in, status, decision, transcript and transcript_sha256 out), parley_verify_receipt (recompute the hash over a transcript, and recompute the max-min decision from its recorded verdicts) and parley_check_party (replay one party's red lines against a decision). To check what parley_decide returned, pass its transcript and transcript_sha256 to parley_verify_receipt: scripts/verify-receipt.py reads the receipt file examples/real_decision.py writes, not the parley_decide result, and rejects it. The input is the same JSON as the recipes in examples/demo/, passed under one spec key. If you call the tools yourself instead of through a host, the three calls look like this (arguments of tools/call):
{"name": "parley_decide",
"arguments": {"spec": {"title": "...", "options": [...], "parties": [...]}}} {"name": "parley_verify_receipt", "arguments": {"transcript": {...}, "sha256": " "}} {"name": "parley_check_party", "arguments": {"party": {"owner": "Bob", "hard": [...], "utility": [...]}, "decision": {...}}}
The result of parley_decide is not a receipt file for scripts/verify-receipt.py; check it with parley_verify_receipt. Example prompt:
Three of us are picking a venue: rooftop (900), garden (600), diner (300). Bob will not go over
700; Ana prefers the rooftop, Cara the garden, Bob the cheapest. Use parley_decide, then verify
the receipt hash and check that Bob's red line held.
What this mode does and does not give you. The host holds every party's spec and passes them all in one call, so there is no privacy between parties or from the host. What still holds is what the engine enforces in code: a red line rejects an option deterministically, the max-min rule picks among options feasible for everyone, and the receipt hash makes any later edit to the transcript visible, provided the hash is kept by someone other than whoever might edit the transcript: it is unsigned and the server does not store it, so a hash and a transcript from the same hand prove nothing about each other. max_min_verified does not depend on the hash: it recomputes the winner from the recorded verdicts. For private sheets, run one process per owner over HTTP (examples/run_env.py); the coordinator then sees only masked verdicts.
Most agent tooling in 2026 solves either transport/identity (A2A, MCP) or 1:1 agentic commerce (an agent buys/books for you), or *cooperative* debate between agents of the same owner. Parley targets the gap nobody productised: a group of delegates, each representing a different principal with conflicting and private interests, reaching a decision everyone can trust, and *prove* their agent didn't betray them.
Who it's for. Teams and platforms where several parties must reach a decision that crosses none of their red lines, and each can prove that afterward. Built first for regulated, multi-party workflows: compliance & onboarding decisions (KYC/AML, sanctions red lines), marketplace & P2P disputes, and delegated governance (committees, panels).
The wedge is three properties, enforced in code rather than left to an LLM's discretion:
ok/red-line), never the private sheets or which constraint was at stake. A decision must be feasible for *every* agent; among those it picks by an egalitarian max-min rule (lift the least-happy participant), tie-broken by total welfare, social choice, not majority vote. No feasible option ⇒ honest deadlock.Agents are starting to act on our behalf: booking, negotiating, onboarding, allocating. The moment two agents serve different owners, "did my agent sell me out?" stops being paranoia and becomes a real question. The crypto answer to agent-trust (put it on a chain, add a token) collapsed 89–99.7%; the durable need is the trust primitive itself, decoupled from tokens.
AI that can't lie, and you can check. The 2026 agent-hype cycle proved virality can be
fully decoupled from truth. Parley is the provable version: every verdict in a parley is a
re-hashable receipt, and each owner replays their own private sheet to prove no red line was
crossed, no trust required, just the check.
Building the v0 taught us the wedge is narrower and sharper than "multi-agent consensus": the value isn't the vote, voting is free (Snapshot, polls). The value is provable non-betrayal under conflicting private interests, that no party had to reveal their private sheet or which red line was at stake, no red line could be traded away, and everyone can check the receipt themselves. That's what doesn't compose from off-the-shelf parts, and it's the one thing we made enforceable in code rather than left to an LLM's goodwill. The worked proof: docs/dogfood-01-p2p-escrow.md.
Read from each project's own public description on 2026-10-25; they are different tools for different jobs, and some are complements.
| Neighbour | What it does | What Parley adds |
|---|---|---|
| MPAC (arXiv, April 2026) | Lets agents of independent principals coordinate over shared state: declared intents, structured conflicts, human arbitration | A decision rule over private limits: red lines as code, max-min over masked verdicts, local replay. The MPAC abstract does not describe private preferences, masking or verifiable transcripts |
| Legal Context Protocol (American Arbitration Association and partners, launched 2026-06-24) | Makes legal terms, consent and dispute resolution discoverable and verifiable when agents transact | The decision before any dispute: LCP covers terms and recourse, Parley reaches the choice among options. A complement |
| Acuerdio (Spa
只显示了开头部分;其余内容请在仓库中阅读