# TeamShared MCP server

> Provides shared memory for coding agents to persist codebase context and session history across different AI clients.

- Repository: https://github.com/teamshared-ai/teamshared-plugin
- Page: https://hostedmcp.org/servers/teamshared-ai/teamshared-plugin
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.9.1

## Install

### Claude Code

```sh
claude mcp add --transport http teamshared-plugin https://teamshared.com/mcp
```

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

```json
{
  "mcpServers": {
    "teamshared-plugin": {
      "url": "https://teamshared.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "teamshared-plugin": {
      "type": "http",
      "url": "https://teamshared.com/mcp"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.teamshared-plugin]
url = "https://teamshared.com/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "teamshared-plugin": {
      "httpUrl": "https://teamshared.com/mcp"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `TEAMSHARED_TOKEN` | no | no |  |

## FAQ

### How do I connect TeamShared to Cursor?

Go to Settings → Tools & MCP → teamshared → Connect and use your email and a one-time code.

### Can I use TeamShared with Claude Code?

Yes, it provides a Claude Code marketplace plugin that uses native OAuth for connection and supports capture hooks via a TEAMSHARED_TOKEN.

### Do I need to add a second TeamShared server to my project config?

No, you should not add a second TeamShared server; the plugin handles the connection and you should bind the repo to an org instead.
