brainstorm-mcp
v1.8.0Multi-model AI brainstorming debates with code review and quick perspectives
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
brainstorm
Run a multi-round brainstorming debate between multiple AI models. IMPORTANT: Before calling this tool, you MUST ask the user to choose a mode: 1. **API mode** — Calls configured providers. These are either HTTP APIs billed per token (OpenAI, Gemini, DeepSeek, ...) or locally installed agent CLIs such as 'claude' and 'codex', which run on the user's existing subscription at no API cost. Call list_providers to see which of each are available. 2. **Hosted mode** — No API keys needed. You execute prompts using sub-agents with models available in your environment (opus/sonnet/haiku, GPT, Gemi…
| Parameter | Type | Description |
|---|---|---|
topic * | string | The topic, question, or prompt to brainstorm about |
context | string | Optional context to ground the debate — code snippets, PR diffs, error logs, architecture docs, etc. Models will see this alongside the topic. |
mode | string | Execution mode. Must be provided — if not, the tool will return options for the user to choose. 'api' — MCP server calls model APIs directly using configured API keys. 'hosted' — No API keys nee… |
models | array | Optional: specific models to use as 'provider:model' (e.g. 'openai:gpt-4o', or 'claude:sonnet' / 'codex:default' for subscription-backed CLI providers). If not provided, all configured providers are u… |
participate | boolean | Whether Claude should actively participate as a debater in each round (default: true). Set to false for a non-interactive debate between external models only. |
rounds | integer | Number of debate rounds (default: 3) |
style | string | Debate style. 'freeform' (default): open brainstorming. 'redteam': adversarial — models find flaws, risks, and weaknesses. 'socratic': probing questions that expose assumptions and push for deeper u… |
synthesizer | string | Optional: model for final synthesis as 'provider:model'. Defaults to the first model. |
systemPrompt | string | Optional system prompt to guide the brainstorming style or constraints |
brainstorm_respond
Submit YOUR (Claude's) response for the current round of an interactive brainstorm session. After the brainstorm tool returns external models' responses, call this tool with your substantive contribution. Read all responses carefully and engage with specific points — agree, disagree, build upon, or challenge ideas. Do not just summarize. After your response, the next round runs automatically (or synthesis if final round).
| Parameter | Type | Description |
|---|---|---|
response * | string | Your substantive contribution to this round of the debate. Engage deeply with the other models' responses. Minimum 50 characters. |
session_id * | string | The session ID returned by the brainstorm tool |
brainstorm_collect
Submit collected model responses for a hosted brainstorm session. After receiving prompts from `brainstorm` (mode='hosted') or a previous `brainstorm_collect` call, execute each prompt by spawning a sub-agent for EACH model (use the model parameter to select the right model, e.g., model='sonnet' or model='haiku'). Collect all responses and submit them here. This tool returns either: (1) the next round's prompt to execute, (2) a synthesis prompt for a single model, or (3) the final formatted debate result when complete.
| Parameter | Type | Description |
|---|---|---|
responses * | array | Array of model responses collected by the host |
session_id * | string | The session ID from the brainstorm tool |
brainstorm_quick
Get instant multi-model perspectives on any question — no debate rounds, no synthesis delay. Fires all models in parallel and returns a compact comparison. Under 10 seconds. Use this for quick second opinions, snap decisions, or when you want diverse perspectives fast. For deeper analysis with multiple rounds and synthesis, use the `brainstorm` tool instead.
| Parameter | Type | Description |
|---|---|---|
topic * | string | The question or topic to get quick perspectives on |
context | string | Optional context — code snippets, error logs, etc. Models will see this alongside the topic. |
models | array | Optional: specific models as 'provider:model' (API providers, or CLI providers like 'claude:sonnet' that use a subscription instead of API credits). If not provided, all configured providers are used. |
style | string | Perspective style (default: freeform) |
brainstorm_review
Multi-model code review. Pass a diff and get structured findings with severity, file/line references, and a verdict (approve / approve with warnings / needs changes). Multiple models review independently, then findings are synthesized and deduplicated. Use this for PR reviews, code audits, or pre-commit checks.
| Parameter | Type | Description |
|---|---|---|
diff * | string | The unified diff to review (e.g., output of `git diff`) |
description | string | Optional: PR description or commit message |
focus | Optional: focus areas for the review. Default: all categories. | |
instructions | string | Optional: repo-specific review instructions (e.g., 'we use strict null checks', 'focus on SQL injection risks') |
models | array | Optional: specific models as 'provider:model'. Default: all configured providers. |
title | string | Optional: PR title or change summary for context |
list_providers
List all configured AI providers and their default models for brainstorming. Includes locally installed agent CLIs (claude, codex, ...) which run on an existing subscription instead of metered API credits.
add_provider
Add a new AI provider for brainstorming. Supports any OpenAI-compatible API, or a locally installed agent CLI (kind='cli') that runs on an existing subscription instead of API credits.
| Parameter | Type | Description |
|---|---|---|
defaultModel * | string | Default model for this provider, e.g. 'llama3', 'sonnet'. Use 'default' to let a CLI pick its own. |
name * | string | Provider name, e.g. 'groq', 'ollama', 'mistral', 'claude' |
adapter | string | cli only: built-in adapter — claude, codex, gemini, qwen, kimi, cursor-agent, opencode, droid — or 'custom'. Defaults to the provider name. |
apiKeyEnvVar | string | api only: environment variable holding the API key. Use 'NONE' if no key required. |
args | array | cli only ('custom' adapter): argv template. Placeholders: {{model}}, {{system}}, {{prompt}}, {{outfile}}. |
backend | string | cli only: run the Claude CLI against another vendor's coding plan — moonshot, minimax, glm. Overrides 'adapter'. |
baseURL | string | api only: base URL, e.g. 'http://localhost:11434/v1' for Ollama |
command | string | cli only: executable to run. Required for adapter 'custom'. |
kind | string | 'api' (default) for an OpenAI-compatible HTTP endpoint, 'cli' for a local agent CLI. |
promptVia | string | cli only ('custom' adapter): how the prompt reaches the CLI. |