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

# Claude Desktop

> Configure o GoatPay MCP Server no Claude Desktop

## Configuração

Edite o arquivo de configuração do Claude Desktop:

| SO          | Caminho                                                           |
| ----------- | ----------------------------------------------------------------- |
| **macOS**   | `~/Library/Application Support/Claude/claude_desktop_config.json` |
| **Windows** | `%APPDATA%\Claude\claude_desktop_config.json`                     |

```json theme={null}
{
  "mcpServers": {
    "goatpay": {
      "url": "https://mcp.goatpay.com.br/mcp",
      "headers": {
        "Authorization": "Bearer gp_live_SUA_CHAVE"
      }
    }
  }
}
```

Reinicie o Claude Desktop após salvar.

## Testar

Pergunte ao Claude:

```text theme={null}
Use a tool debug_api_key do servidor goatpay para verificar se minha API key está funcionando.
```

Ou para criar uma cobrança:

```text theme={null}
Crie uma cobrança PIX de R$ 10,00 com externalReference "teste-mcp" usando createPaymentPix.
```
