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
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
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
Run the automated setup wizard
The 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
Install dependencies
Create 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:
Edit the .env file:
Configure Claude Desktop manually (see "Using with Claude Desktop" section below)
Start the server
Using with Claude Desktop
Option 1: Using npx (Recommended - Simplest Setup)
Add to your claude_desktop_config.json:
Benefits:
No need to clone the repository
Always uses the latest published version
Simplest configuration
For local development, use http://localhost:3000 instead:
Option 2: Using Local Installation
If you prefer to run from a local clone:
Then restart Claude Desktop to load the planning tools.
Example Usage
Search Examples
Plan Management
Batch Operations
Rich Context
Project Structure
Development
Running in Development Mode
Environment 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.2.0)NODE_ENV- Environment (development/production)
Testing Tools
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:
Performance 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
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