# Connect an app

Most apps connect to answerable's MCP server with OAuth: add the server's address in the app, sign in to answerable when it asks, and choose the workspaces and what the app may do there. There's no key to copy or keep safe.

```text MCP server
https://staging.preview.answerable.co/mcp
```

## Claude

In Claude, on the web, the desktop app, or your phone:

1. Open **Settings → Connectors** and choose **Add custom connector**.
2. Name it answerable, paste the address above, and choose **Add**.
3. Choose **Connect**, and sign in to answerable to choose its workspaces and permissions.

On a Team or Enterprise plan, an owner adds the connector for the organization first, and then each person connects it.

## ChatGPT

In ChatGPT, open **Settings → Apps** (Apps & Connectors on some plans) and create an app with the address above, choosing OAuth to sign in. Then turn it on in a chat from the **+** menu. On Business and Enterprise plans, an admin may need to allow custom apps first.

## Claude Code, Cursor, and VS Code

Add the address, then sign in when the editor asks:

```bash Claude Code
claude mcp add --transport http answerable https://staging.preview.answerable.co/mcp
```

```json Cursor
{
  "mcpServers": {
    "answerable": { "url": "https://staging.preview.answerable.co/mcp" }
  }
}
```

```json VS Code
{
  "servers": {
    "answerable": { "type": "http", "url": "https://staging.preview.answerable.co/mcp" }
  }
}
```

- **Claude Code:** run the command, then `/mcp` in Claude Code, choose answerable, and sign in.
- **Cursor:** add it to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project), then sign in from answerable's entry in Cursor's MCP settings.
- **VS Code:** add it to `.vscode/mcp.json` in your project, then choose **Start** above answerable's entry, and sign in.

Other apps that support remote MCP servers connect the same way: add the address, and sign in when they ask.

## With an API key

For anything that can't sign in, such as a script, a scheduled job, or a server, create a key under **Your account → API keys**, with only what that tool needs, and send it with every request:

```http
Authorization: Bearer ans_key_…
```

The same key works with the MCP server and the [REST API](https://staging.preview.answerable.co/docs/developers/api.md):

```bash curl
curl https://staging.preview.answerable.co/api/v1/workspaces \
  -H "Authorization: Bearer ans_key_…"
```

```bash Claude Code
claude mcp add --transport http answerable https://staging.preview.answerable.co/mcp \
  --header "Authorization: Bearer ans_key_…"
```

```json Cursor
{
  "mcpServers": {
    "answerable": {
      "url": "https://staging.preview.answerable.co/mcp",
      "headers": { "Authorization": "Bearer ans_key_…" }
    }
  }
}
```

## Afterwards

An app acts as you, in the workspaces you chose, within the permissions you gave it. Apps connected with OAuth are listed under **Your account → Connected apps**, and keys under **Your account → API keys**, where you can disconnect or revoke them at any time. [What apps can do, and the permissions](https://staging.preview.answerable.co/docs/developers.md#permissions)
