agent-planner-mcp
v0.6.2
Published
MCP server for AgentPlanner — AI agent orchestration with planning, dependencies, knowledge graphs, and human oversight
Maintainers
Readme
AgentPlanner MCP Server
MCP server for AgentPlanner — AI agent orchestration with planning, dependencies, knowledge graphs, and human oversight. Works with Claude Desktop, Claude Code, ChatGPT, Cursor, Windsurf, Cline, and any MCP-compatible client.
Prerequisites
- An AgentPlanner account at agentplanner.io
- An API token (Settings > API Tokens in the AgentPlanner UI)
Setup
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"agent-planner": {
"command": "npx",
"args": ["-y", "agent-planner-mcp"],
"env": {
"USER_API_TOKEN": "your-token",
"API_URL": "https://agentplanner.io/api"
}
}
}
}Config location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) | %APPDATA%\Claude\claude_desktop_config.json (Windows)
Claude Code
claude mcp add agent-planner -- npx -y agent-planner-mcpThen set the env vars USER_API_TOKEN and API_URL=https://agentplanner.io/api.
ChatGPT
- Settings > Apps > Advanced > Developer mode
- Add MCP Server > URL:
https://agentplanner.io/mcp - Auth type: API Key > enter your token from agentplanner.io Settings
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"agent-planner": {
"command": "npx",
"args": ["-y", "agent-planner-mcp"],
"env": {
"USER_API_TOKEN": "your-token",
"API_URL": "https://agentplanner.io/api"
}
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"agent-planner": {
"command": "npx",
"args": ["-y", "agent-planner-mcp"],
"env": {
"USER_API_TOKEN": "your-token",
"API_URL": "https://agentplanner.io/api"
}
}
}
}Cline (VS Code)
Add the same JSON config to your Cline MCP settings in VS Code.
Any HTTP MCP Client
- Endpoint:
https://agentplanner.io/mcp - Discovery:
https://agentplanner.io/.well-known/mcp.json - Auth header:
Authorization: ApiKey <your-token> - Transport: Streamable HTTP (MCP 2025-03-26)
Key Features
- 60+ tools for planning, task management, dependencies, and knowledge
- Dependency graph with cycle detection, impact analysis, and critical path
- Progressive context — 4-layer context assembly with token budgeting
- Knowledge graph — temporal knowledge via Graphiti (entities, facts, contradictions)
- RPI chains — Research > Plan > Implement task decomposition
- Goal tracking — health dashboard, briefings, bottleneck detection
- Task claims — TTL-based locking for multi-agent coordination
- Organizations — multi-tenant isolation
Available Tools
Planning & Search
search- Universal search across all scopes with filterscreate_plan/update_plan/delete_plan- Plan CRUDget_plan_structure- Hierarchical plan treeget_plan_summary- Statistics and summary
Node Management
create_node/update_node/delete_node- Node CRUDmove_node- Reorder or reparent nodesbatch_update_nodes- Update multiple nodes at onceget_node_context/get_node_ancestry- Rich context
Dependencies & Analysis
create_dependency/delete_dependency- Manage edgeslist_dependencies/get_node_dependencies- Query graphanalyze_impact- Delay/block/remove scenario analysisget_critical_path- Longest blocking chaincreate_rpi_chain- Research > Plan > Implement chain
Progressive Context
get_task_context- Primary context tool (depth 1-4, token budget)suggest_next_tasks- Dependency-aware suggestionsget_agent_context/get_plan_context- Focused views
Knowledge Graph
add_learning/recall_knowledge- Learn and retrievefind_entities/check_contradictions- Graph queriesget_recent_episodes- Temporal episodes
Goals & Organizations
create_goal/update_goal/list_goals/get_goal- Goal managementcheck_goals_health- Health dashboardcreate_organization/get_organization/list_organizations/update_organization
Collaboration
add_log/get_logs- Log entries (comments, progress, reasoning)claim_task/release_task- Task lockingshare_plan- Collaboration management
LLM Skill Reference
See SKILL.md for a complete reference designed to be consumed by LLMs. Include it in system prompts or agent configurations to give any LLM full knowledge of how to use AgentPlanner tools effectively.
See AGENT_GUIDE.md for a quick reference card.
Transport Modes
stdio (default)
For local use with Claude Desktop, Claude Code, Cursor, Windsurf, Cline:
npx agent-planner-mcpHTTP/SSE
For remote access (ChatGPT, cloud deployments, multi-agent systems):
MCP_TRANSPORT=http npx agent-planner-mcp
# Listens on http://127.0.0.1:3100Production endpoint: https://agentplanner.io/mcp
See HTTP_MODE.md for details.
Local Development
git clone https://github.com/TAgents/agent-planner-mcp.git
cd agent-planner-mcp
npm install
npm run setup # Interactive setup wizard
npm run dev # Dev server with hot reloadEnvironment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| API_URL | AgentPlanner API URL | http://localhost:3000 |
| USER_API_TOKEN | API token (required) | — |
| MCP_TRANSPORT | stdio or http | stdio |
| PORT | HTTP mode port | 3100 |
| NODE_ENV | Environment | production |
License
MIT License - see LICENSE for details.
Support
- GitHub Issues
- CHANGELOG.md for version history
- PDR.md for technical design
