The Teamwork MCP server provides a simplified interface for interacting with Teamwork projects and tasks through a Model Context Protocol (MCP) server, making it easier to connect with the Teamwork API from applications like Cursor or Claude Desktop.
The simplest way to install and use Teamwork MCP is with npx:
npx @vizioz/teamwork-mcp
You can pass configuration options directly:
npx @vizioz/teamwork-mcp --domain=your-company [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:
npx @vizioz/teamwork-mcp --teamwork-domain=your-company [email protected] --teamwork-password=your-password
Or using short form:
npx @vizioz/teamwork-mcp --domain=your-company [email protected] --pass=your-password
The server creates log files in a logs
directory by default. To disable logging:
npx @vizioz/teamwork-mcp --disable-logging
Or:
DISABLE_LOGGING=true npx @vizioz/teamwork-mcp
Control which MCP tools are available using allow or deny lists:
Allow List (only expose specific tools):
npx @vizioz/teamwork-mcp --allow=getProjects,getTasks,getTaskById
Deny List (expose all tools except those specified):
npx @vizioz/teamwork-mcp --deny=deleteTask,updateTask
You can also filter tools by groups:
Example with groups:
npx @vizioz/teamwork-mcp --allow=Tasks,People
To associate your solution with a Teamwork project, create a .teamwork
file in your project root:
PROJECT_ID = YourTeamworkProjectID
npx @vizioz/teamwork-mcp
with your credentialsEdit the config manually:
"Teamwork": {
"command": "npx",
"args": [
"-y",
"@vizioz/teamwork-mcp",
"--domain",
"yourdomain",
"--user",
"[email protected]",
"--pass",
"yourPassword"
]
}
Edit your Claude Desktop configuration file:
%APPDATA%\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following:
{
"mcpServers": {
"teamwork": {
"command": "npx",
"args": [
"-y",
"@vizioz/teamwork-mcp",
"--domain",
"yourdomain",
"--user",
"[email protected]",
"--pass",
"yourPassword"
]
}
}
}
getProjects
- Get all projectsgetCurrentProject
- Get current project detailscreateProject
- Create a new projectgetTasks
- Get all tasksgetTasksByProjectId
- Get tasks from a specific projectgetTaskListsByProjectId
- Get task lists from a specific projectgetTasksByTaskListId
- Get tasks from a specific task listgetTaskById
- Get a specific task by IDcreateTask
- Create a new taskcreateSubTask
- Create a subtaskupdateTask
- Update an existing taskdeleteTask
- Delete a taskgetTasksMetricsComplete
- Get completed tasks countgetTasksMetricsLate
- Get late tasks countgetTaskSubtasks
- Get subtasks for a specific taskgetTaskComments
- Get comments for a specific taskcreateComment
- Create a comment on a task/message/notebookgetCompanies
- Get all companiesgetCompanyById
- Get a company by IDcreateCompany
- Create a new companyupdateCompany
- Update company informationdeleteCompany
- Delete a companygetPeople
- Get all peoplegetPersonById
- Get a person by IDgetProjectPeople
- Get people assigned to a projectaddPeopleToProject
- Add people to a projectdeletePerson
- Delete a personupdatePerson
- Update a person's informationgetProjectsPeopleMetricsPerformance
- Get people performance metricsgetProjectsPeopleUtilization
- Get people utilizationgetProjectPerson
- Get a specific person on a projectgetProjectsReportingUserTaskCompletion
- Get user task completion reportgetProjectsReportingUtilization
- Get utilization reportgetTime
- Get all time entriesgetProjectsAllocationsTime
- Get project allocations timegetTimezones
- Get available timezonesTo add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "Teamwork" '{"command":"npx","args":["-y","@vizioz/teamwork-mcp","--domain","yourdomain","--user","[email protected]","--pass","yourPassword"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"Teamwork": {
"command": "npx",
"args": [
"-y",
"@vizioz/teamwork-mcp",
"--domain",
"yourdomain",
"--user",
"[email protected]",
"--pass",
"yourPassword"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"Teamwork": {
"command": "npx",
"args": [
"-y",
"@vizioz/teamwork-mcp",
"--domain",
"yourdomain",
"--user",
"[email protected]",
"--pass",
"yourPassword"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect