# tagteam

> tagteam is an open-source MCP server for developer tools. Git-verified handoffs that carry a coding task between AI coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows
- **Repository:** https://github.com/mhrabea/tagteam
- **MCP Registry name:** io.github.MHRabea/tagteam
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Coding tasks often outlive a single agent session, and context tends to vanish when you switch tools or the agent compacts its history. tagteam saves a handoff tied to the repository's branch, commit and dirty files, then loads it into the next agent, whether that is Claude Code, Codex or another MCP client.

Before a new session starts, the handoff is compared with the current repo state. If commits landed or uncommitted files changed since it was written, the context pack flags the drift so the next agent verifies before relying on it. Constraints can be bound to file paths, and `tagteam status` reports diffs that touch them, with a non-zero exit code usable in CI or a pre-commit hook.

It suits developers who move a task between agents or providers and want the state to survive rate limits and crashes. Handoffs are stored locally in a hidden folder rather than the repository, and API keys are kept in the OS key store and redacted from saved text.

## Features

- **Cross-agent handoff:** Saves a task summary, next step and constraints that a different agent can load at session start.
- **Drift detection:** Compares the saved branch, HEAD and dirty files with the repo and warns when they differ.
- **Path-bound guardrails:** Attaches rules to file globs and flags diffs that touch those paths.
- **Fallback summaries:** Writes a handoff from another provider or from git state when an agent exits without saving one.
- **Local secret redaction:** Removes keys, tokens and credentials from handoffs before they are stored or sent.
- **MCP tools:** Exposes context, handoff, decision and constraint tools to any MCP client.

## Good for

- Continue a coding task in a different agent after hitting a usage limit
- Give a new agent session the project rules and decisions without re-explaining them
- Check whether a saved handoff still matches the repository before resuming work
- Block commits that modify files covered by a guarded constraint

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add tagteam -- npx -y tagteam-ai
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add tagteam -- npx -y tagteam-ai
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.tagteam]
command = "npx"
args = ["-y", "tagteam-ai"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user tagteam npx -- -y tagteam-ai

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tagteam": {
      "command": "npx",
      "args": [
        "-y",
        "tagteam-ai"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 6 tools change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `get_context` (name suggests: reads): Returns the saved context pack for the repository.
- `save_handoff`: Saves a git-stamped, redacted handoff.
- `add_decision` (name suggests: changes): Records a project decision.
- `add_constraint` (name suggests: changes): Adds a rule, optionally bound to file paths.
- `update_memory` (name suggests: changes): Updates stored project memory.
- `list_handoffs` (name suggests: reads): Lists previous handoffs.

## FAQ

### Which agents does tagteam work with?

Claude Code and Codex have built-in wiring, custom agents can read a context file, and any MCP client can connect through tagteam mcp.

### Does tagteam add files to my repository?

No. Claude Code and Codex are configured through command-line overrides, and tagteam data is stored in ~/.tagteam/.

### How are API keys stored?

Keys are kept in the OS key store (Windows DPAPI, macOS Keychain or Linux Secret Service) and reach agents only through environment variables.

### Does tagteam send data over the network?

The summarizer is the only network call it makes, and it can be disabled with --no-summary.

### Is tagteam free?

Yes. tagteam is open source, so you can use and self-host it for free.

### How do I add tagteam to Claude Code?

Run this command in your terminal: claude mcp add tagteam -- npx -y tagteam-ai

### What are the best alternatives to tagteam?

The closest alternatives to tagteam are Todox, Handover, AppHandoff, Agentpack and Cork.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Todox](https://ai-powered.com/mcp/todox): Todox is an open-source MCP server for developer tools.
- [Handover](https://ai-powered.com/mcp/handover): Handover is an MCP server for developer tools.
- [AppHandoff](https://ai-powered.com/mcp/apphandoff): AppHandoff is an MCP server for developer tools.
- [Agentpack](https://ai-powered.com/mcp/agentpack): Agentpack is a free MCP server for developer tools.
- [Cork](https://ai-powered.com/mcp/cork-2): Cork is a freemium MCP server for developer tools.
- [handoff-desk](https://ai-powered.com/mcp/handoff-desk): handoff-desk is an open-source MCP server for productivity.
- [A2ahub](https://ai-powered.com/mcp/a2ahub): A2ahub is an open-source MCP server for developer tools.
- [Context Fabric](https://ai-powered.com/mcp/context-fabric): Context Fabric is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/tagteam
