Planning System MCP Server
Enables AI agents to create, manage, and search hierarchical plans with phases, tasks, and milestones through a comprehensive planning API. Supports CRUD operations, batch updates, rich context retrieval, and artifact management for structured project planning.
README
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
npm install
- Run the automated setup wizard
npm run setup
The wizard will:
- Check API server connectivity
- Guide you through creating an API token in the UI
- Create your
.envfile - Detect 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-mcp
- Install dependencies
npm install
-
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:
cp .env.example .env
Edit the .env file:
API_URL=http://localhost:3000
USER_API_TOKEN=your_api_token_here
MCP_SERVER_NAME=planning-system
MCP_SERVER_VERSION=0.2.0
NODE_ENV=production
-
Configure Claude Desktop manually (see "Using with Claude Desktop" section below)
-
Start the server
npm start
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: "phase",
title: "Market Research",
description: "Initial market analysis and competitor research"
})
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 node
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 wrapper
Development
Running in Development Mode
npm run dev # Auto-restart on changes
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
// 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 start
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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。