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

# Claude Integration

> Connect the Manglai MCP to Claude Desktop

## Claude Desktop + MCP

**Claude Desktop** supports MCP natively. Use `mcp-remote` to connect to the Manglai remote server.

## Configuration

1. Open the configuration file:
   * **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
   * **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

2. Add the MCP server:

```json theme={null}
{
  "mcpServers": {
    "manglai": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.manglai.io/sse",
        "--header",
        "Authorization:Bearer ${MANGLAI_TOKEN}"
      ],
      "env": {
        "MANGLAI_TOKEN": "your_token_here"
      }
    }
  }
}
```

3. Replace `your_token_here` with your [Manglai token](https://www.manglai.io/saas/settings/api-tokens/docs#models)

4. Restart Claude Desktop

## Verify Connection

In the Claude chat, look for the tools icon (🔧) — `manglai` should appear as a connected server. Test with:

> "List my companies in Manglai"

## Example Prompts

* "List my companies in Manglai"
* "What are my company's emissions in 2024 by scope?"
* "Show me electricity invoices for the last quarter"
* "How many electric vehicles does my fleet have?"
* "What active reduction goals do we have?"

<Card title="Generate token" icon="key" href="https://www.manglai.io/saas/settings/api-tokens/docs#models">
  Create your access token for Claude
</Card>
