
Kontra Mcp
io.github.bluwork由 GitHub 帳號 bluwork 發布v0.1.2更新於 Oct 24, 2026
The Tenth Man Protocol — structured contrarian analysis for decision-makers via MCP
概覽
一個本機 MCP 伺服器,回傳結構化的反向分析提示,用四種模式對決策、計畫或結論進行壓力測試。
- 可以做什麼
- 分析決策、計畫或結論:回傳一段對抗性提示,交由用戶端自身的模型作答,可附上背景資訊並選擇模式(counter、probe、redteam、premortem)。
- 適用情境
- 適合在重大、難以逆轉或已啟動的決策前使用,例如架構選型、策略轉向、發布、遷移、招聘計畫,需要反面論證、尖銳提問、失敗情境或事前檢討時。
- 執行需求
- 透過 stdio 在本機執行,通常以 npx 啟動 kontra-mcp 這個 npm 套件,因此需要 Node.js。不需 API 金鑰或帳號,使用 MCP 用戶端既有的模型。可選環境變數 KONTRA_DEFAULT_MODE 和 KONTRA_LOG_LEVEL。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kontra Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Kontra
The Tenth Man Protocol
"If nine agree, I disagree."
An MCP tool that stress-tests your decisions with structured contrarian analysis — so blind spots surface before consequences do.
What You Get
You say:
"Use kontra to challenge this: We should rewrite our backend from Node.js to Rust. Context: Current stack is Node.js, team of 3, shipping weekly."
Kontra returns:
BLIND SPOTS
-
You're measuring the cost of rewriting but not the cost of pausing. A team of 3 shipping weekly has momentum. The rewrite doesn't just cost engineering hours — it costs 3-6 months of feature development, customer feedback loops, and market positioning that your competitors won't pause for.
-
Rust's safety guarantees solve problems you may not have. If your Node.js backend isn't failing due to memory bugs or concurrency issues, you're optimizing for a class of problems that isn't hurting you. The rewrite is a solution — what's the problem it solves that your team is actually experiencing?
-
The team's Rust proficiency is unproven at production scale. Writing Rust that compiles is not the same as writing Rust that ships. Borrow checker fluency, async runtime decisions (Tokio vs. async-std), ecosystem maturity for your specific domain — these are all unknowns that compound under deadline pressure.
HIDDEN ASSUMPTIONS
...
THE STRONGEST COUNTER-ARGUMENT
...
WHAT-IF SCENARIOS
...
That's counter mode — the default. There are three more.
Quick Start
Claude Code
Then ask: "Use kontra to analyze my decision to..."
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Cursor / VS Code
Add to your MCP settings:
Modes
counter — The Tenth Man
"Consensus is never to be mistaken for correctness."
The default. Assumes your decision is wrong and builds the strongest possible case against it.
Produces: Blind Spots, Hidden Assumptions, The Strongest Counter-Argument, What-If Scenarios
Best for: Major decisions where you need someone to steelman the opposing side. Architecture choices, strategy pivots, hiring plans, product bets.
probe — The Interrogator
"A good question does more damage to a bad decision than any argument ever could."
Asks 7-10 pointed questions across five lenses — no answers, no analysis, just the questions you haven't asked yourself.
Produces: Questions across Motivation, Evidence, Alternatives, Stakes, and Timing
Best for: Early-stage decisions where you suspect your reasoning has gaps but aren't sure where. Forces you to confront what you've skipped over.
redteam — The Red Team Commander
"Think like an adversary — not a hypothetical one, but a specific, intelligent opponent who wants this decision to fail."
Constructs 3-5 concrete failure scenarios with likelihood ratings, trigger events, cascade sequences, early warning signs, and mitigations.
Produces: Ranked failure scenarios with likelihood estimates, plus an Overall Vulnerability Assessment (1-10 scale)
Best for: Plans that are already in motion. Launch timelines, migration strategies, organizational changes — anything where you need to know exactly how it breaks.
premortem — The Postmortem From the Future
"Prospective hindsight increases the ability to identify reasons for future outcomes by 30%."
Imagines the decision was made 12 months ago and failed catastrophically. Writes the full postmortem.
Produces: Executive Summary, What Happened (Failure Narrative), Timeline, Root Causes, Signals We Missed, Lessons Learned
Best for: High-stakes, hard-to-reverse decisions. Useful when the team is confident and you need to break the spell of inevitability.
Usage
Counter a strategy decision:
"Use kontra to challenge this: We're going all-in on AI agents for our product roadmap."
Probe a career move:
"Use kontra in probe mode to question my decision to leave my job and start a SaaS company. Context: I have 8 months of runway, no co-founder, and a B2B idea with 3 LOIs."
Red team a launch plan:
"Use kontra in redteam mode against our plan to launch in 6 weeks. Context: We have no staging environment, 40% test coverage, and one DevOps engineer."
Pre-mortem a hiring decision:
"Use kontra in premortem mode on: We're hiring 5 junior engineers instead of 2 seniors. Context: Current team is 4 seniors, shipping velocity is the bottleneck."
Tool Parameters
What This Is NOT
- Not a pros-and-cons generator. Kontra doesn't weigh both sides. It attacks one side — yours — with full force.
- Not a risk assessment framework. No probability matrices or color-coded dashboards. Structured argumentation, not bureaucratic process.
- Not a generic "be careful" warning. Every output is specific to your decision and context. No boilerplate applies-to-anything advice.
- Not a replacement for human judgment. Kontra surfaces what you might miss. You still decide.
How It Works
Kontra uses the prompt-return pattern. When called, it constructs a carefully engineered adversarial prompt and returns it as the tool response. Your MCP client's own LLM processes the prompt and produces the analysis.
- No API keys needed — uses your client's existing LLM
- No additional network calls — prompt is returned, not executed
- Works with any MCP client — Claude Desktop, Claude Code, Cursor, VS Code
Analysis quality scales with model capability. Stronger models produce sharper, more specific contrarian analysis.
Configuration
License
Apache-2.0
來源:README.md,提交 c2399c2
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分