MCP Hub
Back to servers

mcp-graph-workflow

MCP local-first CLI tool that converts PRD text files into persistent execution graphs (SQLite) for structured agentic workflows

GitHub
Stars
7
Updated
Mar 12, 2026
Validated
Mar 13, 2026

@mcp-graph-workflow/mcp-graph

CI npm version Node.js License: MIT TypeScript PRs Welcome npm downloads GitHub stars GitHub forks

Automate project planning from PRD to execution. Local-first CLI that converts product requirement documents into structured task graphs with AI-powered context, semantic search, and multi-agent orchestration.

mcp-graph dashboard — task graph view

Quick Start

GitHub Copilot (VS Code)

Create .vscode/mcp.json in your project:

{
  "servers": {
    "mcp-graph": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@mcp-graph-workflow/mcp-graph"]
    }
  }
}

Enable Agent Mode in Copilot Chat, then use the tools: init → import_prd → next → context → update_status

Claude Code / Cursor / IntelliJ

Add to .mcp.json:

{
  "mcpServers": {
    "mcp-graph": {
      "command": "npx",
      "args": ["-y", "@mcp-graph-workflow/mcp-graph"]
    }
  }
}

Windsurf / Zed / Other MCP Clients

Use stdio transport with:

npx -y @mcp-graph-workflow/mcp-graph

From Source

git clone <repo-url> && cd mcp-graph-workflow
npm install && npm run build
npm run dev        # HTTP + dashboard at localhost:3000

For detailed setup, see Getting Started.

Features

  • PRD → Task Graph — Import .md, .txt, .pdf, or .html documents and auto-generate hierarchical task trees
  • AI-Optimized Context — 70-85% token reduction with tiered compression (summary/standard/deep)
  • Smart Task Routingnext suggests the best task based on priority, dependencies, and blockers
  • Semantic Search + RAG — Full-text BM25 search + TF-IDF embeddings, 100% local
  • Sprint Planning — Velocity metrics, capacity-based planning, risk assessment
  • Web Dashboard — Interactive graph visualization, backlog tracking, code intelligence, insights
  • Multi-Agent Mesh — Serena + GitNexus + Context7 + Playwright coordinated via event bus
  • Local-First — SQLite persistence, zero external dependencies, cross-platform

Who is this for?

PersonaUse Case
AI EngineersStructured agentic workflows with token-efficient context
Tech LeadsPRD decomposition into trackable, dependency-aware task graphs
Solo DevelopersProject planning with AI-powered suggestions and progress tracking
Teams using Copilot/Claude/CursorMCP-native tool integration for AI-assisted development

Dashboard

6 tabs: Graph (interactive diagram + filters) · PRD & Backlog (progress tracking) · GitNexus (code intelligence) · Serena (code memories) · Insights (bottlenecks + metrics) · Benchmark (token economy)

mcp-graph dashboard — PRD & Backlog view

mcp-graph dashboard — Insights view

mcp-graph dashboard — Benchmark token economy

mcp-graph serve --port 3000    # or: npm run dev

Tools & API

CountReference
MCP Tools26MCP-TOOLS-REFERENCE.md
REST Endpoints44 (17 routers)REST-API-REFERENCE.md
CLI Commands5init, import, index, stats, serve

Integrations

IntegrationRole
SerenaCode analysis, memory, symbol navigation
GitNexusGit graph, impact analysis, dependency visualization
Context7Up-to-date library documentation fetching
PlaywrightBrowser-based task validation and A/B testing

All coordinated by an event-driven IntegrationOrchestrator. See INTEGRATIONS-GUIDE.md.

Testing

910+ tests across 101 Vitest files + 11 Playwright E2E specs.

npm test            # Unit + integration
npm run test:e2e    # Browser E2E (Playwright)
npm run test:all    # Everything

Documentation

DocumentDescription
Getting StartedStep-by-step guide for new users
ArchitectureSystem layers, modules, data flows
MCP Tools Reference26 tools with full parameters
REST API Reference17 routers, 44 endpoints
Knowledge PipelineRAG, embeddings, context assembly
IntegrationsSerena, GitNexus, Context7, Playwright
Test GuideTest pyramid and best practices
Lifecycle8-phase dev methodology

Support the Project

If this tool is useful to you, consider supporting its development:

  • Star this repo — it helps others discover the project
  • Share — tell your team, post on X/LinkedIn, write about it
  • Contribute — see CONTRIBUTING.md. TDD is mandatory — write the failing test first
  • SponsorGitHub Sponsors

Star History Chart

License

MIT

Reviews

No reviews yet

Sign in to write a review