Help Claude think systematically and plan before tackling tasks, improving efficiency and quality!
An MCP (Model Context Protocol) server implementation that provides task planning and tracking tools for Claude and other MCP-compatible AI assistants.
This Task Planner MCP server enables AI assistants to:
- Create structured task plans ✨
- Add and track steps for completing tasks 📊
- Mark steps as complete as they are finished ✅
- Document and resolve issues that arise during task execution 🛠️
- Review the current state of plans 👀
All planning information is stored in a local plan.md file that can be reviewed and edited by humans.
- Structured Planning: Create organized task plans with steps and planning notes 📑
- Progress Tracking: Mark steps as complete as you execute them ⏱️
- Issue Management: Document problems and their resolutions 🔍
- Review Capability: Review the entire plan or specific tasks at any time 👁️
- File-Based Storage: All information stored in a human-readable Markdown file 📁
This MCP server exposes the following tools:
| Tool | Description |
|---|---|
think_and_plan |
Create a new structured plan for a task 🧠 |
add_step |
Add a new step to an existing task plan ➕ |
mark_step_complete |
Mark a step as completed ✓ |
review_plan |
View the current plan contents 📖 |
add_issue |
Document an issue with a specific step |
resolve_issue |
Mark an issue as resolved with explanation 🎯 |
update_planning_notes |
Update the planning notes for a task 📝 |
check_task_completion |
Check the completion status of a task 🔄 |
delete_step |
Delete a step from the plan 🗑️ |
delete_task |
Delete a task from the plan 🗑️ |
set_priority |
Set task priority High🔴Medium🟠Low🟢 |
- Python 3.10+ 🐍
- MCP SDK (
pip install mcp)
-
Clone this repository:
git clone https://github.com/may3rr/think_and_plan_MCP.git cd think_and_plan_MCP -
Install dependencies:
pip install mcp -
Run the server directly:
python planner_server.py
To use with Claude Desktop:
- Open Claude Desktop settings
- Edit the configuration file
- Add the following to your
claude_desktop_config.json:
"TaskPlanner": { "command": "/path/to/python", "args": [ "/path/to/think_and_plan_MCP/planner_server.py" ] }
Replace /path/to/python with your Python interpreter path and update the path to the planner_server.py file.
To use with Cursor:
-
Open Settings -> Cursor settings -> Features.
-
Edit the MCP Servers section and add a new MCP server.
-
Set the following:
- Name:
TaskPlanner - Type:
Command
- Name:
-
Set the Command to:
/path/to/python /path/to/think_and_plan_MCP/planner_server.pyReplace
/path/to/pythonwith the path to your Python interpreter and update the path to theplanner_server.pyfile.
Once the server is running and connected to an MCP client (like Claude Desktop), you can use the tools in your conversations:
Think and plan, create a personal website
The planner creates a plan.md file with a structure like this:
# Task Plan Created on: 2025年03月16日 14:30:00 ## Build a personal website Created: 2025年03月16日 14:30:00 ### Planning Notes This is a preliminary analysis of the task. ### Steps [✅] Set up development environment [ ] Create HTML structure [ ] Style with CSS - ⚠️ ISSUE: CSS styles not applying to navigation menu (✓ RESOLVED: Fixed by correcting CSS selector specificity) [ ] Add JavaScript interactions [ ] Deploy to hosting service
- Permission errors: Ensure the directory where
plan.mdis created has write permissions. - Integration issues: Check Claude Desktop logs for connection errors.
- MCP errors: Ensure the MCP SDK is properly installed.
MIT
Contributions are welcome! Please feel free to submit a Pull Request.