GanttPRO MCP by usefulapi

v1.1.0
io.usefulapi/ganttpro Checked 8 hours ago Published 6 days ago

Read 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.

ParameterTypeDescription
projectId *integerThe 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.

ParameterTypeDescription
projectId *arrayOne 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).

ParameterTypeDescription
projectId *arrayOne or more project ids. Required.
ownerIdarrayOnly tasks owned by these user ids.
parentarrayOnly child tasks of these task ids.
priorityarrayPriority codes to keep (1-5).
statusarrayStatus codes to keep (1-4).

ganttpro_get_task Get a task

Get one task by its taskId.

ParameterTypeDescription
taskId *integerThe 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.

ParameterTypeDescription
userId *integerThe user id (from ganttpro_list_users).

ganttpro_list_comments List task comments

List the comments on one or more tasks.

ParameterTypeDescription
taskId *arrayOne or more task ids.

ganttpro_list_time_logs List time logs

List the time logs reported on one or more tasks.

ParameterTypeDescription
taskId *arrayOne or more task ids.

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.

ParameterTypeDescription
name *stringTask name.
projectId *integerThe project to add the task to.
colorintegerColor code (1-18).
deadlinestringDeadline, as the GanttPRO API expects it.
descriptionstringTask description (HTML, as the API stores it).
durationintegerDuration in working days.
endDatestringEnd date, as the GanttPRO API expects it.
estimationintegerEstimation in minutes.
parentintegerParent task id, to make this a child task.
priorityintegerPriority code (1-5).
progressnumberProgress from 0 to 1.
startDatestringStart date, as the GanttPRO API expects it.
statusintegerStatus code (1-4).
typestringTask 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.

ParameterTypeDescription
taskId *integerThe task to change.
colorinteger
deadlinestring
descriptionstring
durationinteger
endDatestring
estimationinteger
namestring
parentinteger
priorityinteger
progressnumber
startDatestring
statusinteger

ganttpro_add_comment Add a task comment

Add a comment to a task as one user. Creates a new comment on every call.

ParameterTypeDescription
comment *stringThe comment text.
taskId *integerThe task to comment on.
userId *integerThe 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.

ParameterTypeDescription
resourceId *integerThe resource that spent the time (from ganttpro_list_resources).
taskId *integerThe task the time was spent on.
time *integerTime in minutes (1 to 1440, the API limit).
commentstringOptional note.
datestringDate of the work, as YYYY-MM-DD.