Teamwork Project Management
STDIOMCP server connecting to Teamwork API for project and task management.
MCP server connecting to Teamwork API for project and task management.
An MCP server that connects to the Teamwork API, providing a simplified interface for interacting with Teamwork projects and tasks.
The following tools are available through the MCP server:
getProjects
- Get all projects from TeamworkgetCurrentProject
- Gets details about the current projectcreateProject
- Create a new project in TeamworkgetTasks
- Get all tasks from TeamworkgetTasksByProjectId
- Get all tasks from a specific project in TeamworkgetTaskListsByProjectId
- Get all task lists from a specific project in TeamworkgetTasksByTaskListId
- Gets all tasks from a specific task list ID from TeamworkgetTaskById
- Get a specific task by ID from TeamworkcreateTask
- Create a new task in TeamworkcreateSubTask
- Create a new subtask under a parent task in TeamworkupdateTask
- Update an existing task in TeamworkdeleteTask
- Delete a task from TeamworkgetTasksMetricsComplete
- Get the total count of completed tasks in TeamworkgetTasksMetricsLate
- Get the total count of late tasks in TeamworkgetTaskSubtasks
- Get all subtasks for a specific task in TeamworkgetTaskComments
- Get comments for a specific task from TeamworkcreateComment
- Create a comment related to a task/message/notebookgetCompanies
- Get all companies from Teamwork with optional filteringgetCompanyById
- Get a specific company by IDcreateCompany
- Create a new company in TeamworkupdateCompany
- Update an existing company's informationdeleteCompany
- Delete a company from TeamworkgetPeople
- Get all people from TeamworkgetPersonById
- Get a specific person by ID from TeamworkgetProjectPeople
- Get all people assigned to a specific project from TeamworkaddPeopleToProject
- Add people to a specific project in TeamworkdeletePerson
- Delete a person from TeamworkupdatePerson
- Update a person's information (timezone, name, email, etc.)getProjectsPeopleMetricsPerformance
- Get people metrics performancegetProjectsPeopleUtilization
- Get people utilizationgetProjectPerson
- Get a specific person on a projectgetProjectsReportingUserTaskCompletion
- Get user task completion reportgetProjectsReportingUtilization
- Get utilization report in various formats CSV & HTMLgetTime
- Get all time entriesgetProjectsAllocationsTime
- Get project allocations timegetTimezones
- Get all available timezones in Teamwork (useful when updating user timezones)The easiest way to use Teamwork MCP is with npx. This method doesn't require cloning the repository or building the code locally:
npx @vizioz/teamwork-mcp
You can also pass configuration options directly:
npx @vizioz/teamwork-mcp --domain=your-company --user=[email protected] --pass=your-password
You can provide your Teamwork credentials in three ways:
Environment Variables: Set TEAMWORK_DOMAIN
, TEAMWORK_USERNAME
, and TEAMWORK_PASSWORD
in your environment.
.env File: Create a .env
file with the required variables:
TEAMWORK_DOMAIN=your-company
[email protected]
TEAMWORK_PASSWORD=your-password
Command Line Arguments: Pass credentials when running the application:
npx @vizioz/teamwork-mcp --teamwork-domain=your-company --teamwork-username=[email protected] --teamwork-password=your-password
Or using short form:
npx @vizioz/teamwork-mcp --domain=your-company --user=[email protected] --pass=your-password
By default, the Teamwork MCP server creates log files in a logs
directory to help with debugging and monitoring. You can disable logging completely using the following methods:
Command Line Arguments:
npx @vizioz/teamwork-mcp --disable-logging
Or using the alternative form:
npx @vizioz/teamwork-mcp --no-logging
Environment Variable:
DISABLE_LOGGING=true npx @vizioz/teamwork-mcp
When logging is enabled, the server creates two log files in the logs
directory:
error.log
- Contains only error-level messagescombined.log
- Contains all log messages (info, warnings, errors)Each log file includes a header with instructions on how to disable logging if needed.
You can control which tools are available to the MCP server using the following command-line arguments:
Allow List: Only expose specific tools:
npx @vizioz/teamwork-mcp --allow-tools=getProjects,getTasks,getTaskById
Or using short form:
npx @vizioz/teamwork-mcp --allow=getProjects,getTasks,getTaskById
Deny List: Expose all tools except those specified:
npx @vizioz/teamwork-mcp --deny-tools=deleteTask,updateTask
Or using short form:
npx @vizioz/teamwork-mcp --deny=deleteTask,updateTask
You can now specify groups of tools for filtering, allowing for more flexible control over which tools are available to the MCP server. The available groups are:
You can specify these groups in the allow or deny lists to include or exclude all tools within a group. For example:
Allow List with Groups: Only expose specific groups of tools:
npx @vizioz/teamwork-mcp --allow-tools=Tasks,People
Or using short form:
npx @vizioz/teamwork-mcp --allow=Tasks,People
Deny List with Groups: Expose all tools except those in specified groups:
npx @vizioz/teamwork-mcp --deny-tools=Reporting,Time
Or using short form:
npx @vizioz/teamwork-mcp --deny=Reporting,Time
By default, all tools are exposed if neither allow nor deny list is provided. If both are provided, the allow list takes precedence.
The tool filtering is enforced at two levels for enhanced security:
To associate your current solution with a Teamwork project, you can use the following method:
You can create a .teamwork
file in the root of your project with the following structure:
PROJECT_ID = YourTeamworkProjectID
This simple configuration file associates your solution with a specific Teamwork project, we may use it to store more details in the future.
Once configured, the MCP will be able to find your Teamwork project and associate it with your current solution, reducing the number of API calls needed to get the project and tasks related to the solution you are working on.
To add this MCP server to Cursor:
npx @vizioz/teamwork-mcp
and add the credentials and domain command line arguments as mentioned above.
--allow=getProjects,getTasks
or --deny=deleteTask
"Teamwork": { "command": "npx", "args": [ "-y", "@vizioz/teamwork-mcp", "--domain", "yourdomain", "--user", "[email protected]", "--pass", "yourPassword" ] }
To disable logging in Cursor, add the --disable-logging
argument:
"Teamwork": { "command": "npx", "args": [ "-y", "@vizioz/teamwork-mcp", "--domain", "yourdomain", "--user", "[email protected]", "--pass", "yourPassword", "--disable-logging" ] }
If you want to add the allow or deny arguments mentioned above you just add them like this, you can add any of the examples given above, you can also add both groups and individual tools as shown below:
"Teamwork": { "command": "npx", "args": [ "-y", "@vizioz/teamwork-mcp", "--domain", "yourdomain", "--user", "[email protected]", "--pass", "yourPassword", "--allow", "Tasks,Projects", "--deny", "getProjectsPeopleMetricsPerformance,getProjectsPeopleUtilization" ] }
The Teamwork MCP tools will now be available to the Cursor Agent in Composer.
To add this MCP server to Claude Desktop, edit your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Add the following configuration:
{ "mcpServers": { "teamwork": { "command": "npx", "args": [ "-y", "@vizioz/teamwork-mcp", "--domain", "yourdomain", "--user", "[email protected]", "--pass", "yourPassword" ] } } }
To add this MCP server to Windsurf, follow similar steps to Cursor by adding the MCP server configuration with the npx command and your credentials.
Note: You only need to follow these instructions if you plan to contribute to the project or submit a pull request. For regular usage, use the NPX installation method above.
Clone the repository:
git clone https://github.com/readingdancer/teamwork-mcp.git cd teamwork-mcp
Install dependencies:
npm install
Create a .env
file based on the .env.example
file:
cp .env.example .env
Update the .env
file with your Teamwork credentials:
PORT=3000
NODE_ENV=development
LOG_LEVEL=info
TEAMWORK_DOMAIN=your-company
[email protected]
TEAMWORK_PASSWORD=your-password
Build the application:
npm run build
This will compile the TypeScript code ready to be used as an MCP Server.
To run as an MCP server for integration with Cursor and other applications, if you are using the .env file for your username, password & url, or if you have saved them in environment variables:
NOTE: Don't forget to change the drive and path details based on where you have saved the repository.
node C:/your-full-path/build/index.js
Or you can pass them using line arguments:
node C:/your-full-path/build/index.js --teamwork-domain=your-company --teamwork-username=[email protected] --teamwork-password=your-password
You can also use the short form:
node C:/your-full-path/build/index.js --domain=your-company --user=[email protected] --pass=your-password
To run the MCP inspector for debugging:
npm run inspector
This project is licensed under the MIT License - see the LICENSE file for details.
This project is not affiliated with, endorsed by, or sponsored by Teamwork.com. The use of the name "Teamwork" in the package name (@vizioz/teamwork-mcp) is solely for descriptive purposes to indicate compatibility with the Teamwork.com API.