Documentation Index
Fetch the complete documentation index at: https://docs.foxreach.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
FoxReach provides a hosted Model Context Protocol (MCP) server that lets AI agents manage your leads, campaigns, templates, and email accounts through natural language. No local installation required — just connect your AI client to FoxReach using your API key. Supported clients: Claude Desktop, Cursor, Claude Code, and any MCP-compatible client.Prerequisites
- A FoxReach account with an active workspace
- An API key (create one in Settings > API Keys)
- A compatible MCP client installed
Setup
Claude Desktop
Open Claude Desktop settings
Go to Settings > Developer > Edit Config to open your
claude_desktop_config.json file.Add the FoxReach MCP server
Add the following to your config file. Replace
otr_YOUR_KEY_HERE with your actual API key.Cursor
Claude Code
Run this command in your terminal:Available Tools
FoxReach exposes 19 tools across four resource categories:Leads
| Tool | Description |
|---|---|
list_leads | List leads with optional search and status filtering |
get_lead | Get a single lead by ID |
create_lead | Create a new lead (deduplicates by email) |
update_lead | Update an existing lead’s fields |
delete_lead | Delete a lead by ID |
Campaigns
| Tool | Description |
|---|---|
list_campaigns | List campaigns with optional status filtering |
get_campaign | Get a campaign by ID, including sequence steps |
create_campaign | Create a new campaign in draft status |
update_campaign | Update an existing campaign |
delete_campaign | Delete a campaign (must be in draft status) |
start_campaign | Start a draft campaign — begins sending |
pause_campaign | Pause an active campaign |
Templates
| Tool | Description |
|---|---|
list_templates | List email templates with optional category filtering |
get_template | Get a single template by ID |
create_template | Create a new email template |
update_template | Update an existing template’s fields |
delete_template | Delete a template by ID |
Email Accounts
| Tool | Description |
|---|---|
list_email_accounts | List connected email accounts |
get_email_account | Get an email account with warmup and health info |
Example Prompts
Once connected, you can use natural language to interact with FoxReach:- “List all my active campaigns” — calls
list_campaignswith status filter - “Create a lead for [email protected] at Acme Inc” — calls
create_lead - “Pause the campaign named Q1 Outreach” — calls
list_campaignsto find it, thenpause_campaign - “Show me all email templates” — calls
list_templates - “Draft a cold outreach template and save it” — AI writes the copy, then calls
create_template
Authentication
The MCP server authenticates using your FoxReach API key, the same key used for the REST API. Pass it via theX-API-Key header — all MCP clients support custom headers.
All communication is encrypted via HTTPS.
Troubleshooting
Tools not appearing in Claude Desktop Make sure the URL andX-API-Key header in your config are correct. Restart Claude Desktop after making changes.
“401 Unauthorized” error
Your API key is invalid, expired, or revoked. Generate a new one in Settings > API Keys.
Connection drops or timeouts
SSE connections are long-lived. Some network environments or proxies may drop idle connections. Your MCP client will automatically reconnect.
Tool calls returning errors
The MCP tools call the FoxReach REST API under the hood. Check the error message — it follows the same error format as the API (e.g., 404 for not found, 409 for duplicate email).