MCP Server & Claude Code Plugin for Multi-Agent Workflows An MCP server that orchestrates AI agents through structured markdown documents.
What's inside
FAQ
ai-prompt-guide is a Claude Code plugin with hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add Blakeem/AI-Prompt-Guide-MCP> /plugin install ai-prompt-guide@ai-prompt-guide-marketplace
Repo: Blakeem/AI-Prompt-Guide-MCP
MCP Server & Claude Code Plugin for Multi-Agent Workflows
An MCP server that orchestrates AI agents through structured markdown documents. Create linked specifications and tasks, assign work to specialized agents with a single command, and let the system handle context injection and workflow management automatically.
This server enables you to:
The system preserves context across sessions while keeping your main agent focused on orchestration and review rather than implementation details.
Dual Task System
Automatic Context Injection
@/path/doc.md#section syntaxWorkflow Library
get_workflow tool or Claude Code plugin commands/plugin marketplace add https://github.com/Blakeem/AI-Prompt-Guide-MCP
/plugin install ai-prompt-guide@ai-prompt-guide-marketplace
The plugin provides 15 workflows accessible both as slash commands and via the get_workflow MCP tool:
Development Workflows:
/ai-prompt-guide:develop – Simple development with anti-pattern detection and regression prevention/ai-prompt-guide:develop-fix – Bug fixing with root cause analysis and regression prevention/ai-prompt-guide:develop-staged – Orchestrate multi-agent staged development with manual verification/ai-prompt-guide:develop-staged-tdd – Orchestrate multi-agent staged development with TDDQuality Workflows:
/ai-prompt-guide:audit – Comprehensive code audit (full codebase or targeted PR/component)/ai-prompt-guide:coverage – Add comprehensive test coveragePlanning Workflows:
/ai-prompt-guide:plan – Structured information assessment before action (works well with Claude Code planning mode)Decision Workflows:
/ai-prompt-guide:decide – Structured decision making with trade-off analysis/ai-prompt-guide:decide-lensed – Multi-perspective decision analysis with parallel specialist lensesIdeation Workflows:
/ai-prompt-guide:brainstorm – Generate multiple distinct ideas with parallel specialist lenses/ai-prompt-guide:brainstorm-refs – Generate multiple distinct ideas with task orchestration and @referencesSpecification Workflows:
/ai-prompt-guide:spec-feature – Document internal feature specifications/ai-prompt-guide:spec-external – Document external API specificationsCommands are shortcuts to workflows. When using Claude Code, the plugin commands provide a convenient way to invoke workflows. When using the MCP server directly, access the same workflows via:
get_workflow({ workflow: "plan" })
get_workflow({ workflow: "develop" })
get_workflow({ workflow: "develop-fix" })
get_workflow({ workflow: "develop-staged" })
get_workflow({ workflow: "develop-staged-tdd" })
get_workflow({ workflow: "brainstorm" })
// ... etc
Planning before implementation:
/ai-prompt-guide:plan How should we approach migrating from REST to GraphQL? I want to understand the key decision points and information gaps.
Simple development (no multi-agent orchestration):
/ai-prompt-guide:develop Add a dark mode toggle to the settings page with persistence to localStorage
Bug fixing:
/ai-prompt-guide:develop-fix The form submission fails when the email field is empty - returns undefined instead of validation error
Multi-agent staged development with TDD:
/ai-prompt-guide:develop-staged-tdd Build an admin dashboard with user activity charts, region filtering, and CSV export. Include tests for the aggregation logic.
The plugin loads the appropriate workflow and guides you through the implementation process.
This repository includes production dependencies (35MB) for true zero-config operation:
# Clone and use immediately - no install needed!
git clone https://github.com/your-org/AI-Prompt-Guide-MCP.git
cd AI-Prompt-Guide-MCP
pnpm start # Or use with Claude Code plugin directly
For Contributors/Developers:
To add development tools (linting, testing, TypeScript):
./scripts/dev-mode-on.sh # Install dev tools, hide from git
pnpm build # Rebuild after code changes
📖 See DEV_WORKFLOW.md for complete development documentation
Key scripts:
./scripts/dev-mode-on.sh - Enable development mode (adds dev tools, hides from git)./scripts/dev-mode-off.sh - Disable development mode (shows production state)./scripts/update-prod-deps.sh - Update production dependencies# Development
pnpm dev
# Production
pnpm start
# Test with inspector
pnpm inspector
Zero-config by default - the server works immediately with no setup required. When you run Claude Code from a project directory, it automatically creates a .ai-prompt-guide/ folder in your project to store documents, tasks, and archives.
MCP Server Setup (for non-Claude Code Plugin users):
Add to your MCP client configuration (e.g., .mcp.json):
{
"mcpServers": {
"ai-prompt-guide-mcp": {
"command": "node",
"args": ["/path/to/AI-Prompt-Guide-MCP/dist/index.js"],
"env": {
"MCP_WORKSPACE_PATH": "/custom/workspace/path"
}
}
}
}
Replace /path/to/AI-Prompt-Guide-MCP with your actual clone location. No build step required—built files are included.
Optional Settings:
MCP_WORKSPACE_PATH - Custom workspace path (default: current directory)DOCS_BASE_PATH - Documents location (default: .ai-prompt-guide/docs in zero-config mode)ARCHIVED_BASE_PATH - Archived documents (default: .ai-prompt-guide/archived in zero-config mode)COORDINATOR_BASE_PATH - Coordinator tasks (default: .ai-prompt-guide/coordinator in zero-config mode)REFERENCE_EXTRACTION_DEPTH - How deep to follow @references (1-5, default: 3)LOG_LEVEL - Logging verbosity (debug, info, warn, error)Per-Project Configuration:
Create .mcp-config.json in your project root for project-specific settings:
{
"env": {
"DOCS_BASE_PATH": "/custom/docs",
"ARCHIVED_BASE_PATH": "/custom/archive",
"COORDINATOR_BASE_PATH": "/custom/coordinator"
}
}
Zero-config structure (created automatically in your project):
your-project/
└── .ai-prompt-guide/
├── docs/ # Your documents and subagent tasks
├── coordinator/ # Sequential project tasks
└── archived/ # Completed work (auto-populated)
├── docs/ # Archived documents
└── coordinator/ # Archived task lists
Shared resources (bundled with the MCP server):
{mcp-server}/.ai-prompt-guide/
├── workflows/ # Reusable workflow protocols
└── guides/ # Documentation best practices
Everything is created automatically—no manual setup required. Workflows and guides are shared across all your projects.
The server provides 20 MCP tools organized by function:
create_document – Create new documents with namespace selectionbrowse_documents – Navigate document hierarchy and list contentssearch_documents – Full-text or regex search across all documentssection – Edit, append, insert, or remove sections in bulkcoordinator_task – Create, edit, or list coordinator tasksstart_coordinator_task – Start the first pending task with full contextcomplete_coordinator_task – Complete task and get next or auto-archiveview_coordinator_task – View coordinator task detailssubagent_task – Create, edit, or list subagent tasksstart_subagent_task – Start specific task with full contextcomplete_subagent_task – Complete task and get next pendingview_subagent_task – View subagent task detailsview_document – View complete document structure with metadataview_section – View section content without starting workedit_document – Update document title and overviewdelete_document – Delete or archive documentsmove – Move sections within or across documents (supports both regular sections and subagent tasks)move_document – Move documents to new namespacesget_workflow – Load workflow protocol contentget_guide – Access documentation guidesAll tools use consistent addressing (/doc.md#section) and work together seamlessly.
Spec-driven development with automatic agent orchestration:
The coordinator agent stays focused on orchestration and quality while specialized agents handle implementation. Your impartiality is preserved because you review code directly, not summaries.
MIT. See LICENSE for details.
.ai-prompt-guide/
guides/
research-guide.md
specification-writing.md
tutorial-writing.md
writing-standards.md
workflows/
audit.md
brainstorm-refs.md
brainstorm.md
coverage.md
decide-lensed.md
decide.md
develop-fix.md
develop-staged-tdd.md
develop-staged.md
develop.md
plan.md
spec-external.md
spec-feature.md
.claude-plugin/
marketplace.json
plugin.json
.env.example
.gitignore
.prettierrc
agents/
AGENTS.md
code.md
review.md
CLAUDE.md
commands/
audit.md
brainstorm-refs.md
brainstorm.md
coverage.md
decide-lensed.md
decide.md
develop-fix.md
develop-staged-tdd.md
develop-staged.md
develop.md
plan.md
spec-external.md
spec-feature.md
DEV_WORKFLOW.md
dist/
__tests__/
config-loading.test.d.ts
config-loading.test.d.ts.map
config-loading.test.js
config-loading.test.js.map
config-logging.test.d.ts
config-logging.test.d.ts.map
config-logging.test.js
config-logging.test.js.map
config-path-resolution.test.d.ts
config-path-resolution.test.d.ts.map
config-path-resolution.test.js
config-path-resolution.test.js.map
config-path-validation.test.d.ts
config-path-validation.test.d.ts.map
config-path-validation.test.js
config-path-validation.test.js.map
config-precedence.test.d.ts
config-precedence.test.d.ts.map
config-precedence.test.js
config-precedence.test.js.map
config-types.test.d.ts
config-types.test.d.ts.map
config-types.test.js
config-types.test.js.map
config.test.d.ts
config.test.d.ts.map
config.test.js
config.test.js.map
config.d.ts
config.d.ts.map
config.js
config.js.map
constants/
defaults.d.ts
defaults.d.ts.map
defaults.js
defaults.js.map
document-cache.d.ts
document-cache.d.ts.map
document-cache.hierarchical.test.d.ts
document-cache.hierarchical.test.d.ts.map
document-cache.hierarchical.test.js
document-cache.hierarchical.test.js.map
document-cache.js
document-cache.js.map
document-cache.test.d.ts
document-cache.test.d.ts.map
document-cache.test.js
document-cache.test.js.map
document-manager.d.ts
document-manager.d.ts.map
document-manager.js
document-manager.js.map
document-manager.race-condition.test.d.ts
document-manager.race-condition.test.d.ts.map
document-manager.race-condition.test.js
document-manager.race-condition.test.js.map
fingerprint-index.d.ts
fingerprint-index.d.ts.map
fingerprint-index.js
fingerprint-index.js.map
fingerprint-index.test.d.ts
fingerprint-index.test.d.ts.map
fingerprint-index.test.js
fingerprint-index.test.js.map
fsio.d.ts
fsio.d.ts.map
fsio.js
fsio.js.map
index.d.ts
index.d.ts.map
index.js
index.js.map
markdown-tools.test.d.ts
markdown-tools.test.d.ts.map
markdown-tools.test.js
markdown-tools.test.js.map
package.json
parse.d.ts
parse.d.ts.map
parse.js
parse.js.map
prompts/
__tests__/
prompt-loader.test.d.ts
prompt-loader.test.d.ts.map
prompt-loader.test.js
prompt-loader.test.js.map
prompt-loader.d.ts
prompt-loader.d.ts.map
prompt-loader.js
prompt-loader.js.map
prompt-validator.d.ts
prompt-validator.d.ts.map
prompt-validator.js
prompt-validator.js.map
types.d.ts
types.d.ts.map
types.js
types.js.map
workflow-prompts.d.ts
workflow-prompts.d.ts.map
workflow-prompts.js
workflow-prompts.js.map
sections.d.ts
sections.d.ts.map
sections.hierarchical.test.d.ts
sections.hierarchical.test.d.ts.map
sections.hierarchical.test.js
sections.hierarchical.test.js.map
sections.js
sections.js.map
server/
default-dependencies.d.ts
default-dependencies.d.ts.map
default-dependencies.js
default-dependencies.js.map
dependencies.d.ts
dependencies.d.ts.map
dependencies.js
dependencies.js.map
index.d.ts
index.d.ts.map
index.js
index.js.map
middleware/
error-handling.d.ts
error-handling.d.ts.map
error-handling.js
error-handling.js.map
index.d.ts
index.d.ts.map
index.js
index.js.map
logging.d.ts
logging.d.ts.map
logging.js
logging.js.map
session-management.d.ts
session-management.d.ts.map
session-management.js
session-management.js.map
request-handlers/
index.d.ts
index.d.ts.map
index.js
index.js.map
prompt-handlers.d.ts
prompt-handlers.d.ts.map
prompt-handlers.js
prompt-handlers.js.map
tool-handlers.d.ts
tool-handlers.d.ts.map
tool-handlers.js
tool-handlers.js.map
server-factory.d.ts
server-factory.d.ts.map
server-factory.js
server-factory.js.map
transport/
stdio-transport.d.ts
stdio-transport.d.ts.map
stdio-transport.js
stdio-transport.js.map
session/
index.d.ts
index.d.ts.map
index.js
index.js.map
session-store.d.ts
session-store.d.ts.map
session-store.js
session-store.js.map
types.d.ts
types.d.ts.map
types.js
types.js.map
shared/
__tests__/
addressing-system.batch-cache.test.d.ts
addressing-system.batch-cache.test.d.ts.map
addressing-system.batch-cache.test.js
addressing-system.batch-cache.test.js.map
addressing-system.hierarchical.test.d.ts
addressing-system.hierarchical.test.d.ts.map
addressing-system.hierarchical.test.js
addressing-system.hierarchical.test.js.map
addressing-system.lru.test.d.ts
addressing-system.lru.test.d.ts.map
addressing-system.lru.test.js
addressing-system.lru.test.js.map
addressing-system.relative-paths.test.d.ts
addressing-system.relative-paths.test.d.ts.map
addressing-system.relative-paths.test.js
addressing-system.relative-paths.test.js.map
document-analysis-enhanced.test.d.ts
document-analysis-enhanced.test.d.ts.map
document-analysis-enhanced.test.js
document-analysis-enhanced.test.js.map
document-analysis.test.d.ts
document-analysis.test.d.ts.map
document-analysis.test.js
document-analysis.test.js.map
keyword-utils-integration.test.d.ts
keyword-utils-integration.test.d.ts.map
keyword-utils-integration.test.js
keyword-utils-integration.test.js.map
link-utils.test.d.ts
link-utils.test.d.ts.map
link-utils.test.js
link-utils.test.js.map
link-validation.test.d.ts
link-validation.test.d.ts.map
link-validation.test.js
link-validation.test.js.map
reference-extractor.test.d.ts
reference-extractor.test.d.ts.map
reference-extractor.test.js
reference-extractor.test.js.map
reference-loader.test.d.ts
reference-loader.test.d.ts.map
reference-loader.test.js
reference-loader.test.js.map
section-operations.append.test.d.ts
section-operations.append.test.d.ts.map
section-operations.append.test.js
section-operations.append.test.js.map
section-operations.test.d.ts
section-operations.test.d.ts.map
section-operations.test.js
section-operations.test.js.map
slug-utils.test.d.ts
slug-utils.test.d.ts.map
slug-utils.test.js
slug-utils.test.js.map
task-operations.test.d.ts
task-operations.test.d.ts.map
task-operations.test.js
task-operations.test.js.map
task-validation.test.d.ts
task-validation.test.d.ts.map
task-validation.test.js
task-validation.test.js.map
task-view-utilities.test.d.ts
task-view-utilities.test.d.ts.map
task-view-utilities.test.js
task-view-utilities.test.js.map
tool-integration.array-validation.test.d.ts
tool-integration.array-validation.test.d.ts.map
tool-integration.array-validation.test.js
tool-integration.array-validation.test.js.map
tool-integration.hierarchical.test.d.ts
tool-integration.hierarchical.test.d.ts.map
tool-integration.hierarchical.test.js
tool-integration.hierarchical.test.js.map
workflow-prompt-utilities.test.d.ts
workflow-prompt-utilities.test.d.ts.map
workflow-prompt-utilities.test.js
workflow-prompt-utilities.test.js.map
addressing-system.d.ts
addressing-system.d.ts.map
addressing-system.js
addressing-system.js.map
document-analysis/
document-analysis.d.ts
document-analysis.d.ts.map
document-analysis.js
document-analysis.js.map
__tests__/
keyword-utils.test.d.ts
keyword-utils.test.d.ts.map
keyword-utils.test.js
keyword-utils.test.js.map
index.d.ts
index.d.ts.map
index.js
index.js.map
keyword-utils.d.ts
keyword-utils.d.ts.map
keyword-utils.js
keyword-utils.js.map
reference-validation.d.ts
reference-validation.d.ts.map
reference-validation.js
reference-validation.js.map
related-docs.d.ts
related-docs.d.ts.map
related-docs.js
related-docs.js.map
types.d.ts
types.d.ts.map
types.js
types.js.map
document-manager-factory.d.ts
document-manager-factory.d.ts.map
document-manager-factory.js
document-manager-factory.js.map
index.d.ts
index.d.ts.map
index.js
index.js.map
link-analysis.d.ts
link-analysis.d.ts.map
link-analysis.js
link-analysis.js.map
link-context.d.ts
link-context.d.ts.map
link-context.js
link-context.js.map
link-utils.d.ts
link-utils.d.ts.map
link-utils.js
link-utils.js.map
link-validation.d.ts
link-validation.d.ts.map
link-validation.js
link-validation.js.map
namespace-analysis.d.ts
namespace-analysis.d.ts.map
namespace-analysis.js
namespace-analysis.js.map
namespace-constants.d.ts
namespace-constants.d.ts.map
namespace-constants.js
namespace-constants.js.map
path-utilities.d.ts
path-utilities.d.ts.map
path-utilities.js
path-utilities.js.map
reference-extractor.d.ts
reference-extractor.d.ts.map
reference-extractor.js
reference-extractor.js.map
reference-loader.d.ts
reference-loader.d.ts.map
reference-loader.js
reference-loader.js.map
section-operations.d.ts
section-operations.d.ts.map
section-operations.js
section-operations.js.map
slug-utils.d.ts
slug-utils.d.ts.map
slug-utils.js
slug-utils.js.map
task-operations.d.ts
task-operations.d.ts.map
task-operations.js
task-operations.js.map
task-utilities.d.ts
task-utilities.d.ts.map
task-utilities.js
... 1600 moreShowing a partial view of a very large repo.
© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic