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

# Bearer Authentication

> Add Trunk's MCP Server via Bearer Authentication

You can leverage Trunk's MCP server for all of your agentic needs. When using the MCP in cloud environments, authenticate using Bearer Authentication.

## API Token

Retrieve your organization API token from [Settings → Developer → API Keys](https://app.trunk.io/settings/developer/api-tokens), in the **Organization API token (v1)** section (not an API key).

## Authorization Header

Set the following header when connecting to the MCP `https://mcp.trunk.io/mcp`:

| Header Key | Header Value |
| - | - |
| `Authorization` | `Bearer <token>` |
