# Claude Code

Add ZeroWidth to Claude Code with one command, then sign in from /mcp.

## Connect

Run the command in a terminal, with your team's address in place of `<address>`.

```Terminal
claude mcp add --scope user --transport http zerowidth <address>
```

Then, in Claude Code, type `/mcp`, choose `zerowidth` and sign in to your team.

## Teach Claude Code when to record decisions

Download [zerowidth-skill.zip](https://zerowidth.ai/docs/files/claude/zerowidth-skill.zip), the ZeroWidth skill, and unzip the skill into Claude Code's skills folder.

```Terminal
unzip ~/Downloads/zerowidth-skill.zip -d ~/.claude/skills
```

Start a new Claude Code session to load the skill.

## Self-hosted

With ZeroWidth running on your own computer, use the local address. No sign-in is needed.

```Terminal
claude mcp add --transport http zerowidth http://127.0.0.1:4380/mcp
```

For a team server, send the server's token with each request.

```Terminal
claude mcp add --transport http zerowidth http://<server>:4380/mcp --header "Authorization: Bearer <token>"
```
