# Firmable MCP setup

Instructions for an AI agent to connect itself, or the user, to the Firmable developer MCP server: company and people data, work emails and phone numbers, and search.

- MCP URL: https://agents.firmable.com/developer/mcp
- Transport: Streamable HTTP
- OAuth client ID: rkI2RHxS55F7qKp8
- OAuth callback: http://localhost:53612/oauth/callback. It's the only redirect the client allows and dynamic client registration is off, so always pass the client ID and port 53612 exactly as below.
- API keys start with fbl_dev_ and are sent as `Authorization: Bearer <key>`. The user creates one at https://platform.firmable.com/api-keys; keys are shown once.

## Steps
1. Work out which client you are (or ask the user) and use its section below. Prefer OAuth unless you run without a browser, then ask the user for an API key and replace <YOUR_FIRMABLE_API_KEY>.
2. Run the command or write the config. Keep any MCP servers already configured.
3. Tell the user to restart the client if it needs it, and to sign in to Firmable when the browser opens. A Firmable developer account is free at https://platform.firmable.com/sign-up.
4. Check the connection by calling the get_workflow_guide tool.

## Claude Code

### With OAuth (signs in through the browser)

Run in a terminal:

```bash
claude mcp add --transport http --client-id rkI2RHxS55F7qKp8 --callback-port 53612 firmable https://agents.firmable.com/developer/mcp
```

### With an API key (for agents that run without a browser)

Run in a terminal:

```bash
claude mcp add --transport http firmable https://agents.firmable.com/developer/mcp --header "Authorization: Bearer <YOUR_FIRMABLE_API_KEY>"
```

## Claude.ai or Claude Desktop

### With OAuth (signs in through the browser)

The user sets this up in the app; give them these steps: In Claude, open Settings → Connectors → Add custom connector. Name it Firmable, paste the MCP URL, choose "Use your own OAuth client", paste the OAuth client ID and leave the secret blank. Select Add, then Connect, and sign in to Firmable.

### With an API key (for agents that run without a browser)

The user sets this up in the app; give them these steps: In Claude, open Settings → Connectors → Add custom connector. Name it Firmable, paste the MCP URL, choose "No sign-in" and add a request header named Authorization with the value `Bearer <YOUR_FIRMABLE_API_KEY>`.

## Cursor

### With OAuth (signs in through the browser)

Add to `~/.cursor/mcp.json`, merging with any servers already there:

```json
{
  "mcpServers": {
    "firmable": {
      "url": "https://agents.firmable.com/developer/mcp",
      "auth": {
        "CLIENT_ID": "rkI2RHxS55F7qKp8"
      }
    }
  }
}
```

### With an API key (for agents that run without a browser)

Add to `~/.cursor/mcp.json`, merging with any servers already there:

```json
{
  "mcpServers": {
    "firmable": {
      "url": "https://agents.firmable.com/developer/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_FIRMABLE_API_KEY>"
      }
    }
  }
}
```

## VS Code

### With OAuth (signs in through the browser)

Add to `.vscode/mcp.json`, merging with any servers already there:

```json
{
  "servers": {
    "firmable": {
      "type": "http",
      "url": "https://agents.firmable.com/developer/mcp",
      "oauth": {
        "clientId": "rkI2RHxS55F7qKp8"
      }
    }
  }
}
```

### With an API key (for agents that run without a browser)

Add to `.vscode/mcp.json`, merging with any servers already there:

```json
{
  "servers": {
    "firmable": {
      "type": "http",
      "url": "https://agents.firmable.com/developer/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_FIRMABLE_API_KEY>"
      }
    }
  }
}
```

## Codex

### With OAuth (signs in through the browser)

Run in a terminal:

```bash
codex mcp add firmable -- npx -y mcp-remote https://agents.firmable.com/developer/mcp 53612 --host localhost --static-oauth-client-info '{"client_id":"rkI2RHxS55F7qKp8"}'
```

### With an API key (for agents that run without a browser)

Run in a terminal:

```bash
export FIRMABLE_API_KEY="<YOUR_FIRMABLE_API_KEY>"
codex mcp add firmable --url https://agents.firmable.com/developer/mcp --bearer-token-env-var FIRMABLE_API_KEY
```

## ChatGPT

### With OAuth (signs in through the browser)

The user sets this up in the app; give them these steps: In ChatGPT, open Settings → Apps and connectors, turn on developer mode under Advanced settings, then select Create. Name it Firmable, paste the MCP URL and choose OAuth. Under Advanced OAuth settings, set Registration method to User-Defined OAuth Client, paste the OAuth client ID and leave the secret blank. Create it and sign in to Firmable.

ChatGPT connects with OAuth only.

## Windsurf

### With OAuth (signs in through the browser)

Add to `~/.codeium/windsurf/mcp_config.json`, merging with any servers already there:

```json
{
  "mcpServers": {
    "firmable": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://agents.firmable.com/developer/mcp",
        "53612",
        "--host",
        "localhost",
        "--static-oauth-client-info",
        "{\"client_id\":\"rkI2RHxS55F7qKp8\"}"
      ]
    }
  }
}
```

### With an API key (for agents that run without a browser)

Add to `~/.codeium/windsurf/mcp_config.json`, merging with any servers already there:

```json
{
  "mcpServers": {
    "firmable": {
      "serverUrl": "https://agents.firmable.com/developer/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_FIRMABLE_API_KEY>"
      }
    }
  }
}
```

## Gemini CLI

### With OAuth (signs in through the browser)

Add to `~/.gemini/settings.json`, merging with any servers already there:

```json
{
  "mcpServers": {
    "firmable": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://agents.firmable.com/developer/mcp",
        "53612",
        "--host",
        "localhost",
        "--static-oauth-client-info",
        "{\"client_id\":\"rkI2RHxS55F7qKp8\"}"
      ]
    }
  }
}
```

### With an API key (for agents that run without a browser)

Run in a terminal:

```bash
gemini mcp add --transport http firmable https://agents.firmable.com/developer/mcp --header "Authorization: Bearer <YOUR_FIRMABLE_API_KEY>"
```

## opencode

### With OAuth (signs in through the browser)

Add to `opencode.json`, merging with any servers already there:

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "firmable": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "mcp-remote",
        "https://agents.firmable.com/developer/mcp",
        "53612",
        "--host",
        "localhost",
        "--static-oauth-client-info",
        "{\"client_id\":\"rkI2RHxS55F7qKp8\"}"
      ],
      "enabled": true
    }
  }
}
```

### With an API key (for agents that run without a browser)

Add to `opencode.json`, merging with any servers already there:

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "firmable": {
      "type": "remote",
      "url": "https://agents.firmable.com/developer/mcp",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer <YOUR_FIRMABLE_API_KEY>"
      }
    }
  }
}
```

## Any other MCP client

### With OAuth (signs in through the browser)

Add to `mcp.json`, merging with any servers already there:

```json
{
  "mcpServers": {
    "firmable": {
      "type": "http",
      "url": "https://agents.firmable.com/developer/mcp",
      "oauth": {
        "clientId": "rkI2RHxS55F7qKp8"
      }
    }
  }
}
```

### With an API key (for agents that run without a browser)

Add to `mcp.json`, merging with any servers already there:

```json
{
  "mcpServers": {
    "firmable": {
      "type": "http",
      "url": "https://agents.firmable.com/developer/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_FIRMABLE_API_KEY>"
      }
    }
  }
}
```

## More help

Docs: https://docs.firmable.com/developer/overview