Brewster Hosted MCP Server

Brewster provides a hosted read-only Model Context Protocol (MCP) server at https://brewsterai.app/mcp. AI assistants can read campaigns, sessions, transcripts, notes, and search results that you own.

Never commit API keys, and never put a key in a URL query parameter.


Client Compatibility Matrix

Client Recommended auth Where to configure Sync
Claude web (claude.ai) OAuth, Sign in with Brewster Settings > Connectors > Add Custom Connector Syncs across Claude web and mobile
Claude mobile (iOS / Android) OAuth, Sign in with Brewster Settings > Connectors Syncs across Claude web and mobile
ChatGPT OAuth, Sign in with Brewster Plugins > Add custom MCP server Available wherever that ChatGPT account can use the plugin
Claude Code API key Authorization: Bearer brw_... claude mcp add Local to that CLI
Cursor API key Authorization: Bearer brw_... .cursor/mcp.json or ~/.cursor/mcp.json Local machine or repo config
Claude Desktop API key brw_... via mcp-remote claude_desktop_config.json Local only. Claude Desktop does not sync to web or mobile.
Gemini CLI API key via BREWSTER_API_KEY gemini mcp add Export the variable, then run the command. The shell expands it.
VS Code API key via BREWSTER_API_KEY Copilot ~/.copilot/mcp-config.json or workspace .mcp.json The header references the environment variable. Do not paste the key into the file.

Authentication

Send a Bearer credential on every POST /mcp request:

Authorization: Bearer brw_...
  1. Personal API key (brw_...): Create it in Settings > API Access. The plaintext key is shown once.
  2. OAuth access token (brw_oauth_at_...): Issued when you choose Sign in with Brewster in Claude or ChatGPT. The scope is mcp:read.

A missing or rejected credential returns HTTP 401 with:

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata="https://brewsterai.app/.well-known/oauth-protected-resource/mcp", scope="mcp:read"

OAuth clients follow resource_metadata to discover Brewster. API-key clients receive a JSON body: { "error": "Invalid or missing API key" }.

Discovery and OAuth paths

Clients that sign in call these paths:

What a key can read

Access is limited to data you own:

  1. Owned campaigns: groups where you are in owners[] or you are owner_id.
  2. Your ungrouped sessions: sessions you own that are not in a group.
  3. Membership is not enough: being a player or a non-owner member does not grant access.
  4. Out of scope: a group or session you do not own is reported as not found, so other people's campaigns are not listed.
  5. Private notes: shared notes and your own private note are included. Other people's private notes are not.

Rate limit

Each API key may make 60 requests per minute. /api/v1 and /mcp share that quota. When the limit is exceeded, Brewster responds with HTTP 429 and a Retry-After header.


Client setup

Claude web and mobile

  1. Open Settings > Connectors (or the connector control in a conversation).
  2. Choose Add Custom Connector.
  3. Enter https://brewsterai.app/mcp.
  4. Choose Sign in with Brewster and authorize read-only access.

Claude Desktop's local file does not sync to claude.ai or the mobile apps. Add the connector in Claude settings to use Brewster there.

To revoke access, open Brewster Settings > API & Integrations > Connected Applications and revoke the connection.

ChatGPT

ChatGPT connects with OAuth. No API key is copied.

  1. In ChatGPT, open Plugins, select the plus button, then Add custom MCP server.
  2. Enter the name Brewster.
  3. Under Connection, enter https://brewsterai.app/mcp.
  4. Choose OAuth.
  5. Confirm the risk warning and create the plugin, then install it before using it in a conversation.
  6. ChatGPT sends you through Sign in with Brewster.

After you disconnect, revoke Brewster under Connected Applications.

Claude Code

claude mcp add --transport http brewster https://brewsterai.app/mcp --header "Authorization: Bearer brw_YOUR_API_KEY"

Cursor

Add this to .cursor/mcp.json or ~/.cursor/mcp.json. Do not commit the key.

{
  "mcpServers": {
    "brewster": {
      "url": "https://brewsterai.app/mcp",
      "headers": {
        "Authorization": "Bearer brw_YOUR_API_KEY"
      }
    }
  }
}

Claude Desktop

Claude Desktop does not sync this config to web or mobile. Route the remote server through mcp-remote in claude_desktop_config.json:

{
  "mcpServers": {
    "brewster": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://brewsterai.app/mcp",
        "--header",
        "Authorization:${BREWSTER_API_KEY}"
      ],
      "env": {
        "BREWSTER_API_KEY": "Bearer brw_YOUR_API_KEY"
      }
    }
  }
}

Gemini CLI

Export BREWSTER_API_KEY, then run:

gemini mcp add --transport http brewster https://brewsterai.app/mcp --header "Authorization: Bearer ${BREWSTER_API_KEY}"

The shell expands the variable before Gemini stores the header. Do not paste the unexpanded variable into ~/.gemini/settings.json.

VS Code

Paste this into ~/.copilot/mcp-config.json, or into workspace-root .mcp.json. Set BREWSTER_API_KEY in the environment of the host that runs Copilot. Do not paste the key into the file.

{
  "mcpServers": {
    "brewster": {
      "type": "http",
      "url": "https://brewsterai.app/mcp",
      "headers": {
        "Authorization": "Bearer ${BREWSTER_API_KEY}"
      }
    }
  }
}

Tools

Every tool is read-only.

list_groups

List campaigns you own, most recently active first.

get_group

Details, campaign summary, and owner-authored context for one owned group.

list_sessions

Sessions in owned campaigns, or your ungrouped sessions, newest first.

get_session

Metadata, duration, timestamps, and summary for one owned session.

get_transcript

Dialogue lines for one owned session, one page at a time.

get_transcript_text

The full transcript as plain text ([timestamp] Speaker: text).

get_session_notes

Shared session notes and your private session note.

search

Search dialogue, summaries, and notes in owned campaigns and your ungrouped sessions.

list_wiki_entries

Approved wiki entries for a campaign you own, newest first. Pending review items are not included.

search_wiki

Search approved wiki entries in one owned campaign.

get_wiki_entry

One approved wiki entry. A campaign you do not own returns not found.


Troubleshooting

Discovery

If a client says the server does not support sign-in, request the discovery document:

curl -i https://brewsterai.app/.well-known/oauth-protected-resource/mcp

A healthy response is HTTP 200 JSON whose resource is https://brewsterai.app/mcp. An HTML page means the discovery URL was not reached.

Expired sign-in

Tool calls that return 401 need a new sign-in. Claude and ChatGPT refresh access while the connection is still authorized. If the connection was revoked or the refresh failed, use Sign in with Brewster again. If you use a personal API key, create a new key under Settings > API Access and update the client.

Browser 403

A browser request that returns 403 means the page origin is not the Brewster app. Claude web, Claude mobile, and ChatGPT are supported; connect them with Sign in with Brewster rather than calling /mcp from another website.