GanttPRO MCP by usefulapi
Read projects, tasks and time logs; create and update tasks; add comments and links in GanttPRO.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"ganttpro": {
"url": "https://ganttpro.usefulapi.io/mcp"
}
}
}Remote endpoints
https://ganttpro.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (18)
🟢ganttpro_get_team
Get the GanttPRO team that the API key belongs to. Good first call to confirm the key works.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_list_projects
List the projects in the team. Use the projectId values with the task tools.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_get_project(projectId)
Get one project by its projectId.
Input Schema
{
"type": "object",
"properties": {
"projectId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The project id (from ganttpro_list_projects)."
}
},
"required": [
"projectId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_get_task_fields(projectId)
Get the task fields (including custom fields) defined for one or more projects.
Input Schema
{
"type": "object",
"properties": {
"projectId": {
"minItems": 1,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"description": "One or more project ids."
}
},
"required": [
"projectId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_get_project_calendars
Get the calendars used by the team's projects, including working days and custom days.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_list_tasks(projectId, status, priority, ownerId, parent)
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).
Input Schema
{
"type": "object",
"properties": {
"projectId": {
"minItems": 1,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"description": "One or more project ids. Required."
},
"status": {
"description": "Status codes to keep (1-4).",
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 4
}
},
"priority": {
"description": "Priority codes to keep (1-5).",
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 5
}
},
"ownerId": {
"description": "Only tasks owned by these user ids.",
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"parent": {
"description": "Only child tasks of these task ids.",
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
}
},
"required": [
"projectId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_get_task(taskId)
Get one task by its taskId.
Input Schema
{
"type": "object",
"properties": {
"taskId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The task id (from ganttpro_list_tasks)."
}
},
"required": [
"taskId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_list_resources
List the resources (people or equipment) that can be assigned to tasks.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_list_users
List the users of the team.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_get_user(userId)
Get one user by its userId.
Input Schema
{
"type": "object",
"properties": {
"userId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The user id (from ganttpro_list_users)."
}
},
"required": [
"userId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_list_comments(taskId)
List the comments on one or more tasks.
Input Schema
{
"type": "object",
"properties": {
"taskId": {
"minItems": 1,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"description": "One or more task ids."
}
},
"required": [
"taskId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_list_time_logs(taskId)
List the time logs reported on one or more tasks.
Input Schema
{
"type": "object",
"properties": {
"taskId": {
"minItems": 1,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"description": "One or more task ids."
}
},
"required": [
"taskId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ganttpro_get_link(linkId)
Get one dependency link between two tasks by its linkId.
Input Schema
{
"type": "object",
"properties": {
"linkId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The link id."
}
},
"required": [
"linkId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ganttpro_create_task(projectId, name, parent, startDate, endDate, ...)
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.
Input Schema
{
"type": "object",
"properties": {
"projectId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The project to add the task to."
},
"name": {
"type": "string",
"minLength": 1,
"description": "Task name."
},
"parent": {
"description": "Parent task id, to make this a child task.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"startDate": {
"description": "Start date, as the GanttPRO API expects it.",
"type": "string"
},
"endDate": {
"description": "End date, as the GanttPRO API expects it.",
"type": "string"
},
"description": {
"description": "Task description (HTML, as the API stores it).",
"type": "string"
},
"status": {
"description": "Status code (1-4).",
"type": "integer",
"minimum": 1,
"maximum": 4
},
"priority": {
"description": "Priority code (1-5).",
"type": "integer",
"minimum": 1,
"maximum": 5
},
"type": {
"description": "Task or milestone.",
"type": "string",
"enum": [
"task",
"milestone"
]
},
"progress": {
"description": "Progress from 0 to 1.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"duration": {
"description": "Duration in working days.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"estimation": {
"description": "Estimation in minutes.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"deadline": {
"description": "Deadline, as the GanttPRO API expects it.",
"type": "string"
},
"color": {
"description": "Color code (1-18).",
"type": "integer",
"minimum": 1,
"maximum": 18
}
},
"required": [
"projectId",
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡ganttpro_update_task(taskId, name, description, status, priority, ...)
Change only the fields you pass on one task. Passing only startDate re-calculates endDate. Repeating the same call leaves the task the same.
Input Schema
{
"type": "object",
"properties": {
"taskId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The task to change."
},
"name": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": 1,
"maximum": 4
},
"priority": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"startDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"duration": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"progress": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"parent": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"estimation": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"deadline": {
"type": "string"
},
"color": {
"type": "integer",
"minimum": 1,
"maximum": 18
}
},
"required": [
"taskId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ganttpro_add_comment(taskId, userId, comment)
Add a comment to a task as one user. Creates a new comment on every call.
Input Schema
{
"type": "object",
"properties": {
"taskId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The task to comment on."
},
"userId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The user who writes the comment (from ganttpro_list_users)."
},
"comment": {
"type": "string",
"minLength": 1,
"description": "The comment text."
}
},
"required": [
"taskId",
"userId",
"comment"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ganttpro_add_time_log(taskId, resourceId, time, date, comment)
Report time spent on a task by one resource. Creates a new time log on every call.
Input Schema
{
"type": "object",
"properties": {
"taskId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The task the time was spent on."
},
"resourceId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The resource that spent the time (from ganttpro_list_resources)."
},
"time": {
"type": "integer",
"minimum": 1,
"maximum": 1440,
"description": "Time in minutes (1 to 1440, the API limit)."
},
"date": {
"description": "Date of the work, as YYYY-MM-DD.",
"type": "string"
},
"comment": {
"description": "Optional note.",
"type": "string"
}
},
"required": [
"taskId",
"resourceId",
"time"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ganttpro_create_link(source, target, type, lag)
Create a dependency link from one task to another. Creates a new link on every call.
Input Schema
{
"type": "object",
"properties": {
"source": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The task at the start of the link."
},
"target": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The task at the end of the link."
},
"type": {
"type": "string",
"enum": [
"0",
"1",
"2",
"3"
],
"description": "Link type code as the API defines it ('0' to '3')."
},
"lag": {
"description": "Lag as the API defines it.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"source",
"target",
"type"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence