For agents, GTM engineers and agency tech leads

One MCP server and one API for every client's outbound data

SendLens syncs Instantly, Smartlead, HeyReach and EmailBison for every client into one schema, labels every reply, and serves it through a remote MCP server with 43 tools, a REST API, a TypeScript SDK, signed webhooks and read-only SQL. Nothing it exposes can write to a vendor.

One operation registry, every surface

MCP

# Everything the signed-in user can read
https://api.sendlens.app/mcp

# One client, two views
https://api.sendlens.app/mcp/clients/<client id>/views/replies,unanswered

REST

curl "https://api.sendlens.app/v1/unanswered?clientId=<client id>" \
  -H "Authorization: Bearer $SENDLENS_TOKEN"

SDK

const api = createSendLens({ token });
await api.unanswered.list({ clientId: "<client id>" });

The same answer from all three.

{
  "data": [
    {
      "clientId": "cl_acme",
      "reply": { "provider": "instantly", "leadEmail": "[redacted-email]" },
      "labels": [
        { "source": "vendor", "label": "Interested" },
        { "source": "jev", "label": "interested", "group": "positive" }
      ],
      "waitingSince": "2026-11-22T09:12:04Z"
    }
  ],
  "nextCursor": null,
  "meta": { "complete": true, "evidence": "exact", "stale": false }
}

Sample data.

Connect your agent

Install the plugin, or add one URL

The SendLens plugin is public at github.com/orchidautomation/sendlens-plugins. Every other client adds one URL. Sign-in is OAuth, so there are no tokens or keys to paste.

Claude Code

Run both in a Claude Code session. Then run /mcp, pick sendlens and sign in. The plugin adds the MCP server and six skills.

/plugin marketplace add orchidautomation/sendlens-plugins
/plugin install sendlens@sendlens

Cursor, ChatGPT, Claude Desktop, Codex and other MCP clients

Add this URL as a remote MCP server and sign in when the client asks. The plugin README has the steps for each client.

https://api.sendlens.app/mcp
Scope

The URL sets what an agent can see

Each sign-in gets a token for that URL only, so a token for a narrow URL can't be used on a broader one. A tool outside the URL's views is hidden.

MCP URLWhat the agent can read
/mcpEverything the signed-in user can read
/mcp/clients/<client ids>Only those clients
/mcp/clients/<client ids>/views/<views>Only those views of those clients, such as replies,unanswered
/mcp/clients/<client ids>/views/<views>/unmaskedThe same, with prospect names and emails shown. Agency admins only.
MCP tools

43 tools, from the same registry as the REST API

The tools are generated from the same operation registry as the REST routes and the SDK, so their answers can't drift apart.

AreaToolsWhat they do
Repliesreplies, reply, unanswered, lead_timelineLabelled replies across tools and clients, positive replies nobody has answered with how long each has waited, and everything that happened with one lead
Metrics and healthdaily_metrics, mailbox_health, runway, client_reportDaily counts per client and campaign with their quality labels, sending mailboxes and their history, leads left per campaign, and the Monday report for one client
Insights and named queriesinsights, run_insight, queries, run_queryDiagnostic questions answered from the stored history, such as why a campaign underperforms, which variant wins and which replies were dropped, and saved questions run on your warehouse, such as a campaign overview and the biggest movers, with no vendor request
Eventsevents, event, subscribe, subscriptions, rotate_subscription_secret, delete_subscription, fire_sandbox_eventThe normalized event stream and your webhook subscriptions
SQLsql_catalog, query_sqlThe tables you can query, and one read-only SELECT at a time
Clientsme, clients, create_client, rename_client, archive_clientWho is signed in, and the agency's client list (changes are for admins)
Connectionsconnections, add_connection, create_connect_link, set_connection_scope, set_connection_sync_campaigns, rotate_connection_key, delete_connection, connection_webhook, add_connection_webhookVendor connections, which campaigns each one covers and syncs, and each one's webhook endpoint. Adding a connection, rotating a key and creating a webhook endpoint hand off to a one-time browser link on SendLens's own page, so an agent never takes a vendor key or a secret.
Slackslack_install, slack_installations, revoke_slack_installation, alert_channels, set_alert_channel, delete_alert_channelThe Slack install and each client's alert channel
Feedbackreport_issue, report_statusAn agent files a report when a tool's answer is confusing, and checks on it later

Tools that write change only SendLens's own records, such as clients, subscriptions and alert channels. No tool writes to a vendor.

Plugin and skills

A plugin with six skills for Claude

The SendLens plugin adds the MCP server and six skills: short procedures that tell an agent which tools to call and how to report what they return. Each skill is one Markdown file, so other clients can use them as rules or project instructions.

Weekly client review
A client-ready summary of last week.
Reply triage
The replies that need an answer, with drafts for a person to send.
Campaign health
Bounce and reply rates, mailbox health and lead runway.
Client onboarding
Adding a client, its vendor connections, Slack alerts and event subscriptions. Admins only.
Insights
Why a campaign underperforms, which variant wins, when prospects reply and which replies were dropped, answered from the stored history.
Honesty labels
How to read and phrase every SendLens number, so an agent never overstates one.
Every surface

The same data, however you read it

Use MCP for agents and the rest for everything else. They share one registry, one set of schemas and one sign-in.

REST API
Under /v1, with an OpenAPI spec at /v1/openapi.json and CI that blocks a breaking change. Errors are RFC 9457 problems with a stable code and a hint. Writes are idempotent, so a retry is always safe.
TypeScript SDK
@sendlens/sdk. Requests and responses are parsed against the same schemas the API uses, and lists page as you iterate.
Signed webhooks and events
Thirteen event types, such as reply.classified, lead.interested, mailbox.degraded and campaign.runway_low, with filters and secret rotation. fire_sandbox_event sends a sample event in the sandbox so you can test an agent.
SQL warehouse
Your agency's own DuckDB warehouse on MotherDuck, loaded automatically. sql_catalog lists the modelled tables, and query_sql runs one read-only SELECT at a time.
query_sqlread-only SQL
SELECT client_name, label, replies
FROM sendlens.report_replies_by_label_week
WHERE week_start = DATE '2026-11-16'
  AND label_group = 'positive'
ORDER BY replies DESC
client_namelabelreplies
Acme Logisticsinterested6
Globex Softwareasks_for_info5
Initech Staffingmeeting_request4
Vandelay Importsinterested3

4 rows. complete: true, evidence: exact, stale: false

Sample data.

Safety

Built so an agent can't do damage

An agent gets a SendLens token, never a vendor key. What it can read is decided by the URL you sign it in with.

Read-only toward vendors
No tool or endpoint sends, pauses or edits anything in a vendor tool.
Scoped tokens
Narrow a token to one client or a few views. Anything outside the scope is refused.
Masked by default
Emails are redacted and names replaced. Only an agency admin can open an unmasked scope.
Prospect text marked untrusted
Text a prospect wrote comes back wrapped as untrusted content and capped in length, so an agent doesn't take it as instructions.
Every read logged
Who read what, under which sign-in and scope. If the log can't be written, no data is returned.
Revocable
Agency admins see every agent sign-in and can revoke one at once.
Guarded SQL
One SELECT against your own tables, parsed and checked before it runs, on a connection that can't reach anything outside SendLens.
Accurate counts

Labels and numbers you can state out loud

Honest numbers

Lists return meta with complete, evidence and stale. A count SendLens doesn't have is null, never 0.

Labels as data

Every reply keeps the tool's label, the rule's label and our classifier's label, with the version of the label set that made it. When the label set changes, past replies can be labeled again without losing the old labels.

Your model

We run one model, a small reply classifier, and it's included. Your agents bring their own model and key. We don't sell AI credits.

Open source

Built on an open-source SDK

SendLens runs on outbound-sdk, our MIT-licensed TypeScript SDK for Instantly, Smartlead, HeyReach and EmailBison. createOutbound({ adapter: instantly() }), then outbound.campaigns.listAll(), and the same calls work against the other three. It documents how each tool's API works, in the open, at outbound-sdk.dev.

$ npm install outbound-sdk

Questions

Can an agent change a campaign through SendLens?

No. Nothing SendLens exposes can write to a vendor. The tools that write change only SendLens's own records, such as clients, subscriptions and alert channels.

Which MCP clients work?

Any client that supports remote MCP servers with OAuth, including Claude Code, Claude Desktop and claude.ai, ChatGPT and Cursor.

Do agents need vendor keys?

No. Each key is entered once, on a one-time link to SendLens's own key entry page, and agents never see it. Agents get a SendLens token, never a vendor key.

Is there an OpenAPI spec?

Yes, at /v1/openapi.json. The SDK and the MCP tools are built from the same registry.

What does it cost?

MCP and API access are part of the Agency plan. Pricing

Give your agents every client's outbound data

Get access for your agency, then connect an agent with one URL.