aidflow
Session-based development workflow MCP server for Claude Code that structures tasks into sessions with plans, progress tracking, and archiving for context resumption.
README
aidflow
Session-based development workflow MCP server for Claude Code.
Every development task gets its own session with a plan, progress tracking, and archiving. Claude Code automatically resumes where you left off, even in new conversations.
Installation
npm install -g aidflow
Add to your Claude Code MCP configuration (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"aidflow": {
"command": "aidflow",
"env": {
"AIDFLOW_ROOT": "/path/to/your/project"
}
}
}
}
Or run with npx (no install):
{
"mcpServers": {
"aidflow": {
"command": "npx",
"args": ["-y", "aidflow"],
"env": {
"AIDFLOW_ROOT": "/path/to/your/project"
}
}
}
}
AIDFLOW_ROOTdefaults toprocess.cwd()if not set.
What It Does
aidflow structures your Claude Code workflow into sessions - isolated units of work with plans, progress tracking, and completion reports.
Development Cycle
init -> /spec -> session create -> plan create -> work -> /review -> session complete -> /report
init- Set up.aidflow/directory and configuration/spec- Define project engineering foundations (SPEC.md)session create- Start a new work sessionplan create- Structured planning with multi-round requirements gathering- Work - Implement using Claude Code's native tools, following the plan
/review- Quality gate before completingsession complete- Archive the session to history/report- Generate a completion report
Context Recovery
When you start a new conversation, aidflow automatically detects active sessions and resumes where you left off - reading the plan, checking progress, and continuing work without losing context.
Git Worktree Support
Each session can optionally create a git worktree, giving you an isolated branch for the work. Useful for parallel tasks.
Tools
| Tool | Actions | Description |
|---|---|---|
init |
- | Initialize aidflow in a project |
session |
create, list, status, complete | Manage development sessions |
plan |
create, get | Create and track work plans |
guide |
list, read | Access project-specific guide documents |
Skills
Installed to .claude/commands/ during init:
| Skill | Description |
|---|---|
/spec |
Create or update SPEC.md (project conventions) |
/review |
Quality review before session complete |
/report |
Generate completion report after archiving |
Project Structure
After init, your project gets:
your-project/
SPEC.md # Project engineering foundations (via /spec)
.aidflow/
config.yaml # Configuration
README.md # Internal documentation
sessions/ # Active sessions
{name}/
meta.json # Session metadata
plan.md # Work plan (optional)
history/ # Archived sessions
YYMMDD_{name}/
meta.json
plan.md
report.md
guides/ # Project-specific guides
worktrees/ # Git worktrees (gitignored)
.claude/
commands/ # Claude Code skills
spec.md
review.md
report.md
Configuration
.aidflow/config.yaml:
version: 1
worktree:
auto: false # Auto-create worktree per session
path: ".aidflow/worktrees"
branch_prefix: "" # e.g., "feature/", "fix/"
session:
history_path: ".aidflow/history"
date_format: "YYMMDD" # or "YYYYMMDD"
guides:
path: ".aidflow/guides"
Requirements
- Node.js >= 22
- Claude Code (or any MCP-compatible AI client)
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.