loading…
Search for a command to run...
loading…
An MCP server that launches a lightweight localhost UI for interactive AI-assisted brainstorming and planning. It enables collaborative ideation workflows with
An MCP server that launches a lightweight localhost UI for interactive AI-assisted brainstorming and planning. It enables collaborative ideation workflows with visual diagrams, interactive elements, and image support for seamless human-AI collaboration.
An MCP (Model Context Protocol) server that spawns a lightweight, resource-efficient localhost UI for interactive AI-assisted brainstorming, planning, and visualization. Designed to work seamlessly with Claude and other AI agents for collaborative ideation workflows.
plans/*.md for future referenceMulti-Session Support: Each AI agent session gets its own URL (localhost:{port}/{sessionid}) with tab names reflecting working directory for easy distinction
Shared Single Install Across Agents: One local clone and one Python environment can be reused by Claude, Codex, and other MCP-compatible agents at the same time, so you install once per machine instead of once per agent
Rich Content Rendering:
Interactive Elements:
Image Support:
Resource Efficient: Lightweight Python server designed for single-user operation
Loopback Only: The HTTP UI is hard-limited to loopback addresses and rejects non-local clients
├── mcp_server.py # MCP server implementation (Python)
├── server/ # localhost UI server
│ ├── app.py # Flask/FastAPI server
│ ├── templates/ # HTML templates
│ └── static/ # CSS, JS, assets
└── requirements.txt # Dependencies
Runtime data is stored outside the repository by default under ~/.mcp/brainstorm-mcp/:
~/.mcp/brainstorm-mcp/
├── sessions/ # Session state storage
│ └── assets/ # Uploaded or pasted image data
├── plans/ # User-saved markdown plans
└── preferences/ # Brainstorm preferences (instructions to the AI)
├── global.json # Machine-wide defaults
└── projects/ # Per-project overrides, keyed by hashed absolute path
Per-project preferences live under the central data root (never inside the project repo), so configuring a project never adds files to that project's working tree.
sessionid (UUID or similar)~/.mcp/brainstorm-mcp/ directory by defaultlocalhost:PORT/{sessionid}pwd) of the AI agent terminalFor complete installation instructions, including:
See INSTALL.md.
git clone <repo-url>
cd mcp-brainstorm-server
pip install -r requirements.txt
The server is started on-demand by the MCP tool when the AI agent detects brainstorming keywords. Users can also manually start it:
python mcp_server.py
anthropic-mcp
flask # or fastapi
pydantic
python-dotenv
localhost:8080/abc-def-123-ghi (sessionid based on pwd)plans/feature-architecture.md"
Default saved location on disk: ~/.mcp/brainstorm-mcp/plans/feature-architecture.mdstart_brainstorm_sessionStarts an interactive brainstorming UI session.
Input:
prompt (str): Initial brainstorming prompt/contextcontent_type (str): "mermaid", "html", or "markdown"working_dir (str, optional): Current working directory (used for tab title)Output:
session_id (str): Unique session identifierurl (str): Full localhost URL to access the UIport (int): Port number usedget_session_responseRetrieves user submission from a completed session.
Input:
session_id (str): Session identifierOutput:
response (dict): User's submitted choices, comments, and imagestimestamp (str): When submission occurredstatus (str): "pending", "submitted", "expired"list_sessionsLists all active sessions.
Output:
sessions (list): Array of active session objects with IDs, URLs, and creation timesclose_sessionTerminates and cleans up a session.
Input:
session_id (str): Session to closeset_brainstorm_preferencesSaves user-facing instructions that shape how the AI brainstorms. Any field left unset preserves the prior value, so you can update one field at a time.
Input:
scope (str): "global" (machine-wide default) or "project" (override for
one project — requires project_path)project_path (str, optional): Absolute path to the project. Required when
scope="project". Used as the lookup key; the file itself is stored centrally
under ~/.mcp/brainstorm-mcp/preferences/projects/.uiux_level (str, optional): User's UI/UX skill level (free text). Suggested
values: never_before, amateur, intermediate, expert.uiux_style (str, optional): Project's UI/UX style (free text). Examples:
corporate internal tool, marketing-heavy landing page,
children education app.questioning_style (str, optional): How the AI should question the user.
Suggested values: autonomous_review (AI builds, user reviews with as few
questions as possible) or collaborative_stepwise (AI brainstorms step by
step, asking many questions to converge on the imagined UI).Output: Effective preferences after the merge (project overrides global, field by field), plus the source of each field.
get_brainstorm_preferencesReads the effective brainstorm preferences. Project values override global values field by field.
Input:
project_path (str, optional): Absolute project path to merge into the global
defaults. Omit to read globals only.Output: Same shape as set_brainstorm_preferences. The AI also receives
this object inline on every start_brainstorm_session response, so it never
needs to ask twice.
MIT
Contributions welcome. Please follow PEP 8 for Python code and ensure the server remains lightweight.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"brainstorm-mcp-server": {
"command": "npx",
"args": []
}
}
}