GanttPRO MCP by usefulapi
v1.1.0Read projects, tasks and time logs; create and update tasks; add comments and links in GanttPRO.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ganttpro_get_team Get team
Get the GanttPRO team that the API key belongs to. Good first call to confirm the key works.
ganttpro_list_projects List projects
List the projects in the team. Use the projectId values with the task tools.
ganttpro_get_project Get a project
Get one project by its projectId.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project id (from ganttpro_list_projects). |
ganttpro_get_task_fields Get task fields
Get the task fields (including custom fields) defined for one or more projects.
| Parameter | Type | Description |
|---|---|---|
projectId * | array | One or more project ids. |
ganttpro_get_project_calendars Get project calendars
Get the calendars used by the team's projects, including working days and custom days.
ganttpro_list_tasks List tasks
List the tasks of one or more projects, with optional filters. Status and priority are the numeric codes the API defines (status 1-4, priority 1-5).
| Parameter | Type | Description |
|---|---|---|
projectId * | array | One or more project ids. Required. |
ownerId | array | Only tasks owned by these user ids. |
parent | array | Only child tasks of these task ids. |
priority | array | Priority codes to keep (1-5). |
status | array | Status codes to keep (1-4). |
ganttpro_get_task Get a task
Get one task by its taskId.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task id (from ganttpro_list_tasks). |
ganttpro_list_resources List resources
List the resources (people or equipment) that can be assigned to tasks.
ganttpro_list_users List users
List the users of the team.
ganttpro_get_user Get a user
Get one user by its userId.
| Parameter | Type | Description |
|---|---|---|
userId * | integer | The user id (from ganttpro_list_users). |
ganttpro_list_comments List task comments
List the comments on one or more tasks.
| Parameter | Type | Description |
|---|---|---|
taskId * | array | One or more task ids. |
ganttpro_list_time_logs List time logs
List the time logs reported on one or more tasks.
| Parameter | Type | Description |
|---|---|---|
taskId * | array | One or more task ids. |
ganttpro_get_link Get a task link
Get one dependency link between two tasks by its linkId.
| Parameter | Type | Description |
|---|---|---|
linkId * | integer | The link id. |
ganttpro_create_task Create a task
Create a task in a project. Name and projectId are required. The API defaults are status 1, progress 0, priority 3, color 1, duration 1 working day, starting at the first working hour of today. Creates a new task on every call.
| Parameter | Type | Description |
|---|---|---|
name * | string | Task name. |
projectId * | integer | The project to add the task to. |
color | integer | Color code (1-18). |
deadline | string | Deadline, as the GanttPRO API expects it. |
description | string | Task description (HTML, as the API stores it). |
duration | integer | Duration in working days. |
endDate | string | End date, as the GanttPRO API expects it. |
estimation | integer | Estimation in minutes. |
parent | integer | Parent task id, to make this a child task. |
priority | integer | Priority code (1-5). |
progress | number | Progress from 0 to 1. |
startDate | string | Start date, as the GanttPRO API expects it. |
status | integer | Status code (1-4). |
type | string | Task or milestone. |
ganttpro_update_task Update a task
Change only the fields you pass on one task. Passing only startDate re-calculates endDate. Repeating the same call leaves the task the same.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task to change. |
color | integer | |
deadline | string | |
description | string | |
duration | integer | |
endDate | string | |
estimation | integer | |
name | string | |
parent | integer | |
priority | integer | |
progress | number | |
startDate | string | |
status | integer |
ganttpro_add_comment Add a task comment
Add a comment to a task as one user. Creates a new comment on every call.
| Parameter | Type | Description |
|---|---|---|
comment * | string | The comment text. |
taskId * | integer | The task to comment on. |
userId * | integer | The user who writes the comment (from ganttpro_list_users). |
ganttpro_add_time_log Add a time log
Report time spent on a task by one resource. Creates a new time log on every call.
| Parameter | Type | Description |
|---|---|---|
resourceId * | integer | The resource that spent the time (from ganttpro_list_resources). |
taskId * | integer | The task the time was spent on. |
time * | integer | Time in minutes (1 to 1440, the API limit). |
comment | string | Optional note. |
date | string | Date of the work, as YYYY-MM-DD. |
ganttpro_create_link Create a task link
Create a dependency link from one task to another. Creates a new link on every call.
| Parameter | Type | Description |
|---|---|---|
source * | integer | The task at the start of the link. |
target * | integer | The task at the end of the link. |
type * | string | Link type code as the API defines it ('0' to '3'). |
lag | integer | Lag as the API defines it. |