@gongrzhe/server-gantt-planner
v1.0.0
Published
Timeline/Gantt Planner MCP App Server with interactive Gantt chart and dependency management
Readme
Gantt Planner MCP Server
Interactive Gantt chart with task dependencies, critical path analysis, and SVG timeline visualization.
Features
- Automatic Task Scheduling - Compute project schedules from task durations and dependencies using topological sort
- Critical Path Analysis - Identify the longest chain of dependent tasks to find true project completion date
- Dependency Management - Define complex task relationships with automatic date calculation
- Task Assignment - Assign team members to tasks and track task ownership
- Circular Dependency Detection - Automatically detect and report circular dependencies in task graphs
- Interactive UI - Visual Gantt chart with drag-and-drop task management and real-time schedule updates
Installation
npm install @gongrzhe/server-gantt-plannerUsage
As a CLI
npx @gongrzhe/server-gantt-plannerClaude Desktop Configuration
{
"mcpServers": {
"gantt-planner": {
"command": "npx",
"args": ["-y", "@gongrzhe/server-gantt-planner"]
}
}
}Claude Code Configuration
claude mcp add gantt-planner -- npx -y @gongrzhe/server-gantt-plannerTools
compute-schedule
Computes the project schedule based on tasks with durations and dependencies.
Input:
tasks(array) - List of tasks with:id(string) - Unique task identifiername(string) - Task namedurationDays(number) - Duration in daysdependsOn(array, optional) - IDs of tasks this depends onassignee(string, optional) - Person assigned to the taskcolor(string, optional) - Custom color for the task bar (hex)
startDate(string) - Project start date (YYYY-MM-DD)
Output:
tasks- Scheduled tasks with computed start/end datestotalDays- Total project duration in daysstartDate- Project start dateendDate- Project end datecriticalPath- Array of task IDs representing the critical pathhasCircularDeps- Whether circular dependencies were detectederrors(optional) - Array of error messages if any
add-task
Creates a new task with a unique ID.
Input:
name(string) - Task namedurationDays(number) - Duration in daysdependsOn(array, optional) - IDs of tasks this depends onassignee(string, optional) - Person assigned to the task
Output:
task- The created task object with generated ID
Example Prompt
Plan a project with the following tasks:
- Discovery: 5 days
- Wireframes: 3 days (after Discovery)
- Design: 5 days (after Wireframes)
- Dev: 8 days (after Design)
- QA: 3 days (after Dev)License
MIT
