# Connect a client

> Add the AppliFlo MCP server to Claude.ai, ChatGPT, Claude Code, Cursor, VS Code or any MCP client.

Claude.ai and ChatGPT connect with a sign-in, on every plan, including Free: no key needed. Claude Code, Cursor, VS Code and other clients that send a header need an API key from [Settings, API keys](https://appliflo.com/settings/api-keys), on the Business plan. Give the key the scopes the agent needs: `read` to look, `draft` to fill, `send` to send for signature.

**Claude Code.** Run this in a terminal, with your key in place of `aflo_live_...`:

```bash
claude mcp add appliflo --transport http https://appliflo.com/api/mcp --header "Authorization: Bearer aflo_live_..."
```

**Cursor.** Add this to `~/.cursor/mcp.json` or `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "appliflo": {
      "url": "https://appliflo.com/api/mcp",
      "headers": {
        "Authorization": "Bearer aflo_live_..."
      }
    }
  }
}
```

**VS Code.** Add this to `.vscode/mcp.json`. VS Code asks for the key and keeps it in its secret storage:

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "appliflo-key",
      "description": "AppliFlo API key",
      "password": true
    }
  ],
  "servers": {
    "appliflo": {
      "type": "http",
      "url": "https://appliflo.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${input:appliflo-key}"
      }
    }
  }
}
```

**Any MCP client.** Server URL `https://appliflo.com/api/mcp`, Streamable HTTP, header `Authorization: Bearer` and your key:

```json
{
  "url": "https://appliflo.com/api/mcp",
  "transport": "streamable-http",
  "headers": {
    "Authorization": "Bearer aflo_live_..."
  }
}
```

**Claude.ai.** Claude.ai, Claude Desktop and the Claude mobile apps connect with a sign-in, not a key, on every AppliFlo plan:

1. In Claude, open Settings → Connectors and choose Add custom connector.
2. Name it AppliFlo, paste `https://appliflo.com/api/mcp` and choose Add. Leave the advanced settings empty.
3. Then choose Connect next to AppliFlo.
4. AppliFlo opens. Enter your work email and the 6-digit code we send, pick your workspace and choose Allow.

**ChatGPT.** ChatGPT connects with a sign-in, not a key, through an app you add in developer mode, on every AppliFlo plan:

1. In ChatGPT, open Settings → Apps → Advanced settings and turn on Developer mode.
2. Choose Create app, name it AppliFlo, paste `https://appliflo.com/api/mcp`, pick OAuth for sign-in and choose Create.
3. AppliFlo opens. Enter your work email and the 6-digit code we send, pick your workspace and choose Allow.

## Check it works

Ask your agent to list your envelopes. It calls `list_envelopes`, which only reads. If it can't connect with a key, check the key is current and has the `read` scope. If the sign-in from Claude.ai or ChatGPT fails, remove AppliFlo in that app, add it again and sign in. People in the workspace can see and disconnect the apps they connected in Settings, API & AI apps, under Connected apps.
