Back to the catalog

com.teamwork/mcp

The Teamwork.com official MCP server helps teams efficiently manage client projects with AI.

Open source Repository Open in the app JSON README (API)

About

The Teamwork.com official MCP server helps teams efficiently manage client projects with AI.

Details

Kind
MCP servers
Topic
No topic detected
Publisher
com.teamwork
Origin
official
Category
ferramentas
Transport
sse
Version
1.39.0
Stars
25
Forks
17
Open pull requests
2
Last push
2026-09-08T11:56:50Z
Repository state
ativo
Language
Go
License
MIT
Added
2026-08-29 03:01:24
Updated
2026-09-11 15:01:03
Origin id
com.teamwork/mcp

README

# Teamwork MCP Server

> Model Context Protocol server for Teamwork.com integration with Large Language
> Models

[![Go Report Card](https://goreportcard.com/badge/github.com/teamwork/mcp)](https://goreportcard.com/report/github.com/teamwork/mcp)
[![Go](https://img.shields.io/badge/Go-1.27.0-blue.svg)](https://golang.org/)
[![MCP](https://img.shields.io/badge/MCP-Compatible-green.svg)](https://modelcontextprotocol.io/)

๐Ÿ“Œ Are you a Teamwork.com user wanting to connect AI tools to your Teamwork.com
site right now? Jump straight to the **[Usage Guide](docs/usage/README.md)** for
tokens, enabling MCP, and client configuration examples.

## ๐Ÿ“– Overview

This MCP (Model Context Protocol) server enables seamless integration between
Large Language Models and Teamwork.com. It provides a standardized interface for
LLMs to interact with Teamwork.com projects, allowing AI agents to perform
various project management operations.

### ๐Ÿค– What is MCP?

Model Context Protocol (MCP) is an open protocol that standardizes how
applications provide context to LLMs. This server describes all the actions
available in Teamwork.com (tools) in a way that LLMs can understand and execute
through AI agents.

## โœจ Features

- **Multiple Transport Modes**: HTTP and STDIO interfaces for different deployment scenarios
- **Secure Authentication**: Bearer token and OAuth2 integration with Teamwork.com
- **Tool Framework**: Extensible toolset architecture for adding new capabilities
- **Production Ready**: Comprehensive logging, monitoring, and observability
- **Read-Only Mode**: Optional restriction to read-only operations for safety

See the auto-generated **[Tool Reference](docs/tool-reference.md)** for every
create/read/update operation exposed across Projects, Desk, Spaces, and Chat, or
browse the same catalogue with per-tool descriptions and a search filter at
**[teamwork.github.io/mcp](https://teamwork.github.io/mcp/)**.

## ๐Ÿš€ Available Servers

This project provides three different ways to interact with the Teamwork.com MCP
server:

### ๐Ÿ“ก HTTP Server

Production-ready HTTP server for cloud deployments and multi-client support.

**๐Ÿ“– [Full HTTP Server Documentation](cmd/mcp-http/README.md)**

Quick start:
```bash
TW_MCP_SERVER_ADDRESS=:8080 go run cmd/mcp-http/main.go
```

### ๐Ÿ’ฌ STDIO Server

Direct STDIO interface for desktop applications and development environments.

**๐Ÿ“– [Full STDIO Server Documentation](cmd/mcp-stdio/README.md)**

Quick start:
```bash
TW_MCP_BEARER_TOKEN=your-token go run cmd/mcp-stdio/main.go
```

### ๐Ÿ› ๏ธ HTTP CLI

Command-line tool for testing and debugging MCP server functionality.

**๐Ÿ“– [Full HTTP CLI Documentation](cmd/mcp-http-cli/README.md)**

Quick start:
```bash
go run cmd/mcp-http-cli/main.go -mcp-url=https://mcp.example.com list-tools
```

## ๐Ÿ“‹ Prerequisites

- Go 1.27 or later
- Valid Teamwork.com API credentials (bearer token or OAuth2 setup)

## ๐Ÿงช Development & Testing

### Running Tests
```bash
# Run all tests
go test ./...

# Run specific package tests
go test ./internal/twprojects/
```

### MCP Inspector
For debugging purposes, use the [MCP Inspector tool](https://github.com/modelcontextprotocol/inspector):

```bash
NODE_EXTRA_CA_CERTS=letsencrypt-stg-root-x1.pem npx @modelcontextprotocol/inspector node build/index.js
```

> [!IMPORTANT]
> **Note**: The `NODE_EXTRA_CA_CERTS` environment variable is required when
> using OAuth2 authentication with the Let's Encrypt certification authority.
> Download the certificate [here](https://letsencrypt.org/certs/staging/letsencrypt-stg-root-x1.pem).

## ๐Ÿ—๏ธ Architecture

```
โ”œโ”€โ”€ cmd/
โ”‚   โ”œโ”€โ”€ mcp-http/          # HTTP server implementation
โ”‚   โ”œโ”€โ”€ mcp-stdio/         # STDIO server implementation
โ”‚   โ”œโ”€โ”€ mcp-http-cli/      # CLI tool for testing via HTTP
โ”‚   โ”œโ”€โ”€ mcp-test/          # Walks tool handlers against a real site
โ”‚   โ”œโ”€โ”€ mcp-tokens/        # Token-cost report for the tool surface
โ”‚   โ””โ”€โ”€ docs-gen/          # Generates the tool reference (Markdown + GitHub Pages)
โ”œโ”€โ”€ pkg/                   # Importable by other MCP servers built on this one
โ”‚   โ”œโ”€โ”€ auth/              # Authentication helpers (bearer & OAuth2 token handling)
โ”‚   โ”œโ”€โ”€ cli/               # -toolsets flag parsing
โ”‚   โ”œโ”€โ”€ config/            # Configuration management (env, flags), MCP server setup
โ”‚   โ”œโ”€โ”€ helpers/           # Shared utility functions (errors, link helpers, tool parsing)
โ”‚   โ”œโ”€โ”€ request/           # HTTP request primitives / Teamwork API wiring
โ”‚   โ”œโ”€โ”€ testutil/          # Product-neutral test mocks
โ”‚   โ”œโ”€โ”€ toolsets/          # Tool framework and registration logic
โ”‚   โ””โ”€โ”€ twctx/             # Per-request values derived from the bearer token
โ”œโ”€โ”€ internal/              # This server's own tools, not importable elsewhere
โ”‚   โ”œโ”€โ”€ twprojects/        # Teamwork project/domain tools (tasks, tags, timers, etc.)
โ”‚   โ”œโ”€โ”€ twdesk/            # Teamwork Desk tools (tickets, customers, etc.)
โ”‚   โ”œโ”€โ”€ twspaces/          # Teamwork Spaces tools (spaces, pages, etc.)
โ”‚   โ””โ”€โ”€ twchat/            # Teamwork Chat tools (conversations, messages)
โ”œโ”€โ”€ examples/              # Usage & integration examples (LangChain Node/Python)
โ”œโ”€โ”€ docs/usage/            # End-user setup & connection guide
โ”œโ”€โ”€ Makefile               # Common developer tasks
โ”œโ”€โ”€ Dockerfile             # Container build configuration
โ”œโ”€โ”€ CODE_OF_CONDUCT.md     # Community guidelines
โ”œโ”€โ”€ CONTRIBUTING.md        # Contribution guide
โ””โ”€โ”€ SECURITY.md            # Security policy
```

More