# Claude Code

Add JustClaw-It to Claude Code with one command. The `--scope user` flag makes it available in every project.

## Automatic

```sh
npx @justclaw-it/cli init
```

The CLI detects Claude Code, adds the server, and installs the three [agent skills](/docs/skills) into `~/.claude/skills`.

## Manual

```sh
claude mcp add --transport http --scope user justclaw-it https://justclaw.it.com/mcp \
  --header "Authorization: Bearer <YOUR_API_KEY>"
```

Replace `<YOUR_API_KEY>` with your key. To add it to one project only, use `--scope project` instead; Claude Code then writes it to that project's `.mcp.json` (don't commit a file that holds your key).

## Check it

```sh
claude mcp list
```

`justclaw-it` should be listed as connected. Inside a session, `/mcp` shows the server and its tools. Claude Code prefixes MCP tool names with the server name, so the tools appear as `mcp__justclaw-it__search_components`, `mcp__justclaw-it__get_component` and so on.

## Try it

> Search JustClaw-It for a rate limiter middleware for express, permissive licence only, and pull the best-scored one.

## Remove it

```sh
claude mcp remove justclaw-it --scope user
```

or `npx @justclaw-it/cli uninstall`, which removes exactly what `init` added. Problems: [Troubleshooting](/docs/troubleshooting).
