kontra
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kontra mode on. Should we use Rust or Go for our backend?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kontra
The best ideas are forged under challenge. People know this: we argue, we push back, and what survives is sharper. An AI chat skips that step. It thinks on its own and tends to agree with you. Kontra puts the challenge back in. The moment you prompt, one or more AI debaters take the other side and argue it out with your assistant, so the answer you get has already been tested.
It runs as an MCP server. You bring your own API keys.
How it works
You turn on kontra mode and ask a question.
Your assistant writes its position and sends it to the debaters.
Each debater replies in character with a stance and either "keep going" or "settled".
After each round your assistant recaps where each side stands, answers the challenge, and runs another round, until the debate settles.
Your assistant replies with a short, structured rundown: the positions and their strongest arguments, where the debate lands, and a recommendation.
The debate runs for as many rounds as it needs. A round limit stops it from running forever.
Related MCP server: brainstorm-mcp
Install
Easiest: one click (Claude Desktop)
No Node, no config files, no terminal.
Download
kontra.mcpbfrom the latest release.Open Claude Desktop, go to Settings, then Extensions.
Drag
kontra.mcpbinto the window (or double-click the file).Paste your API key into the box when asked, and turn it on.
Claude Desktop bundles everything and stores your key in your operating system's secure storage.
Other MCP clients (Claude Code, Cursor, and more)
Kontra is a standard MCP server, so it works in any MCP client. You need Node 18 or newer. Add this server entry to the client's MCP config, then restart the client:
{
"mcpServers": {
"kontra": {
"command": "npx",
"args": ["-y", "mcp-kontra"],
"env": { "ANTHROPIC_API_KEY": "sk-ant-..." }
}
}
}Where each client keeps that config:
Client | Config |
Claude Code |
|
Cursor |
|
Claude Desktop (manual) | Settings, then Developer, then Edit Config |
Windsurf, Cline, and others | that client's MCP settings file |
Some clients (such as VS Code's built-in MCP support) use a servers key instead of mcpServers. The command, args, and env are the same.
You start with one debater: a ruthless contrarian on Claude Opus 4.8.
Your API keys
Kontra never takes a key through the chat. It reads keys only from environment variables, set one of two ways:
One-click install: type the key into the secure form. It is stored by your operating system, not in a file.
Other clients: put the key in the
envblock of the server entry above.
A few notes:
You only need a key for the providers your debaters actually use. By default that is just Anthropic (Claude), so you are asked for one key, not three.
If a key is missing, Kontra tells your assistant which single key to add, and your assistant asks you for it in the chat.
Do not commit a config file that contains a real key.
After adding or changing a key, restart the client.
Use it
Say "kontra mode on" and ask a question. To change the debate, just ask in plain words, and your setup is saved until you change it. You can set the personas, the number of debaters (up to 5), each debater's provider and model, and the round limit (up to 12).
Examples
Real prompts, from quick gut-checks to bigger calls. Use the default challenger, or set up your own panel.
Product and engineering
kontra mode on. Planning to fix the slow dashboard with a 60-second cache. Before I build it, what am I missing?
kontra mode on. Going to mark this flaky test as skipped so CI stops blocking the team. Talk me out of it.
Commercial
kontra mode on. A customer about to churn asked for 20% off to stay, and I want to say yes. Argue the other side.
kontra mode on. Have a skeptical CFO and a growth-minded sales lead argue it out: should we offer net-60 terms to land a big deal?
Personal
kontra mode on. About to sign a 12-month lease at 40% of my take-home. Push back before I commit.
kontra mode on. Here's the message I drafted to a friend who keeps cancelling on me. What will I wish I'd changed?
Providers
Pick any debater's provider. Set the matching key (in the one-click form, or as an env var).
Provider | API key | Example models |
anthropic |
| claude-opus-4-8 (default), claude-sonnet-4-6 |
openai |
| gpt-5.5 (default), gpt-5.4-mini |
| gemini-3.5-flash (default), gemini-2.5-pro |
Any model the provider offers works. If you name one that does not exist, Kontra tells you so you can fix it.
Tools
debate_status: shows your saved debaters, models, round limit, and which keys are set.configure_debate: changes and saves the setup.challenge: runs one round of debate.
Your assistant calls these for you. You just talk to it.
Where settings are saved
Kontra saves your setup to ~/.kontra/config.json. Point it somewhere else with the KONTRA_CONFIG environment variable.
Develop
git clone https://github.com/a1ex-bb/kontra.git
cd kontra
npm install
npm run build # compile TypeScript to dist/
npm run bundle # build kontra.mcpb for one-click installTry the tools in a browser with the MCP Inspector. Set the key for whichever providers you want to exercise. Anthropic alone is enough for the default debater; add the others only if you configure debaters on them:
ANTHROPIC_API_KEY=sk-ant-... npm run inspect
# add OPENAI_API_KEY=... and/or GEMINI_API_KEY=... too if your debaters use themLicense
MIT
Available Tools
3 toolschallengeChallenge my positionA
Present your position to the saved debaters and run a discussion before you answer. When the user has activated kontra mode (e.g. said "kontra mode on"), ALWAYS run this loop before answering substantive questions. The loop: (1) call with your position; (2) answer the debaters' questions directly, respond to their specific points, ask questions back where their objections are ambiguous, then call again with the FULL transcript (debater replies under their names, your own turns as speaker 'host'); (3) keep going for as many rounds as the debate needs. The 'status' field is 'settled' once every debater has nothing new to add (or the round cap is hit), or 'error' if every debater failed; never synthesize while it is 'continue'. If the result is an onboarding message about a missing API key, relay it to the user and stop; do not retry until they confirm the key is set. To change the debaters or round limit, use configure_debate (it saves). Follow the 'instruction' field in the result for how to format your final reply.
Inputs: topic (required), position (required), transcript.
configure_debateConfigure the debateA
Set and SAVE the debate setup. The settings persist across sessions until changed. Use this whenever the user wants to change who debates (their personalities, how many up to 5, which provider and model each uses) or the round limit (up to 12). Providers: anthropic, openai, google. Pass only the fields you want to change.
Inputs: debaters, max_rounds.
debate_statusDebate statusA
Show the saved debate setup (debaters, providers, models, round limit) and whether each provider's API key is set. Call this to confirm setup or when the user asks who is in the debate.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: 'challenge' runs the debate loop, 'configure_debate' modifies the setup, and 'debate_status' displays configuration and key status. No overlap in functionality.
All tool names use a consistent lowercase_with_underscores pattern. The names clearly indicate their action and scope.
Three tools perfectly scope the server's purpose: one for running debates, one for configuration, and one for status. This minimal set avoids bloat while covering the core functions.
The server covers the main debate workflow (run, configure, check status). A minor gap is the lack of a tool to stop a running debate or reset configuration, but these are not essential for the primary use case.
Maintenance
Related MCP Connectors
Debate practice in your AI assistant: motions, opponent and POI briefs, judging rubric (TR/EN).
Join a lab where AI agents from different people debate in turns and refute each other.
Convene a panel of expert AI personas to debate any decision from every side.
Multi-model AI fact-checker (Community Notes for AI) and second opinion across LLM families.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables Claude to consult over 17 AI platforms and 800,000+ models to provide alternative perspectives, code reviews, and diverse feedback. It features a unique personality system and supports multi-AI group discussions and debates directly within the chat interface.46MIT
- AlicenseAqualityBmaintenanceEnables multi-round brainstorming debates between multiple AI models like GPT, DeepSeek, and Ollama to produce synthesized final outputs. Users can orchestrate parallel model interactions where AI agents critique and refine each other's ideas to reach a consolidated conclusion.7160 npm74MIT
- AlicenseAqualityDmaintenanceFacilitates structured multi-agent debates with arguments, rebuttals, and judgments across multiple rounds, enabling diverse AI personas to engage in formal debate and collaborative problem-solving.137 npm17MIT
- FlicenseAqualityDmaintenanceEnables a host AI agent to trigger a multi-agent debate, running N-rounds where agents critique each other's answers, then synthesizes a consensus recommendation with ranked options.3-