Supports installation via curl script, enabling easy setup of the MCPlanManager environment.
Enables AI agents to work with GitHub repositories through MCP client configuration, supporting task management for GitHub-based workflows.
Generates context-aware prompts in Markdown format to assist with task execution.
Provides visualization capabilities for task dependencies using Mermaid graph code generation.
Uses Python as the runtime environment for the MCP server, with direct module execution support for tool integration.
MCPlanManager - AI Agent 任务管理系统
一个简洁高效的任务管理器,专为 AI Agent 的长程任务执行而设计,支持MCP (Model Context Protocol) 标准。
🎯 核心特性
- 简洁的JSON结构: 最小化复杂度,使用简单的依赖ID数组
- 完整的工具函数集: 涵盖任务生命周期的所有操作
- 循环依赖检测: 自动防止无效的依赖关系
- 可视化支持: 提供多种依赖关系可视化方式(ASCII、树形、Mermaid)
- 智能Prompt生成: 自动生成上下文感知的执行指导
- MCP标准支持: 兼容各种支持MCP的AI客户端
- 灵活的部署方式: 支持多种安装和配置方式
📁 项目结构
🚀 安装方法
推荐方式:源码安装
直接从GitHub安装
🔧 MCP客户端配置
Cursor IDE
- 安装依赖:
- 配置Cursor:
- 打开Cursor设置 → Extensions → MCP
- 添加以下配置到
mcp_servers.json
:
- 验证安装: 重启Cursor,在Chat中应该能看到MCPlanManager工具可用。
Claude Desktop
- 安装依赖:
- 配置Claude Desktop:
- 找到Claude Desktop配置文件:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/claude/claude_desktop_config.json
- macOS:
- 添加以下配置:
- 找到Claude Desktop配置文件:
- 重启Claude Desktop使配置生效。
Continue.dev
- 安装依赖:
- 配置Continue:
- 编辑
~/.continue/config.json
- 添加MCP服务器配置:
- 编辑
自定义MCP客户端
对于其他支持MCP的客户端,使用以下通用配置模板:
🛠️ 可用的MCP工具
安装配置成功后,您可以使用以下12个工具:
基础任务管理
initializePlan
- 初始化新的任务计划getCurrentTask
- 获取当前正在执行的任务startNextTask
- 开始下一个可执行的任务completeTask
- 标记任务为完成状态failTask
- 标记任务失败skipTask
- 跳过指定任务
任务操作
addTask
- 添加新任务到计划中getTaskList
- 获取任务列表(支持状态过滤)getExecutableTaskList
- 获取当前可执行的任务列表getPlanStatus
- 获取整个计划的状态
可视化和辅助
visualizeDependencies
- 生成依赖关系可视化(ASCII、树形、Mermaid格式)generateContextPrompt
- 生成上下文感知的执行提示词
💡 使用示例
基本用法 (MCP模式)
MCPlanManager专为AI模型设计,模型只需要提供业务内容,技术字段由工具自动维护:
AI模型只需要提供:
goal
: 计划目标tasks
: 任务列表,每个任务包含:name
: 任务名称reasoning
: 执行理由dependencies
: 依赖的任务(任务名称列表或索引列表)
工具自动维护:
id
: 从1开始自动分配status
: 初始为"pending"result
: 初始为Nonecreated_at/updated_at
: 自动设置时间戳
MCP客户端中的对话示例
编程使用示例
🔍 依赖关系可视化
MCPlanManager支持多种可视化格式:
📊 任务状态管理
支持的任务状态:
- pending: 等待执行
- in_progress: 正在执行
- completed: 已完成
- failed: 执行失败
- skipped: 已跳过
🛡️ 错误处理
MCPlanManager具有完整的错误处理机制:
- 自动检测循环依赖
- 验证任务依赖关系
- 提供详细的错误信息
- 支持任务重试机制
📝 开发和贡献
本地开发
测试MCP服务器
📄 许可证
MIT License - 详见 LICENSE 文件
📞 联系和支持
- 作者: Donwaydoom
- 邮箱: Donwaydoom@gmail.com
- GitHub: https://github.com/donway19/MCPlanManager
- Issues: https://github.com/donway19/MCPlanManager/issues
🎯 版本历史
- v1.0.0: 初始版本
- 完整的MCP支持
- 12个核心工具函数
- 多种可视化格式
- 完善的错误处理
MCPlanManager - 让AI Agent的任务管理变得简单高效!
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
An AI agent task management system that provides structure and visualization for long-term task planning with support for the Model Context Protocol (MCP) standard.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that converts Cursor agent plans into structured markdown task lists and organizes them in your repository, helping you track AI-generated plans and recommendations as actionable specifications.Last updated -3PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that provides persistent task management capabilities for AI assistants, allowing them to create, update, and track tasks beyond their usual context limitations.Last updated -1TypeScript
- -securityAlicense-qualityAI-driven task management application that operates via MCP, enabling autonomous creation, organization, and execution of tasks with support for subtasks, priorities, and progress tracking.Last updated -PythonMIT License
- AsecurityAlicenseAqualityA local Model Context Protocol server providing backend tools for AI agents to manage projects and tasks with persistent storage in SQLite, enabling structured tracking of project tasks with dependencies, priorities, and statuses.Last updated -1248TypeScriptGPL 3.0