This MCP server enables AI agents to interact with a comprehensive planning system for project management through the following capabilities:
Plan Management Create, update, delete, and list plans with status tracking (draft, active, completed, archived). Retrieve full hierarchical structure or comprehensive summaries of plans.
Node Operations (Phases, Tasks, Milestones) Create nodes with rich metadata (title, description, type, status, due dates, agent instructions, acceptance criteria). Update, delete, move, and reorder nodes within the hierarchy. Get full node context (children, logs, artifacts) or ancestry path from root to a specific node. Batch update multiple nodes in a single operation.
Universal Search Query across global, plan, or node scopes with filters for type, status, and result limits.
Logging & Collaboration Add and retrieve log entries (progress, reasoning, challenge, decision, comment) with tagging and filtering support.
Artifact Management Add, get, search, list, and batch retrieve artifacts associated with nodes, including metadata and content type support.
Dependency Analysis Create dependency edges with cycle detection, list dependencies, analyze impact scenarios, and identify critical paths.
Progressive Context Loading Retrieve task context at configurable depth levels (1–4) with token budgeting for efficient agent context management, plus dependency-aware task suggestions.
RPI Chains Create structured Research→Plan→Implement task decompositions with automatic dependency wiring.
Transport Flexibility Supports stdio mode for local use and HTTP/SSE mode for remote or cloud deployment.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Planning System MCP Serversearch for all active tasks in the product launch plan"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Planning System MCP Server
A Model Context Protocol (MCP) server interface for the Planning System API, enabling AI agents to interact with planning data through powerful, efficient tools.
Overview
This MCP server connects to the Planning System API, providing AI agents with comprehensive planning capabilities through a clean, structured interface. All interactions use JSON responses for easy parsing and processing.
✨ Key Features
Core Capabilities
Full CRUD Operations: Create, read, update, and delete plans, nodes, and artifacts
Unified Search: Single powerful search tool for all contexts (global, plans, nodes)
Batch Operations: Update multiple nodes or retrieve multiple artifacts efficiently
Rich Context: Get comprehensive node context including ancestry, children, logs, and artifacts
Structured Responses: Clean JSON data for easy agent processing
Dependency Graph: Create dependency edges with cycle detection, traverse upstream/downstream, analyze impact
Progressive Context: 4-layer context assembly with token budgeting for efficient agent context loading
RPI Chains: Research→Plan→Implement task decomposition with automatic dependency wiring
Available Tools
Planning & Search
search- Universal search across all scopes with filterscreate_plan- Create new plansupdate_plan- Update plan propertiesdelete_plan- Delete entire plansget_plan_structure- Get hierarchical plan structureget_plan_summary- Get comprehensive statistics and summary
Node Management
create_node- Create phases, tasks, or milestonesupdate_node- Update any node propertiesdelete_node- Delete nodes and their childrenmove_node- Reorder or reparent nodesget_node_context- Get rich contextual informationget_node_ancestry- Get path from root to nodebatch_update_nodes- Update multiple nodes at once
Collaboration & Tracking
add_log- Add log entries (including comments, progress, reasoning, etc.)get_logs- Retrieve filtered log entriesmanage_artifact- Add, get, search, or list artifactsbatch_get_artifacts- Retrieve multiple artifacts efficiently
Dependencies & Analysis
create_dependency- Create dependency edge between nodes (with cycle detection)delete_dependency- Remove a dependency edgelist_dependencies- List all dependency edges in a planget_node_dependencies- Get upstream/downstream dependencies for a nodeanalyze_impact- Impact analysis (delay/block/remove scenarios)get_critical_path- Find longest blocking chain through incomplete taskscreate_rpi_chain- Create Research→Plan→Implement task chain
Progressive Context
get_task_context- Primary context tool — progressive depth 1-4 with token budgetingsuggest_next_tasks- Dependency-aware task suggestions with RPI recommendationsget_agent_context- Focused context for a task (leaf-up traversal)get_plan_context- Plan-level overview with phase summaries
Getting Started
Prerequisites
Node.js 16+
npm or yarn
Access to a running Planning System API
API token for authentication
Quick Setup (Recommended)
Install dependencies
npm installRun the automated setup wizard
npm run setupThe wizard will:
Check API server connectivity
Guide you through creating an API token in the UI
Create your
.envfileDetect and update your Claude Desktop config
Test the connection
That's it! Restart Claude Desktop and you're ready to go.
Manual Installation (Advanced)
If you prefer manual setup or the wizard doesn't work for your setup:
Clone the repository
git clone https://github.com/talkingagents/agent-planner-mcp.git
cd agent-planner-mcpInstall dependencies
npm installCreate an API token:
Open http://localhost:3001/app/settings in your browser
Navigate to "API Tokens" section
Click "Create MCP Token"
Copy the generated token
Create
.envfile:
cp .env.example .envEdit the .env file:
API_URL=http://localhost:3000
USER_API_TOKEN=your_api_token_here
MCP_SERVER_NAME=planning-system
MCP_SERVER_VERSION=0.3.1
NODE_ENV=productionConfigure Claude Desktop manually (see "Using with Claude Desktop" section below)
Start the server
npm startTransport Modes
The Planning System MCP Server supports two transport modes:
🖥️ stdio Mode (Default)
For local use with Claude Desktop, Claude Code, and other local MCP clients:
Default transport when running
npm startCommunication via stdin/stdout
Best for development and personal use
See sections below for Claude Desktop configuration
🌐 HTTP/SSE Mode
For remote access via Anthropic's MCP Connector and cloud deployments:
Implements MCP Streamable HTTP specification (2025-06-18)
RESTful JSON-RPC API over HTTP
Production-ready for Cloud Run deployment
Supports session management and concurrent connections
Documentation: See HTTP_MODE.md
Deployment: See MCP_REGISTRY.md
Quick Start (HTTP Mode):
# Local development
npm run start:http
# Server runs on http://127.0.0.1:3100
# Production deployment
./deploy.sh
# Deploys to Google Cloud Run (europe-north1)Use Cases:
✅ Anthropic Messages API: Use with Claude via MCP Connector
✅ Multi-Agent Systems: agent-runtime integration
✅ Cloud Deployment: Scalable, always-available service
✅ MCP Registry: Discoverable via registry lookup
For detailed HTTP mode documentation, see HTTP_MODE.md.
Using with Claude Desktop
Option 1: Using npx (Recommended - Simplest Setup)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"planning-system": {
"command": "npx",
"args": [
"-y",
"agent-planner-mcp"
],
"env": {
"API_URL": "https://api.agentplanner.io",
"USER_API_TOKEN": "your_api_token_here"
}
}
}
}Benefits:
No need to clone the repository
Always uses the latest published version
Simplest configuration
For local development, use http://localhost:3000 instead:
"API_URL": "http://localhost:3000"Option 2: Using Local Installation
If you prefer to run from a local clone:
{
"mcpServers": {
"planning-system": {
"command": "node",
"args": [
"/path/to/agent-planner-mcp/src/index.js"
],
"env": {
"API_URL": "https://api.agentplanner.io",
"USER_API_TOKEN": "your_api_token_here"
}
}
}
}Then restart Claude Desktop to load the planning tools.
Example Usage
Search Examples
// Global search
search({
scope: "global",
query: "API integration",
filters: { type: "task", status: "in_progress" }
})
// Search within a specific plan
search({
scope: "plan",
scope_id: "plan-123",
query: "testing"
})Plan Management
// Create a plan with initial structure
create_plan({
title: "Product Launch Q1 2025",
description: "Complete product launch plan",
status: "active"
})
// Add nodes to the plan
create_node({
plan_id: "plan-123",
node_type: "task",
title: "Research Auth Patterns",
description: "Investigate auth strategies for microservices",
task_mode: "research" // research | plan | implement | free
})Batch Operations
// Update multiple nodes efficiently
batch_update_nodes({
plan_id: "plan-123",
updates: [
{ node_id: "node-1", status: "completed" },
{ node_id: "node-2", status: "in_progress" },
{ node_id: "node-3", description: "Updated requirements" }
]
})
// Get multiple artifacts at once
batch_get_artifacts({
plan_id: "plan-123",
artifact_requests: [
{ node_id: "node-1", artifact_id: "art-1" },
{ node_id: "node-2", artifact_id: "art-2" }
]
})Rich Context
// Get comprehensive node information
get_node_context({
plan_id: "plan-123",
node_id: "node-456"
})
// Returns: node details, children, logs, artifacts, plan info
// Track node ancestry
get_node_ancestry({
plan_id: "plan-123",
node_id: "node-456"
})
// Returns: path from root to nodeProgressive Context
// Get progressive context for a task (recommended over get_node_context)
get_task_context({
node_id: "node-456",
depth: 2, // 1=task, 2=+neighborhood, 3=+knowledge, 4=+plan overview
token_budget: 4000 // optional: limit context to ~4000 tokens
})
// Returns: task details, logs, RPI research, parent, siblings, dependencies
// Get dependency-aware task suggestions
suggest_next_tasks({
plan_id: "plan-123",
limit: 5
})
// Returns: ready tasks sorted by priority (RPI research first, then by impact)Project Structure
src/
├── index.js # Main entry point
├── tools.js # Tool implementations
├── api-client.js # API client with axios
└── tools/
└── search-wrapper.js # Search functionality wrapperDevelopment
Running in Development Mode
npm run dev # Auto-restart on changesEnvironment Variables
API_URL- Planning System API URLUSER_API_TOKEN- Authentication tokenMCP_SERVER_NAME- Server name (default: planning-system-mcp)MCP_SERVER_VERSION- Server version (default: 0.3.1)NODE_ENV- Environment (development/production)
Testing Tools
// Test search functionality
search({ scope: "global", query: "test" })
// Test node operations
create_node({ plan_id: "...", node_type: "task", title: "Test" })
update_node({ plan_id: "...", node_id: "...", status: "completed" })
delete_node({ plan_id: "...", node_id: "..." })
// Test batch operations
batch_update_nodes({ plan_id: "...", updates: [...] })Troubleshooting
Common Issues
Connection errors: Ensure the Planning System API is running
Authentication errors: Verify your USER_API_TOKEN is valid
Tool errors: Check error messages in console output
Debug Mode
Enable verbose logging:
NODE_ENV=development npm startPerformance Tips
Use batch operations when updating multiple items
Use appropriate search scopes to minimize API calls
Cache plan structures when making multiple operations
Apply filters to limit result sets
LLM Skill Reference
See SKILL.md for a complete reference designed to be consumed by LLMs. Include it in system prompts, CLAUDE.md files, or agent configurations to give any LLM full knowledge of how to use AgentPlanner tools effectively.
Covers: workflow sequence, all tools with usage guidance, RPI chains, dependency management, progressive context loading, status values, and common patterns.
License
MIT License - see LICENSE file for details.
Support
Report bugs via GitHub Issues
See PDR.md for technical design details
Check CHANGELOG.md for version history
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.