Consensus MCPサーバー
コミット 2026年9月6日開発計画をチームのメモリや既存のデザインと照合して検証し、アーキテクチャの競合を防ぐことで、AIコーディングエージェントを調整します。
別名 masterblaster14/Consensus
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.1.0
- 最終コミット
- 2026年9月6日
- ライセンス
- MIT
Consensus MCPとは
開発計画をチームのメモリや既存のデザインと照合して検証し、アーキテクチャの競合を防ぐことで、AIコーディングエージェントを調整します。
プロジェクトのREADMEから生成された概要
Consensus MCP server について
Consensusは、複数の開発者が単一のコードベースでAIコーディングエージェントを使用するエンジニアリングチームのための、調整レイヤーとして機能します。エージェントがコードを書く前にその意図を宣言することを求めることで、アーキテクチャの競合を防ぎます。サーバーはこれらの計画をアクティブなタスクや既存のチーム知識と比較し、「続行」、「コンテキストを伴う続行」、または「待機」という判定を下します。このプロセスにより、従来のバージョン管理では見逃される可能性のある、互換性のないデザインを回避できます。
開発者は、MCP設定を通じて個人のAPIキーを提供することで、Claude Code、Cursor、Windsurfなどのエージェントを接続できます。サーバーは、ワークフローを管理するために declare_intent、query_memory、write_memory といった特定のツールを提供します。これは共有メモリバンクとして機能し、エージェントが発見事項や決定事項を記録することで、あるエージェントの学習内容をチームの他のメンバーが利用できるようにします。なお、サーバー自体が実際のソースコードを読み取ったり、書き込んだり、実行したりすることはありません。
できること
- 1アーキテクチャ設計の競合防止提案された認証の変更が、既存のセッション管理ロジックと競合しないかAIに確認させます。
- 2チームの共有知識の維持エージェントに特定の技術的な発見を記録させ、後で他の開発者のエージェントがそれにアクセスできるようにします。
- 3プルリクエストドキュメントの自動化何が変更され、どのような前提条件が置かれたのかを詳細に記したハンドオフレポートを生成するようエージェントに指示します。
- 4人間によるアーキテクチャ決定の強制手動による判定を利用して、将来のすべてのAI計画がデザインの競合に対する特定の解決策に従うようにします。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Consensus MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにConsensus MCPをインストール
$ claude mcp add --transport http consensus https://consensus-production-aed6.up.railway.app/mcpCursorにConsensus MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"consensus": {
"url": "https://consensus-production-aed6.up.railway.app/mcp"
}
}
}VS CodeにConsensus MCPをインストール
.vscode/mcp.json
{
"servers": {
"consensus": {
"type": "http",
"url": "https://consensus-production-aed6.up.railway.app/mcp"
}
}
}VS Code CLIにConsensus MCPをインストール
$ code --add-mcp '{"name":"consensus","type":"http","url":"https://consensus-production-aed6.up.railway.app/mcp"}'CodexにConsensus MCPをインストール
$ codex mcp add consensus --url https://consensus-production-aed6.up.railway.app/mcpCodex config.tomlにConsensus MCPをインストール
~/.codex/config.toml
[mcp_servers.consensus] url = "https://consensus-production-aed6.up.railway.app/mcp"
Gemini CLIにConsensus MCPをインストール
$ gemini mcp add -s user --transport http consensus https://consensus-production-aed6.up.railway.app/mcpGemini settings.jsonにConsensus MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"consensus": {
"url": "https://consensus-production-aed6.up.railway.app/mcp",
"type": "http"
}
}
}設定
CONSENSUS_API_KEY
| 名前 | 説明 | 種類 |
|---|---|---|
| CONSENSUS_API_KEY | — |
自動チェック
実行日 2026年11月15日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能masterblaster14/consensus is public and reachablegithub.com/masterblaster14/consensus ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-09-06github.com/masterblaster14/consensus ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答Endpoint did not answer initialize: HTTP 404検出事項
README
GitHubで見るConsensus
Coordination for teams whose developers each run an AI coding agent on the same codebase.
Before an agent writes code, it declares its plan. Consensus checks that plan against every other plan in flight and against what the team already knows, and answers in a second: proceed, proceed with context, or wait.
Why
AI coding agents are fast and they work alone. On a team that produces two problems git cannot see:
- Design conflicts in files that never touch. One agent moves sessions to signed tokens; another adds a login endpoint that assumes server-side sessions. No merge conflict. Two incompatible designs discovered days later in review.
- Every agent starts from zero. The same code gets re-read, the same dead ends get re-tried, and nothing one agent learns reaches the next.
What it does
- Declare before writing. Plans are compared on what they mean, not which files they touch. Conflicts are caught before the code exists.
- Shared memory. Agents ask what the team knows before reading the codebase, and record discoveries, decisions and dead ends as they work.
- Human rulings that compound. When two plans genuinely conflict, a person decides once. The ruling is stored and applied automatically to every future plan that would raise the same conflict.
- Clean handoffs. When work is done, the agent files what changed, what it left alone, and what it assumed. That becomes the pull request.
Consensus never reads, writes, executes or merges code.
How it works
- One language-model call extracts a plan's stance: the concepts it touches and its positions on error handling, authentication, data access and API shape. Unaddressed axes stay empty; nothing is guessed.
- The nearest open plans and memory entries are retrieved by vector search.
- Plans are compared deterministically. Shared concept plus disagreeing positions is a clash. Same inputs, same answer, every input logged.
- A hard clash is checked against prior rulings before any human is asked.
Full detail: How it works.
Connecting an agent
Consensus is an MCP server. Each developer creates a personal API key (settings page, or POST /api/me/api-keys) and connects their coding agent to it.
Claude Code, with the guardrail (recommended). The plugin adds the server, a skill that teaches the workflow, and a hook that refuses Edit/Write until the plan is declared and the verdict allows it:
export CONSENSUS_API_KEY="csk_..." # CONSENSUS_URL defaults to the hosted instance
claude plugin marketplace add masterblaster14/Consensus
claude plugin install consensus@consensus
Claude Code, server only:
claude mcp add --transport http consensus https://consensus-production-aed6.up.railway.app/mcp --header "Authorization: Bearer csk_..."
Cursor, Windsurf, any MCP client. Add to the client's MCP config:
{ "mcpServers": { "consensus": { "url": "https://consensus-production-aed6.up.railway.app/mcp", "headers": { "Authorization": "Bearer csk_..." } } } }
Listed in the MCP Registry as io.github.masterblaster14/consensus, so registry-aware clients can find it by name.
Everything an agent does is attributed to the developer who owns the key. The tools: declare_intent, check_verdict, query_memory, write_memory, file_handoff, withdraw_claim, get_status, report_usage.
Teams and integrations
- Sign in with GitHub or an email link. The first person to create an organisation is its admin; others join by invite link or by email domain.
- One shared live board per repository.
- GitHub: handoffs open pull requests, rulings become PR comments, merged PRs retire their plans.
- Notion: tasks sync in, decisions and rulings mirror out.
Hosted instance: https://consensus-production-aed6.up.railway.app (API docs at /docs, live board at /board).
Running it
Python 3.11, PostgreSQL with pgvector, Redis. Docker Compose for the databases. Offline mode needs no API keys.
docker compose up -d
.venv/Scripts/python -m alembic upgrade head
.venv/Scripts/python -m scripts.seed_demo
.venv/Scripts/python -m uvicorn app.main:app --port 8000
Or the whole stack in containers: docker compose --profile full up -d --build.
Setup details, configuration and the full API: Backend reference. Hosting it: Deploying (Render blueprint, Railway, Fly, or any Docker host).
License
MIT. See LICENSE.
Documentation
Consensus MCPのよくある質問
Consensus MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http consensus https://consensus-production-aed6.up.railway.app/mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Consensus MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
Consensusはコードの書き込みや実行を行いますか?
いいえ、このサーバーは調整専用であり、コードに直接干渉することはありません。
コーディングエージェントをConsensusに接続するにはどうすればよいですか?
Claude Codeプラグインを使用してAPIキー経由で接続するか、CursorやWindsurfなどのクライアントのMCP設定にサーバーURLとAuthorizationヘッダーを追加することで接続できます。
デザインの競合はどのように処理されますか?
サーバーはエージェントの計画を他のアクティブな計画やチームのメモリと比較します。競合が見つかった場合は人間が解決することができ、その決定は将来の計画に適用されます。