> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code (CLI)

> Connect Autype to Claude's command-line interface

Connect the Autype MCP server to Claude Code, the official CLI tool for Claude.

## Add via CLI

```bash theme={null}
claude mcp add autype \
  --transport http \
  --url https://mcp.autype.com/mcp/ \
  --header "X-API-Key: YOUR_API_KEY"
```

Replace `YOUR_API_KEY` with your actual API key from the [Dashboard](https://app.autype.com).

## Project-specific config

For team-wide sharing, add it to your project's `.mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "autype": {
      "type": "http",
      "url": "https://mcp.autype.com/mcp/",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
```

<Warning>
  Do not commit API keys to version control. Use environment variables or a `.env` file instead.
</Warning>

## Verify connection

Run a test command to verify the connection:

```bash theme={null}
claude "List my Autype projects"
```

Claude should be able to call the `projects_list` tool and return your projects.
