TeamGantt MCP by usefulapi

v1.9.1
io.usefulapi/teamgantt Checked 2 days ago Published 1 day ago

Read projects, schedules, tasks, timesheets and workload; create tasks and comments in TeamGantt.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

teamgantt_get_current_user Get the current user

Get the signed-in TeamGantt user: name, email, time zone, today's date and the companies (accounts) the user belongs to. Call this first to find company ids. TeamGantt API: GET /current_user.

teamgantt_list_projects List projects

List the projects the user can see, pre-sorted starred first then by name. Default is Active projects, 100 per page. TeamGantt API: GET /projects.

ParameterTypeDescription
company_idintegerOnly projects of this company id (from teamgantt_get_current_user).
is_templatebooleantrue = only project templates.
limitintegerProjects per page (default 100).
offsetintegerProjects to skip (default 0).
statusstringProject status (default Active).

teamgantt_get_project Get a project

Get one project: dates, status, chart days, permission, members (accesses) and teams. TeamGantt API: GET /projects/{project_id}.

ParameterTypeDescription
project_id *integerThe project id (from teamgantt_list_projects).

teamgantt_get_project_schedule Get the groups and tasks of a project

Get the full schedule of a project: groups, subgroups and tasks (with dates, percent complete, assignments). Use is_flat_list for one flat array. TeamGantt API: GET /projects/{project_id}/children.

ParameterTypeDescription
project_id *integerThe project id.
is_flat_listbooleantrue = one flat array instead of a nested tree.

teamgantt_list_groups List groups of projects

List the groups and subgroups of one or more projects (useful to find a parent_group_id for a new task). TeamGantt API: GET /groups.

ParameterTypeDescription
project_ids *arrayProject ids.
flatten_childrenbooleantrue = flatten nested groups into one array.

teamgantt_list_tasks List or search tasks

List tasks across projects, with filters: project, name search, date range, overdue, unassigned, resource. Active projects by default. To see one person's tasks for a day, pass user_resource_ids and the same start_date and end_date. TeamGantt API: GET /tasks.

ParameterTypeDescription
company_resource_idsarrayOnly tasks assigned to these company resource ids.
end_datestringRange end yyyy-mm-dd.
hide_completedbooleantrue = leave out completed tasks.
is_overduebooleantrue = only overdue tasks.
project_idsarrayOnly tasks of these projects.
project_statusstringStatus of the projects to search (default Active).
qstringSearch in the task name.
start_datestringRange start yyyy-mm-dd.
statusstringPredefined task status filter.
task_idsarrayOnly these task ids.
unassignedbooleantrue = only tasks with nobody assigned.
unscheduledbooleantrue = only tasks without dates.
user_resource_idsarrayOnly tasks assigned to these user ids.

teamgantt_get_task Get a task

Get one task or milestone: dates, days, percent complete, estimated hours, assigned resources, dependencies and comment counts. TeamGantt API: GET /tasks/{id}.

ParameterTypeDescription
task_id *integerThe task id (from teamgantt_list_tasks).

teamgantt_list_comments List comments and notes

List the comments and notes on a project, a group or a task. TeamGantt API: GET /{target}/{target_id}/comments.

ParameterTypeDescription
target *stringThe kind of item.
target_id *integerThe id of the project, group or task.

teamgantt_list_company_users List company users

List the users of a company (account): names, emails, roles. Needs account holder or manager access. TeamGantt API: GET /companies/{company_id}/users.

ParameterTypeDescription
company_id *integerThe company id (from teamgantt_get_current_user).

teamgantt_list_resources List resources

List all resources of a company, split by type (company resources, project resources, users). Resources are the labels used to schedule tasks. TeamGantt API: GET /companies/{company_id}/resources/all.

ParameterTypeDescription
company_id *integerThe company id.

teamgantt_get_timesheets Get timesheets

Get the signed-in user's timesheet: tasks with tracked and estimated hours per day in a date range. TeamGantt API: GET /timesheets.

ParameterTypeDescription
end_datestringRange end yyyy-mm-dd.
include_overduebooleantrue = include overdue tasks.
start_datestringRange start yyyy-mm-dd.

teamgantt_get_workload Get workload

See how busy people or resources are: scheduled work grouped by day, week, month or year. TeamGantt API: GET /workload/{resource_type}.

ParameterTypeDescription
ids *arrayUser or resource ids.
resource_type *stringWhat the ids are.
end_datestringRange end yyyy-mm-dd.
group_bystringGrouping (default day).
project_idsarrayOnly work in these projects.
start_datestringRange start yyyy-mm-dd.

teamgantt_create_task Create a task

WRITE: create a new task or milestone in a project. It changes the customer's schedule and is not repeated automatically. Without parent_group_id the task goes in the last group. TeamGantt API: POST /tasks.

ParameterTypeDescription
name *stringTask name.
project_id *integerThe project to add the task to.
colorstringTask color code.
end_datestringEnd date yyyy-mm-dd.
estimated_hoursnumberEstimated hours.
parent_group_idintegerGroup to put the task in (from teamgantt_list_groups).
percent_completenumberProgress, 100 = complete.
start_datestringStart date yyyy-mm-dd.
typestringtask (default) or milestone.

teamgantt_create_comment Add a comment

WRITE: add a comment or a note to a project, group or task. People who are @mentioned may get an email. It is not repeated automatically. TeamGantt API: POST /{target}/{target_id}/comments.

ParameterTypeDescription
message *stringThe comment text.
target *stringThe kind of item.
target_id *integerThe id of the project, group or task.
typestringcomment (default) or note.