Logo di DeepPlan MCP

DeepPlan MCP

Community
gapgapweiqi

MCP server for DeepPlan — upgrade shallow Ai coding plans into expert-level architecture blueprints via a Council of AI Architects

Autoregapgapweiqi
Repositorydeepplan-mcp
LinguaTypeScript
Fork
2
Stelle
12
Strumenti disponibili
2
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    DeepPlan MCP mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 2 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    12 stelle e 2 fork nel repository collegato.


Why DeepPlan?

Every AI coding assistant can generate code — but architecture is where projects succeed or fail. DeepPlan catches design flaws, security gaps, and performance bottlenecks before they become expensive rewrites.

Without DeepPlanWith DeepPlan
PlanningAI gives generic, shallow plans4 expert architects analyze in parallel
QualityNo guardrails — hallucination driftConstitution enforces architectural correctness
PerspectiveSingle viewpointSecurity + Performance + UX/DX + DevOps
OutputVague suggestionsNumbered, executable steps for your AI agent
Your Draft Plan → 🔒 Security · ⚡ Performance · 🎨 UX/DX · 🔧 DevOps → 👑 Lead Architect → Blueprint

Works With

DeepPlan uses the Model Context Protocol (MCP) — it works with any MCP-compatible client, not just IDEs:

ClientUse Case
🖥️Cursor, Windsurf, VS Code CopilotArchitecture review while coding
💻Claude CodeTerminal-based planning and brainstorming
🤖Claude Desktop, ChatGPTConversational architecture consulting
🔧Custom MCP ClientsBuild your own AI-powered architecture tools
📡CI/CD & AutomationAutomated architecture linting in pipelines

Quick Start

Cursor

Add to ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "deepplan": {
      "command": "npx",
      "args": ["-y", "deepplan-mcp"],
      "env": {
        "DEEPPLAN_API_KEY": "dpk_your-key-here"
      }
    }
  }
}

Windsurf

Add to your Windsurf MCP configuration:

json
{
  "mcpServers": {
    "deepplan": {
      "command": "npx",
      "args": ["-y", "deepplan-mcp"],
      "env": {
        "DEEPPLAN_API_KEY": "dpk_your-key-here"
      }
    }
  }
}

Claude Code

bash
claude mcp add deepplan -- npx -y deepplan-mcp --api-key=dpk_your-key-here

VS Code (Copilot)

Add to .vscode/mcp.json:

json
{
  "servers": {
    "deepplan": {
      "command": "npx",
      "args": ["-y", "deepplan-mcp"],
      "env": {
        "DEEPPLAN_API_KEY": "dpk_your-key-here"
      }
    }
  }
}

Get your API key at deepplan.dev/api-keys — free tier included.


Use Cases

🏗️ Starting a New Project

"Build me a SaaS with Stripe billing and multi-tenant auth"

Get a complete architecture blueprint — data model, API design, auth flow, deployment strategy — reviewed by 4 experts before writing a single line of code.

🔄 Major Refactoring

"Migrate our REST API to GraphQL"

Get expert analysis of migration risks, breaking changes, edge cases, and a step-by-step execution plan your AI coding assistant can follow.

🛡️ Security Review

"Review this authentication flow for vulnerabilities"

Get a Security Architect's threat model: injection vectors, data exposure risks, and concrete mitigations tied to your tech stack.

⚡ Performance Audit

"Optimize this data pipeline that's hitting 5s response times"

Get bottleneck analysis with specific optimizations: caching strategy, query patterns, cold start reduction — all for your actual stack.

🧩 API Design

"Design a public REST API for our platform"

Get DX analysis, versioning strategy, error handling patterns, rate limiting architecture, and documentation structure.

📋 Architecture Review in CI/CD

"Automatically review architecture decisions in pull requests"

Integrate DeepPlan into your pipeline to catch architectural anti-patterns before they reach production.


Tools

upgrade_architecture_blueprint

Send a draft plan to the Council of Architects for expert-level review.

ParameterRequiredDescription
draft_planYesThe architecture plan text to upgrade
tech_stackNoe.g. "SvelteKit, Cloudflare Workers, D1"
context_constraintsNoe.g. "Must run on Edge Runtime"
model_choiceNoAI model for the Lead Architect synthesis

Returns: A structured blueprint with Architecture Directives, Edge Cases, Constraints, Patterns, and numbered Next Steps your AI agent can execute immediately.

auto_select_personas

Analyze a plan and recommend which expert personas are most relevant.

ParameterRequiredDescription
draft_planYesThe plan to analyze
available_personasNoCustom persona list (defaults to 4 built-in experts)

The Constitution

Every council session enforces architectural guardrails called "The Constitution" — rules that prevent AI hallucination drift and ensure high-quality output:

  • Terminology Precision — Flags misused architectural terms (e.g., "fetch" for a DB query → should be "query")
  • Clean Architecture Metrics — Enforces low coupling, high cohesion, correct dependency direction
  • No Code Output — Experts focus on WHAT and WHY, never HOW in code
  • Tech Stack Awareness — All recommendations must reference your actual stack
  • Impact Prioritization — Most critical findings first, no filler

Built-in Expert Personas

PersonaFocus Areas
🔒 Security ArchitectAuth, data exposure, injection, CORS, API abuse, secrets management
⚡ Performance EngineerLatency, caching, token cost, cold starts, DB queries, concurrency
🎨 UX/DX DesignerIntegration smoothness, error clarity, onboarding, config simplicity
🔧 DevOps EngineerDeploy strategy, CI/CD, monitoring, disaster recovery, scaling
👑 Lead ArchitectSynthesizes all expert reports into a unified, executable blueprint

Want domain-specific experts? Create custom personas at deepplan.dev — available via proxy mode.


Modes

Proxy Mode (Recommended)

Uses your DeepPlan API key (dpk_...). Requests are analyzed by DeepPlan Scout (expert analysis) and synthesized by DeepPlan Architect (blueprint generation).

DEEPPLAN_API_KEY=dpk_your-key-here

Premium features via proxy mode:

  • Custom personas and councils
  • Advanced orchestration (debate mode, AI+IDE refinement)
  • AI-powered search context (Librarian)
  • Usage tracking and credit management

Direct Mode (Fallback)

Uses your own OpenRouter API key. The council runs locally with 4 built-in expert personas. No DeepPlan account needed.

OPENROUTER_API_KEY=sk-or-v1-your-key-here

Configuration

VariableDescription
DEEPPLAN_API_KEYDeepPlan API key — enables proxy mode with full features
OPENROUTER_API_KEYOpenRouter key — enables direct mode (fallback)
DRAFT_PLAN_MAX_LENGTHMax input characters (default: 8000)

Configuration priority: CLI args > environment variables > .env file

bash
npx deepplan-mcp --api-key=dpk_your-key-here

Extend & Build

DeepPlan is designed to be extended. The open-source core gives you building blocks to create your own architectural intelligence:

  • Custom Personas — Add domain-specific experts (Database Architect, ML Engineer, etc.) in src/prompts/personas.ts
  • Search Providers — Plug in your own search backend by implementing the SearchProvider interface in src/search/types.ts
  • Custom Constitutions — Define your team's architectural standards and coding conventions
  • Pipeline Integration — Use as a pre-commit hook, CI/CD step, or automated PR reviewer
  • Build Your Own Client — The MCP protocol means any client can connect — build custom tools on top of DeepPlan

Architecture

┌─────────────────┐    stdio     ┌──────────────┐
│  MCP Client      │◄────────────►│  DeepPlan    │
│                  │    MCP       │  MCP Server  │
│  • AI IDEs       │    Protocol  │  (this repo) │
│  • CLI Tools     │             └──────┬───────┘
│  • Custom Apps   │                    │
└─────────────────┘       ┌─────────────┴──────────────┐
                          │                            │
                    Proxy Mode                   Direct Mode
                          │                            │
                   ┌──────▼──────┐            ┌────────▼────────┐
                   │ DeepPlan API │            │    OpenRouter    │
                   │ deepplan.dev │            │       API        │
                   │              │            │                  │
                   │ • Scout      │            │ • 4 built-in     │
                   │   (analysis) │            │   personas       │
                   │ • Architect  │            │ • Basic council  │
                   │   (synthesis)│            │                  │
                   │ • Debate     │            │                  │
                   │ • AI Search  │            │                  │
                   └──────────────┘            └──────────────────┘

Premium Features

The open-source client provides full council functionality with 4 built-in personas. For teams and power users, deepplan.dev offers:

FeatureOpen SourceDeepPlan Pro
4 Built-in Experts✅✅
Custom Personas—✅
Council Builder—✅
Debate Mode (Pro/Con)—✅
AI Search (Librarian)—✅
Chair Persona—✅
Constitution Editor—✅
Usage Dashboard—✅

Development

bash
# Clone
git clone https://github.com/gapgapweiqi/deepplan-mcp.git
cd deepplan-mcp

# Install
npm install

# Dev (with hot reload)
npm run dev

# Build
npm run build

# Type check
npm run typecheck

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.


License

MIT — use it however you want.


Installazione

TypingMind
{
  "mcpServers": {
    "deepplan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "deepplan-mcp"
      ],
      "env": {
        "DEEPPLAN_API_KEY": "<DEEPPLAN_API_KEY>"
      }
    }
  }
}

Strumenti disponibili

  • upgrade_architecture_blueprint

    Sends a draft architecture plan to the DeepPlan backend for expert-level review. Returns structured architectural directives, edge cases, constraints, and numbered next steps that you (the IDE agent) can execute immediately.

    Use this when:

    • A plan feels too shallow or generic
    • Starting a complex feature or new project
    • You need architecture-level guidance before writing code

    The response includes a "Next Steps for Agent" section with numbered instructions you can follow directly.

    Internally, this tool runs a "Council of Architects" — 4 expert AI personas (Security, Performance, UX/DX, DevOps) analyze the plan in parallel, then a Lead Architect synthesizes their reports into a unified blueprint.

  • auto_select_personas

    Analyzes a draft architecture plan and recommends the most relevant expert personas to include in the council review. Returns a list of recommended persona names and focus areas.

    Use this when:

    • You want the AI to pick the best experts for a specific plan
    • The plan covers a niche domain that may benefit from specialized personas

    This tool does NOT run the full council — it only recommends which personas to use.

Usa MCP DeepPlan MCP con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso DeepPlan MCP, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi DeepPlan MCP come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di DeepPlan MCP.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "deepplan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "deepplan-mcp"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di DeepPlan MCP, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di DeepPlan MCP.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare DeepPlan MCP per aiutarmi con questa attività?
DeepPlan MCP
Certo. Ho letto.
Ecco cosa ho trovato con DeepPlan MCP.

Domande frequenti

A cosa serve il server MCP DeepPlan MCP?

DeepPlan MCP è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare DeepPlan MCP MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare DeepPlan MCP con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP DeepPlan MCP con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando DeepPlan MCP, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego DeepPlan MCP MCP a TypingMind?

DeepPlan MCP funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre DeepPlan MCP MCP in TypingMind?

DeepPlan MCP mette a disposizione 2 strumenti MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare DeepPlan MCP MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se DeepPlan MCP richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇