The Teamwork MCP server provides a simplified interface for interacting with Teamwork projects and tasks through a Model Context Protocol (MCP) server, allowing easy integration with applications like Cursor and Claude Desktop.
The easiest way to use Teamwork MCP is with npx:
npx @vizioz/teamwork-mcp
You can also 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: Pass credentials when running the application:
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
You can disable logging using:
npx @vizioz/teamwork-mcp --disable-logging
Or:
DISABLE_LOGGING=true npx @vizioz/teamwork-mcp
You can control which tools are available:
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 specify groups of tools for filtering:
npx @vizioz/teamwork-mcp --allow-tools=Tasks,People
Available groups: Projects, Tasks, People, Reporting, Time, Comments
To associate your current solution with a Teamwork project, create a .teamwork
file in the root of your project:
PROJECT_ID = YourTeamworkProjectID
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 projectgetTaskListsByProjectId
- Get all task lists from a specific projectgetTasksByTaskListId
- Gets all tasks from a specific task list IDgetTaskById
- Get a specific task by IDcreateTask
- Create a new taskcreateSubTask
- Create a new subtask under a parent taskupdateTask
- Update an existing taskdeleteTask
- Delete a taskgetTasksMetricsComplete
- Get the total count of completed tasksgetTasksMetricsLate
- Get the total count of late tasksgetTaskSubtasks
- Get all subtasks for a specific taskgetTaskComments
- Get comments for a specific taskcreateComment
- Create a comment related to a task/message/notebookgetCompanies
- Get all companies with optional filteringgetCompanyById
- Get a specific company by IDcreateCompany
- Create a new companyupdateCompany
- Update an existing company's informationdeleteCompany
- Delete a companygetPeople
- Get all peoplegetPersonById
- Get a specific person by IDgetProjectPeople
- Get all people assigned to a specific projectaddPeopleToProject
- Add people to a specific projectdeletePerson
- Delete a personupdatePerson
- Update a person's informationgetProjectsPeopleMetricsPerformance
- Get people metrics performancegetProjectsPeopleUtilization
- 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 all available timezonesnpx @vizioz/teamwork-mcp
with your credentials"Teamwork": {
"command": "npx",
"args": [
"-y",
"@vizioz/teamwork-mcp",
"--domain",
"yourdomain",
"--user",
"[email protected]",
"--pass",
"yourPassword"
]
}
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 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