Kontra MCP logo

Kontra MCP

Structured MCP decision analysis that challenges plans through counter, probe, redteam, and premortem modes.

Install Kontra MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kontra-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "kontra-mcp"
      ],
      "env": {
        "KONTRA_DEFAULT_MODE": "YOUR_VALUE_HERE",
        "KONTRA_LOG_LEVEL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

kontra-mcp MCP server gives MCP clients a structured way to challenge decisions, plans, and conclusions. It accepts a statement, optional context, and an analysis mode, then returns an adversarial prompt for the client’s own LLM to process. Modes cover counterarguments, probing questions, failure scenarios, and postmortems. Reach for it when a team needs to expose assumptions or weaknesses before committing to a high-impact decision.

Use cases

  • Challenge an architecture rewrite
  • Probe a career or product decision
  • Red-team a launch plan
  • Run a premortem on a hiring choice

Key features

  • Four structured analysis modes
  • Adversarial prompt generation
  • Optional decision context
  • No API key required
  • Configurable default mode and log level

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

5/5 checks healthy over the last 41d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · kontra-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads196Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.

How Kontra MCP works

What kontra-mcp MCP server does

kontra-mcp MCP server turns a decision or plan into a structured contrarian analysis request. It is designed to challenge the position supplied by the user rather than balance it with an equal list of advantages and disadvantages. Optional context lets the caller provide constraints, evidence, timing, team details, or other information that should shape the analysis.

The default counter mode assumes the decision is wrong and develops the strongest case against it. Its output covers blind spots, hidden assumptions, a strongest counter-argument, and what-if scenarios. This is suited to architecture decisions, strategy changes, hiring plans, and product bets.

Three additional modes target different stages of decision-making:

  • probe asks 7–10 questions across motivation, evidence, alternatives, stakes, and timing, without supplying answers or analysis.
  • redteam creates 3–5 ranked failure scenarios with likelihood estimates, triggers, cascades, warning signs, mitigations, and an overall vulnerability score from 1 to 10.
  • premortem assumes the decision failed 12 months later and lays out a failure narrative, timeline, root causes, missed signals, and lessons learned.

How it works

kontra-mcp MCP server uses a prompt-return design. When the tool is called, it builds an adversarial prompt from the supplied parameters and returns that prompt to the MCP client. The client’s existing LLM generates the final analysis; the server does not execute the prompt itself.

This design means no API key is required and the server makes no additional network calls for analysis. Output quality depends on the model available through the MCP client. The README identifies Claude Desktop, Claude Code, Cursor, and VS Code as supported client options.

Setup and configuration

Install the package through npx and register it with an MCP client. For Claude Code, the documented command is:

Terminal
claude mcp add kontra -- npx -y kontra-mcp

For Claude Desktop, add a kontra entry with npx as the command and -y kontra-mcp as its arguments in the client configuration. Cursor and VS Code use the same command and argument pair in their MCP settings.

Two environment variables are available. KONTRA_DEFAULT_MODE sets the mode used when a request omits mode; its default is counter. KONTRA_LOG_LEVEL controls logging and accepts debug, info, warn, or error, with info as the default. No environment variable is required for the documented basic setup.

Tools and capabilities

The MCP tool accepts three parameters:

  • statement — required text containing the decision, plan, or conclusion to analyze.
  • context — optional background, constraints, or supporting data.
  • mode — optional counter, probe, redteam, or premortem selection.

kontra-mcp MCP server fits decisions that need structured challenge rather than a generic caution. It does not provide a probability matrix, dashboard, or independent human judgment; it surfaces possible weaknesses for the user and model to evaluate. The tool’s purpose is analysis of the supplied position, not a neutral comparison of both sides.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Kontra MCP

kontra-mcp is an MCP server that connects an MCP client to its existing LLM for structured decision analysis. Its main tool accepts a statement, optional context, and one of four modes: counter, probe, redteam, or premortem. It returns an adversarial prompt for the client to process, without making additional analysis API calls.

Install it with npx and register the command in your MCP client. Claude Code uses `claude mcp add kontra -- npx -y kontra-mcp`; Claude Desktop, Cursor, and VS Code use `npx` with `-y kontra-mcp` in their MCP configuration.

Yes, kontra-mcp works with Cursor through its MCP settings. Add a server named `kontra`, set the command to `npx`, and pass `-y kontra-mcp` as the argument.

No, kontra-mcp does not require an API key. It returns a constructed prompt to the MCP client, which uses its existing LLM to generate the analysis.

kontra-mcp supports `counter`, `probe`, `redteam`, and `premortem`. `counter` is the default and argues against a decision; the other modes ask diagnostic questions, model concrete failures, or write a retrospective for a failed decision.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKontra MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kontra-mcp?style=directory)](https://allmcps.com/mcp/kontra-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/kontra-mcp"><img src="https://allmcps.com/api/badge/kontra-mcp?style=directory" alt="Kontra MCP on AllMCPs" /></a>