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

# Connect Claude

> Add CurbWaste as a custom connector in Claude, then approve a company API key.

Connect Claude to your company through CurbWaste MCP. You add the connector yourself. Claude calls the same tools and scopes as the API key you approve. Tool list: [MCP](https://docs.curbwaste.com/concepts/mcp.md).

## Prerequisites

* A company Admin account on the [Developer Platform](https://platform.curbwaste.com)
* Claude at [claude.ai](https://claude.ai), or [Claude Code](https://code.claude.com)

> [!NOTE]
>
> If **MCP** is not enabled for the company, the Developer Platform tells you to contact CurbWaste. Key creation and the approval screen both require that access.

> [tab] Claude
>
> Claude receives a short-lived token. The raw `cw_live_…` key stays in the Developer Platform.
>
> **1. Add a custom connector**
>
> Click **+**, choose **Add connector** (or **Connectors**), then **Add custom connector**.
>
> ![Claude add connector menu with Add custom connector highlighted](https://mintcdn.com/curbwaste/CJMMWU5EqHqQ2MN2/images/connect-claude/claude-add-custom-connector.png?fit=max\&auto=format\&n=CJMMWU5EqHqQ2MN2\&q=85\&s=c0b9a98168f2325b2e3e1e3a90d82c51)
>
> * → Add connector → Add custom connector
>
> **2. Enter the name and MCP URL**
>
> Name: **CurbWaste**. URL:
>
> ```text theme={null}
> https://api.curbwaste.com/mcp
> ```
>
> Click **Continue**.
>
> ![Add custom connector form with the name CurbWaste and the CurbWaste MCP URL](https://mintcdn.com/curbwaste/CJMMWU5EqHqQ2MN2/images/connect-claude/claude-custom-name-url.png?fit=max\&auto=format\&n=CJMMWU5EqHqQ2MN2\&q=85\&s=30b2a55aa8fc40bf4ea12e29e915b173)
>
> Name CurbWaste and paste the MCP URL
>
> **3. Keep the detected sign-in options**
>
> Leave **Sign in now** and **Use Claude's published identity** selected. Both are marked **Detected**. Leave **Request headers** empty. Do not add your API key here. Click **Add**.
>
> ![Add custom connector with Sign in now and Use Claude's published identity selected, and Request headers left empty](https://mintcdn.com/curbwaste/CJMMWU5EqHqQ2MN2/images/connect-claude/claude-custom-sign-in.png?fit=max\&auto=format\&n=CJMMWU5EqHqQ2MN2\&q=85\&s=1be54d4cb7064fa0ea732fd8dad985fd)
>
> Sign in now, Claude's published identity, no request headers, then Add
>
> **4. Confirm the connection**
>
> Claude opens a safety check. Click **Continue connecting** only if you started this from Claude.
>
> ![Claude confirmation asking to finish connecting a connector](https://mintcdn.com/curbwaste/CJMMWU5EqHqQ2MN2/images/connect-claude/claude-finish-connecting.png?fit=max\&auto=format\&n=CJMMWU5EqHqQ2MN2\&q=85\&s=d88bdffb32ce7c1456caa1e6e7df811d)
>
> Continue connecting only if you started the flow from Claude
>
> **5. Create a key and approve**
>
> On the CurbWaste screen, pick the company, set the key name (it defaults to Claude), choose permissions, then click **Create key & approve**. **Simple** is **Read** or **Write**. The screen starts on **Write**. Switch to **Read** when the agent only needs lookups.
>
> ![CurbWaste approval screen with key name Claude, Simple permissions set to Write, and Create key and approve](https://mintcdn.com/curbwaste/CJMMWU5EqHqQ2MN2/images/connect-claude/claude-create-key.png?fit=max\&auto=format\&n=CJMMWU5EqHqQ2MN2\&q=85\&s=2798ea59823971d1f1e3030ded97e019)
>
> Create a new key for Claude, then approve
>
> **6. Or approve an existing key**
>
> Prefer an existing key? Click **Use an existing key instead**, pick the key, then click **Approve access**.
>
> ![CurbWaste approval screen with an existing API key selected and Approve access](https://mintcdn.com/curbwaste/CJMMWU5EqHqQ2MN2/images/connect-claude/claude-approve-existing-key.png?fit=max\&auto=format\&n=CJMMWU5EqHqQ2MN2\&q=85\&s=9d67363d16f5655e19a9d8b380cbf123)
>
> Select the company and an existing key, then approve
>
> Claude gets a short-lived token, not the raw key. Revoke that key anytime under **API Keys**.

> [tab] Claude Code
>
> Sign in from Claude Code, or use an API key if it runs without a person signing in.
>
> **Sign in**
>
> **1. Register the MCP server**
>
> Run this in a terminal (the **MCP** page has it ready to copy):
>
> ```bash theme={null}
> claude mcp add --transport http curbwaste https://api.curbwaste.com/mcp
> ```
>
> **2. Authenticate**
>
> In Claude Code, run `/mcp`, pick **curbwaste**, and choose **Authenticate**. A browser opens: sign in, then pick or create the API key Claude Code should use.
>
> **3. Start a new session**
>
> Open a new Claude Code session and ask it to list CurbWaste tools. An existing session keeps the previous tool list.
>
> **Use an API key**
>
> **1. Create an API key**
>
> In the Developer Platform, open **API Keys** and create a key with the permissions the agent needs. Copy the `cw_live_…` secret once. See [Authentication](https://docs.curbwaste.com/authentication.md).
>
> **2. Register the MCP server with the key**
>
> ```bash theme={null}
> claude mcp add --transport http curbwaste \
>   https://api.curbwaste.com/mcp \
>   --header "Authorization: Bearer cw_live_YOUR_API_KEY"
> ```
>
> Replace `cw_live_YOUR_API_KEY` with your key. On the key-created screen, **Copy Claude Code command with this key** already includes it. Paste it only on a trusted machine.

## One key is one company

The approved key is the company Claude acts as, no matter which company you are logged into on CurbWaste. If you work in multiple companies, start a new chat and approve a new key.

> [!WARNING]
>
> Write permissions create and update real records, and those writes can emit [webhooks](https://docs.curbwaste.com/concepts/webhooks.md). Approve a tool call only after you read its name and arguments.

## Related

> [card] [Connect Cursor](https://docs.curbwaste.com/guides/connect-cursor.md)
>
> Click Add to Cursor, then approve a key in the browser.

> [card] [MCP](https://docs.curbwaste.com/concepts/mcp.md)
>
> Endpoint, tools, and which scope unlocks each tool.

> [card] [Authentication](https://docs.curbwaste.com/authentication.md)
>
> Company API keys, Bearer auth, and scopes.

> [card] [Usage](https://docs.curbwaste.com/api-reference/usage.md)
>
> Rate limits shared by REST and MCP, including MCP sign-in.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.