# Bring your own AI assistant: connect Claude, ChatGPT, Gemini, or Cursor via API & MCP

- Source: https://siftreach.com/blog/connect-your-own-ai-assistant-via-api-and-mcp/
- Publisher: SiftReach (https://siftreach.com/)
- Author: Owen Far
- Category: Product
- Published: Dec 6, 2026
- Tags: api, mcp, claude, gemini, chatgpt, no-lock-in

> **TL;DR:** Use our versioned REST API (/api/v1/*) and zero-install Remote MCP server (/api/mcp) with scoped personal API keys to connect Claude, ChatGPT, Gemini, Cursor, Codex, or custom scripts at $0 AI quota. External assistants pull your ICP and Notebook rules, bulk-upsert researched leads, and stage benchmark-checked drafts—never sending behind your back.

Most outreach tools are built like walled gardens. If you want to use your own research workflow, write drafts with the AI subscription you already pay for, or pull your replies into a custom script, you hit a paywall—or an export button that gives you a stale CSV and nothing else.

We built SiftReach around a different promise for solo founders and small teams:

- **No purchase lock-in.**
- **Bring your own research, prepare your own drafts.**
- **Bring your own assistant, and use the core workspace free forever.**

Every account ships with a versioned **REST API (`/api/v1/*`)**, an auto-generated **OpenAPI 3.1 spec (`/api/v1/openapi.json`)**, and a zero-install **Remote Streamable HTTP MCP server (`/api/mcp`)**—all secured with scoped personal API keys.

## Why our API and MCP server refuse to send emails

If you experiment with Claude, ChatGPT, Gemini, Cursor, or Codex, you have probably felt the exact tension of agentic outreach: you want your assistant to do the tedious legwork—checking websites, verifying fit, drafting in your tone—without ever risking a runaway loop blasting half-baked emails from your real domain.

That is why both `/api/v1/*` and `/api/mcp` are **strictly stage-only**:

1. **Zero autonomous SMTP sends.** Neither the REST API nor MCP exposes a live email-sending endpoint or tool.
2. **Instant quality self-correction.** Every time your assistant stages an email or DM draft, the response includes our live **5-check quality audit** (subject length, word count, plain-text deliverability, cliché detection, and soft question CTA) so the model can fix issues *before* handing off.
3. **One-click human handoff.** Every staged lead and batch returns a direct `reviewUrl` straight into your **Outreach** or **Mail** queue.
4. **Your Notebook still learns from your edits.** Drafts staged by an external assistant record a baseline snapshot automatically. When you tweak a line in Outreach before hitting Send, your **Self-Calibrating Notebook** captures that edit at `$0` cost—so the *next* time Claude, ChatGPT, or Gemini pulls your project context, it writes even closer to your voice.

> **Human sign-off stays universal**
>
Whether a draft comes from our built-in Smart Match engine, Daily Auto-Prepare, or your own external assistant over MCP, the same rule applies: nothing leaves your mailbox until you read it and click Send.

## Step 1: Create a scoped personal API key (30 seconds)

Inside SiftReach, open the bottom-left account menu and select **API & MCP** (or open **Account Settings → API & MCP**).

1. Give the key a clear name (for example `Claude Code`, `Cursor`, `Gemini Workflow`, or `n8n`).
2. Choose least-privilege scopes:
   - **`read`** — Read projects, ICP, segments, templates, Notebook rules, leads, outreach queue, and Mail threads.
   - **`write:leads`** — Import/upsert researched leads, update fit scores, archive with skip reasons, or log completed Direct outreach (contact forms, LinkedIn, creator DMs).
   - **`write:drafts`** — Stage initial email/DM drafts and thread reply drafts into your review queue.
   - **`write:workspace`** — Create or update projects, segments, templates, and standing Notebook rules.
   - **`ai:run`** *(off by default)* — Optional opt-in if you also want an external tool to trigger our hosted AI research or drafting quotas.
3. Optionally restrict the key to a single project and set an expiration window.

Click **Create API Key** and copy the one-time `oak_live_...` token. Keys are stored strictly as HMAC-SHA256 hashes, can be revoked in one click, and are never accepted on internal account-security, mailbox-credential, or admin routes.

## Step 2: Connect your AI assistant

The **API & MCP** panel generates copy-paste snippets pre-filled with your live workspace URL.

### Claude Code (one command)

```bash
claude mcp add --transport http outreach "https://YOUR_APP_HOST/api/mcp" \
  --header "Authorization: Bearer oak_live_YOUR_KEY"
```

### Cursor, Claude Desktop & MCP JSON clients

Add one entry to your MCP configuration file—no local npm package or binary required:

```json
{
  "mcpServers": {
    "outreach": {
      "type": "http",
      "url": "https://YOUR_APP_HOST/api/mcp",
      "headers": {
        "Authorization": "Bearer oak_live_YOUR_KEY"
      }
    }
  }
}
```

### ChatGPT, Gemini & custom agent frameworks

- **MCP-native clients (Gemini CLI, Antigravity, ChatGPT Connectors, Windsurf):** Point the client to `https://YOUR_APP_HOST/api/mcp` with `Authorization: Bearer oak_live_YOUR_KEY`. The server speaks standard Streamable HTTP JSON-RPC 2.0 (`2025-06-18` / `2025-03-26`) and dynamically filters the tool list to match your key's scopes.
- **OpenAPI / Function Calling (Custom GPT Actions, Gemini Function Calling, n8n, Zapier, Make):** Import the live **OpenAPI 3.1** specification directly from `https://YOUR_APP_HOST/api/v1/openapi.json` with Bearer auth.

## Step 3: Run the 4-step compounding loop

Once connected, your assistant has access to focused, high-signal MCP tools (and equivalent REST routes) plus two built-in MCP prompt recipes—`research_and_stage_prospects` and `draft_waiting_replies`.

A real session looks like this:

1. **Pull full context in one call (`get_project_context` / `GET /api/v1/projects/{slug}/context`):** Your assistant reads your product summary, ICP, active audience segments, active templates, and **prioritized Notebook rules** (including the explicit `User Rules > Templates` writing guidance) at `$0` AI quota.
2. **Research with your own tools:** Let Claude, ChatGPT, Gemini, or your own scraper search the web, verify real hooks from a company's site or creator channel, and score fit 1–10.
3. **Batch upsert & stage drafts (`upsert_leads` / `POST /api/v1/projects/{slug}/leads/batch`):** Push up to 100 leads per REST call (50 via MCP) with optional pre-written drafts. SiftReach automatically deduplicates across domains, emails, and canonical social profiles, protects `do_not_contact` records, and runs live 5-check benchmarks on every draft.
4. **Click the returned `reviewUrl`:** Your assistant hands back a direct link straight to `/projects/<slug>/outreach?mode=fresh&leadId=...` (or `mode=direct` for contact forms, LinkedIn notes, and creator DMs). Review the batch in calm plain text, make any quick tweaks, and send on your own schedule.

### Example: Importing researched leads & staging drafts via REST cURL

```bash
# 1. Read project ICP, templates, and Notebook rules ($0 AI quota)
curl -s "https://YOUR_APP_HOST/api/v1/projects/my-project/context" \
  -H "Authorization: Bearer oak_live_YOUR_KEY"

# 2. Batch-import researched prospects + stage drafts for human review
curl -s -X POST "https://YOUR_APP_HOST/api/v1/projects/my-project/leads/batch" \
  -H "Authorization: Bearer oak_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "onDuplicate": "skip",
    "leads": [
      {
        "companyName": "Kestrel Digital",
        "website": "https://kestreldigital.example",
        "contactName": "Claire Bennett",
        "email": "claire@kestreldigital.example",
        "fitScore": 9,
        "personalizationHooks": [
          "Shipped three EU Shopify Plus migrations this quarter"
        ],
        "draftSubject": "Quick note on Kestrel launches",
        "draftBody": "Hi Claire,\n\nSaw Kestrel Digital shipped three EU Shopify Plus migrations this quarter. We built a lightweight post-launch QA check that catches silent checkout regressions right after theme deploys.\n\nWould you be open to seeing a quick example?"
      }
    ]
  }'
```

The response immediately returns:

- Deduplication summary (`created`, `updated`, `skipped`, `failed`),
- Live **benchmark results** per draft (`score`, `totalChecks`, exact failing details if any), and
- A clickable **`reviewUrl`** opening straight to that prospect inside Outreach.

## Managing replies and your Notebook from any assistant

The integration covers the full outreach lifecycle—not just lead import:

- **Triage waiting replies:** Ask your assistant to call `list_mail_threads` (`waitingOnly: true`) and `get_lead_details` to read the full synced IMAP thread, then stage a contextual response with `stage_lead_draft` (`kind: "thread"`).
- **Capture taste rules anywhere:** Tell your assistant *"Never pitch 15-minute calls in first emails—save that to my Notebook"* (`save_notebook_rule`), and SiftReach saves the rule and immediately flags any active templates that conflict with it.
- **Skip bad-fit leads cleanly:** Archiving a prospect with a structured reason via `update_or_archive_lead` feeds the same Research & Fit signal log as clicking Archive in the UI.

## What stays free forever

When you bring your own research, prepare your own drafts, or connect your own assistant over API & MCP, **none of those operations consume AI quota**. Standard free accounts include up to **25 calm SMTP sends/day (500/month)** from your own connected mailbox, **unlimited Direct outreach** (contact forms, LinkedIn, creator DMs), up to **3 projects, 2 email accounts, 5 active API keys, and 2,500 leads per project**, plus generous daily allowances if you also want to use our built-in AI discovery and drafting.

Use our built-in engine when you want speed; plug in Claude, ChatGPT, Gemini, Cursor, or your own scripts whenever you want full control—with zero lock-in either way.

## Frequently Asked Questions

### Can an external AI assistant send emails automatically through the API or MCP?
No. Both the REST API (/api/v1/*) and Remote MCP server (/api/mcp) are strictly stage-only. External assistants can research, score, upsert leads, and stage email, DM, or reply drafts—returning live 5-check quality benchmarks and a direct reviewUrl so you always inspect and click Send in the web app.

### Does bringing my own research and drafts via API or MCP consume AI quota?
No. Reading project context, Notebook rules, templates, and mail threads, importing up to 100 researched leads per batch, and staging your own drafts all use $0 AI quota. Core outreach workflows stay free forever without purchase lock-in.

### Which AI assistants and automation tools work with this integration?
Any MCP-compatible client—including Claude Code, Claude Desktop, Cursor, ChatGPT connectors, and Gemini CLI / agent workflows—can connect directly to /api/mcp with zero local install. Any script, n8n, Zapier, Make, or custom Gemini/OpenAI/Claude pipeline can call the versioned REST API at /api/v1/* using the OpenAPI 3.1 spec at /api/v1/openapi.json.
