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

# Connect AutoFire MCP to Claude Code

> Add the hosted AutoFire MCP server to Claude Code with a bearer-token environment variable.

## Set the key

Place the key in the environment that launches Claude Code:

```bash theme={null}
export AUTOFIRE_MCP_TOKEN="af_mcp_live_REDACTED"
```

Use your operating system's secure environment or secret manager for persistent storage; do not commit the key.

## Add the remote server

```bash theme={null}
claude mcp add --transport http autofire https://mcp.goautofire.com/mcp \
  --header "Authorization: Bearer \${AUTOFIRE_MCP_TOKEN}"
```

If your installed Claude Code version offers a native environment-variable field for headers, use it instead of placing a key directly in configuration. CLI syntax can change between releases, so confirm with `claude mcp add --help`.

## Verify

Ask Claude Code:

```text theme={null}
Use AutoFire to list three available vehicles, then get details for one returned vehicle ID.
```

Review and approve the calls. The client should see only the tools permitted by the key.

## Lead-data caution

`list_leads` excludes names, email addresses, phone numbers, messages, and notes. `get_lead` appears only when the key has the explicit **Lead contact details** permission. Check Anthropic's current data controls before enabling that permission.
