@setell/mcp
Drive your Setell quote-to-cash workflow from any MCP-aware agent — Claude Code, Claude.ai, ChatGPT, or any client that speaks the Model Context Protocol.
Setell is a vertical agent for small-business quote-to-cash (machine shops, contractors, HVAC, service businesses). It ingests inbound email, drafts AI quotes, applies structured revisions, sends invoices, and syncs to QuickBooks. Setell exposes the same agent across three peer surfaces: a web app, the Gmail inbox, and any MCP-aware agent. @setell/mcp is the third surface — it lets you ask "what's stale?", "show me the Cooper job", or "draft a follow-up" from whatever agent you live in, without leaving it. Built for operators who run their business from Claude Code, and for bookkeepers and fractional CFOs who drive Setell on behalf of an operator.
Status: version
0.15.0, 77 tools (35 read-only), 6 resources and 8 prompts. The agent channel works on every plan, including Free; plan limits apply. Two transports: the hosted remote connector (https://go.setell.ai/api/mcp) and local stdio (npx -y @setell/mcp). The counts and tables below are generated from the server itself at each release.
Requires
- A Setell account on any plan, including Free. Plan limits apply (for example the monthly AI quote cap on Free), and Pro-only features such as custom PDF templates stay Pro-only.
- Node.js 18 or newer, for the local stdio server only. The hosted connector needs nothing installed.
- An MCP-aware client: Claude.ai, Claude Code, ChatGPT, Codex, Cursor, VS Code or any client that speaks MCP.
Install
The hosted connector below needs no install. For the local stdio server, the package is on npm as @setell/mcp. Most clients run it with npx, so you don't have to install anything globally.
If you do want a global install:
npm install -g @setell/mcp
Configure
There are two ways to connect. Most people should use the first one.
Hosted connector (no key, no install)
Setell hosts the same tools as a remote MCP server at:
https://go.setell.ai/api/mcp
You sign in to Setell in your browser once (OAuth). There is no key to copy and nothing to install. It works on every plan, including Free.
- Claude.ai and the Claude app: Customize, then Connectors, then Add, then Add custom connector. Paste the URL and click Connect. A connector added here also shows up in Claude Code for the same account.
- Claude Code:
claude mcp add --scope user --transport http setell https://go.setell.ai/api/mcp, then run/mcp, pick setell and sign in. - ChatGPT (Business, Enterprise and Edu): open Plugins, click +, then Add custom MCP server. Paste the URL, choose OAuth, and click Create as a plugin. Type
@Setellin a chat to use it. - Codex:
codex mcp add setell --url https://go.setell.ai/api/mcp, thencodex mcp login setell. - Cursor and VS Code (one click): Add Setell to Cursor · Install Setell in VS Code (needs GitHub Copilot)
Step-by-step setup for each client: setell.ai/docs/mcp-connect.
Local stdio server (npx -y @setell/mcp)
Use this for an MCP client that runs only local servers, or when you want the resources and slash-command prompts listed below. It needs a Setell API key: mint one at Settings → API Key (go.setell.ai/settings). The page shows the key once. It is per-user, revocable from the same page, and it is the same key the Chrome extension and the mobile app use.
Claude Code:
claude mcp add setell --command "npx -y @setell/mcp" --env SETELL_EXTENSION_KEY=setell_ext_...
Claude desktop, Cursor and other clients that take a JSON config:
{
"mcpServers": {
"setell": {
"command": "npx",
"args": ["-y", "@setell/mcp"],
"env": {
"SETELL_EXTENSION_KEY": "setell_ext_..."
}
}
}
}
Restart the client. The Setell tools, resources and prompts appear in its server-status panel.
The hosted endpoint also takes the same key as a header (Authorization: Bearer setell_ext_...) for API integrations that can't do a browser sign-in.
Environment variables (stdio only)
| Variable | Required | Default | Notes |
|---|---|---|---|
SETELL_EXTENSION_KEY | Yes (stdio) | — | Per-user bearer key minted at go.setell.ai/settings. |
SETELL_API_URL | No | https://go.setell.ai | Override for staging / local dev. No trailing slash. |
How auth works
Hosted connector: your client signs in through Setell's OAuth flow (dynamic client registration and PKCE). Setell issues a token scoped to your account, and you can disconnect any agent from Settings → Connected agents.
Local stdio server: the server reads SETELL_EXTENSION_KEY, calls /api/mcp/v1/health once to check the key, plan and integrations, and attaches the key to every backend request as Authorization: Bearer <key>.
Either way, the Setell backend resolves the caller on every request. The MCP process never holds tenant data and never opens a database connection.
The stdio server always starts and lists its tools, even with a missing or wrong key, so MCP inspectors and registries can read it. A missing, wrong or revoked key shows up as an error on the first tool call. A plan limit (for example Free's monthly AI quote cap) comes back as a quota error on the call that hit it.
What's in it
Tools (model-invoked)
Every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint per the MCP spec. 77 tools: 35 read-only and 42 that change something. 34 are marked destructive: any tool that sends email, writes to QuickBooks or Xero, or records a customer or payment decision. The consequential tools also require confirmed: true (the calling agent's statement that the operator said yes), and the server enforces it. Sending a quote is two steps: setell_compose_quote returns a preview and a single-use confirmation token, and setell_send_quote uses it.
Read-only (35)
| Tool | Title | What it does |
|---|---|---|
setell_get_health | Setell connection health | Check the Setell connection status. |
setell_find_jobs | Find Setell jobs | List Setell jobs filtered by status, customer email, or recency. |
setell_get_quote | Get a Setell quote | Fetch a single Setell quote by id. |
setell_find_customer | Find Setell customers | Search Setell customers by email (exact) or name (partial). |
setell_get_morning_brief | Setell morning brief | Today's Setell snapshot: new inbound jobs in the last 24h, quotes awaiting review, quotes sent without response for >3 days, top 3 hot prospects (recent viewers who haven't accepted), and revenue from deals won this... |
setell_get_pricing_signal | Setell pricing signal | Get Setell's pricing-analyst verdict on a quote BEFORE you send it. |
setell_propose_parts_list | Setell parts-list proposal | Derive a full parts-list proposal for a job from the operator's OWN history: similar past jobs are mined for co-occurring parts, adapted to this job, and each part returns priced from the operator's history with a... |
setell_get_autonomy | Setell autonomy modes | Show the operator's per-action-class autonomy modes. |
setell_get_shop_profile | Setell shop profile | Read the operator's shop profile — the capability sheet quotes are judged against: machines (name × count, envelope notes), finishing processes (in-house vs outsourced), materials commonly run, and a free-form... |
setell_get_customer_baseline | Setell customer pricing baseline | Read the operator's learned pricing baseline for a specific customer. |
setell_get_learning_coverage | Setell learning-loop coverage | How deep is the operator's vertical-moat data? |
setell_get_pricing_calibration | Setell pricing report card | How RIGHT has Setell's pricing memory been? |
setell_get_customer_memory | Setell customer memory list | List every CustomerMemory row Setell has stored for a specific customer — pricing patterns, preferences, communication style. |
setell_get_quote_tiers | List Setell quote tiers | List the good/better/best option groups generated for a job (most recent first) — each tier's label, summary, line items, total, and whether the base quote is still current (baseIsCurrent: false means select will... |
setell_get_job_margin | Setell realized job margin | What the operator ACTUALLY made on a job (realized margin). |
setell_get_roof_condition | Setell roof record | The measured roof record for a job's site address — its current state, observed condition and change over time: roof area, slope, rooftop equipment count, the surface/defect findings with per-finding confidence and... |
setell_scan_roof_area | Setell roof area scan | Score every already-analysed roof inside a bounding box, worst-first, for planning where to knock. |
setell_get_property_record | Setell property record | The ONE property record for a corpus building (customer-property-record/1): the current state of the roof, its observed condition and how it changed over time. |
setell_get_margin_summary | Setell margin summary | Realized margin across the operator's recent WON jobs: revenue-weighted overall margin (honestly-costed jobs only), per-jobType averages (worst first), the 3 worst jobs, the count below their target margin, and how... |
setell_get_activation_results | Setell activation results | Which lead sources turned into quotes and won revenue in the window: mailers / QR responses, the website intake form (incl. |
setell_list_playbooks | Setell trade playbooks | List Setell's curated trade playbooks — behavior starter-configs (intake guidance, structure-only starter quote templates, setup suggestions; never prices) — and which one the operator has applied. |
setell_list_capabilities | Setell composable capabilities | List Setell's composable capability modules — the pipeline stages (pricing, proposal, delivery, follow-up) an operator can wire to their own preferences — with each module’s JSON config schema, defaults, whether it... |
setell_list_services | Operator service catalog | List the services THIS operator has defined for their own business — name, price drivers, quote structure, season, and status (DRAFT/ACTIVE/ARCHIVED). |
setell_list_inbox | List pending inbound emails | List inbound emails awaiting review (newest first, max 50) — sender, subject, received time, short preview. |
setell_check_inventory | Check Xero stock for a quote | Check a quote against the operator's live Xero stock: per line, whether stock covers it (in_stock, short, not_tracked, not_matched, unknown), plus a one-line shortage. |
setell_territory_search | Setell Territory list | The Territory list: the same ranked roofs the operator sees on the Territory page, worst first, across the markets on this account. |
setell_territory_roof_record | Setell Territory roof | One Territory roof with provenance: its list row (condition words, confidence, rank, parcel-building line, owner through the rights engine) plus the property record's Roof Health word and explanation, the recommended... |
setell_preview_roof_quote | Setell preview a roof quote | What "Start a quote" would create for ONE scope on a Territory roof: the lines, quantities and unit prices, the total, and where each price comes from (price_book, past_quotes, benchmark, or estimate: a line no... |
setell_search_xero_contacts | Search Xero contacts for a customer | Search the operator's Xero contacts (name or email) to link a Setell customer to. |
setell_portfolio_summary | Setell portfolio summary | The operator's portfolios: their own lists of buildings, read as a group. |
setell_portfolio_plan | Setell portfolio plan | A portfolio's planning spend by start time (now, 1 to 3 years, 3 to 5 years), worst building first in each group, each building with its condition word and its range or null. |
setell_mail_list_campaigns | Setell list mail campaigns | The operator's mail campaigns, newest first: id, name, size, mailClass, status, pieceCount, estimatedCostCents, scheduledFor, copyBatchPending and piece counts by status. |
setell_mail_campaign_status | Setell mail campaign status | One mail campaign: campaign (name, size, mailClass, status, design, copyBrief, scheduledFor, copyBatchPending), piece counts by status, cost (estimatedCents, vendorReportedCents) and its first 50 cards, oldest first,... |
setell_territory_hazard_tree_search | Setell hazard tree properties | Properties in one market with a hazard tree: a tree tall enough and close enough to reach the building or house if it fails. |
setell_territory_hazard_tree_record | Setell hazard tree record | One property's hazard trees: its buildingClass, the counts, then up to 10 trees worst first, each with its species, leafType, tier, score and maximum, scoreText, alarm and alarm text, the score factors with their... |
Changes something (42)
| Tool | Title | What it does |
|---|---|---|
setell_set_autonomy | Set Setell autonomy mode | Set the operator's autonomy mode for one action class. |
setell_update_shop_profile | Update Setell shop profile | PARTIAL patch of the operator's shop profile — only the fields you pass change; each provided list REPLACES that whole field (to add a machine: existing machines plus the new one), and setell_get_shop_profile returns... |
setell_compose_quote | Compose a Setell quote email | Draft the quote email body (AI-generated in the operator's brand voice) AND mint a single-use confirmation token bound to this quote version + recipient. |
setell_send_quote | Send a Setell quote | IRREVERSIBLY sends the doorbell email to the customer (V2 outbound via DKIM-delegated Resend or SETELL_DEFAULT). |
setell_schedule_send | Schedule a Setell quote send | Schedule the latest quote on a job to be sent automatically at a future time. |
setell_cancel_scheduled_send | Cancel a scheduled Setell quote send | Clear a pending scheduled send on the latest quote of a job. |
setell_nudge_customer | Send a Setell follow-up email | Email the job's customer a follow-up, under the operator's send_follow_up autonomy mode. |
setell_cancel_follow_up | Cancel a Setell follow-up email | Cancel a follow-up email that is still a Watch-mode draft or is scheduled for later, by the followUpId setell_nudge_customer returned. |
setell_save_customer_memory | Setell save customer memory | Persist a single learned pattern about a customer mid-conversation. |
setell_generate_quote_tiers | Generate Setell quote tiers | Generate good/better/best options around a job's current quote (proven close-rate lifter): GOOD is a leaner lower-priced option, BETTER is the existing baseline (recommended, mirrored verbatim), BEST is an expanded... |
setell_select_quote_tier | Select a Setell quote tier | Make a chosen good/better/best tier the job's active quote. |
setell_apply_playbook | Apply a Setell trade playbook | Apply a Setell-curated trade playbook (from setell_list_playbooks). |
setell_add_job_context | Setell add job context | Attach freeform scoping notes to a job — site-visit / walkthrough observations, phone-call notes, dictated measurements, verbal scope details from the customer. |
setell_create_job | Setell create job | Starts a job (status NEW) for a customer the operator names. |
setell_draft_quote | Setell draft quote | Starts Setell's AI quote draft for a job that has no quote yet, priced from this operator's own past jobs and price list. |
setell_configure_capability | Configure a Setell capability | Change one Setell capability module (from setell_list_capabilities). |
setell_compose_service | Compose a Setell service | Wire several Setell capability modules at once — the composition call. |
setell_define_service | Define an operator service | Create or update one of THIS operator’s own services (e.g. |
setell_set_service_status | Publish or archive an operator service | Take one of the operator’s own services live (publish) or stop offering it (archive). |
setell_approve_inbound_email | Approve a pending inbound email | Approve a pending inbound email from setell_list_inbox — creates the job (and customer if new) and queues AI drafting. |
setell_reject_inbound_email | Reject a pending inbound email | Reject a pending inbound email — spam, not a lead, or duplicate. |
setell_approve_quote | Approve a draft quote (internal) | Approve a DRAFT quote internally — it becomes the live SENT version; prior versions are superseded. |
setell_accept_quote_on_behalf | Accept a quote on the customer's behalf | Mark a SENT quote ACCEPTED on the customer's behalf — they said yes by phone, meeting, or email outside the portal. |
setell_reject_quote | Reject a quote | Mark a quote REJECTED — the customer's no (by: CUSTOMER, default) or the operator withdrawing (by: OWNER). |
setell_create_invoice | Create an invoice | Create an invoice for an accepted/signed job in the operator's connected accounting system (QuickBooks precedence over Xero). |
setell_push_quote_to_accounting | Push a quote to Xero | Push an approved quote into the operator's accounting system (Xero) as a draft quote. |
setell_mark_paid_offline | Record an offline payment | Record an out-of-band payment (cash, check, ACH, wire) and mark the job PAID. |
setell_create_job_from_roof | Setell start a quote from a roof | Turn a Territory roof into a Setell job the operator can quote. |
setell_link_xero_contact | Link a customer to a Xero contact | Link a Setell customer to one of the operator's Xero contacts (a contactId from setell_search_xero_contacts), so quotes print its billing details, payment terms and discount and pushes go to that contact. |
setell_accept_xero_contact | Accept the suggested Xero contact | Link a Setell customer to the Xero contact Setell suggested for it (xeroSuggestion on setell_find_customer: the company name matches a Xero contact but the email is not on it). |
setell_unlink_xero_contact | Unlink a customer from its Xero contact | Remove the link between a Setell customer and its Xero contact. |
setell_flag_roof_score | Setell flag a roof score | Record the operator's disagreement with a served roof score. |
setell_portfolio_import | Setell import addresses into a portfolio | Add the operator's own addresses to a portfolio, by portfolioId or by name (the live portfolio with that exact name, created when there is none). |
setell_mail_create_campaign | Setell create mail campaign | Create a draft postcard campaign and fill it from the operator's prospect list in one call: worst roof first, from the live territories (or the one territoryId), buildings in the markets on this account only, up to... |
setell_mail_set_copy_brief | Setell set mail campaign copy brief | Change a draft mail campaign: the copyBrief the AI copy is written to (businessName, tone friendly, direct, premium or urgent, callToAction, optional offer, extraInstructions and recipientKind), and/or its name, card... |
setell_mail_write_copy_samples | Setell write mail copy samples | Write AI copy for a draft campaign's first 5 cards (oldest first), so the operator can judge the copy brief before every card is written. |
setell_mail_write_all_copy | Setell write all mail copy | Write AI copy for every card of a draft campaign whose copy the operator has not edited, as one background batch (up to 24 hours) written to the brief's recipient kind; cards of the other recipient kind get template... |
setell_mail_edit_piece_copy | Setell edit mail card copy | Replace one draft card's copy with the operator's own words: headline (one line, at most 60 characters), body (at most 320) and optional callout (at most 80). |
setell_mail_preview_campaign | Setell preview mail campaign | Preview a draft mail campaign before it is sent: returns pieceCount (cards), unitPriceCents (the operator's price per card sent, in cents), estimatedCents (pieceCount x unitPriceCents), billing, confirmationToken... |
setell_mail_send_campaign | Setell send mail campaign | Send a previewed mail campaign: its cards are queued for printing and mailing, which costs money. |
setell_mail_cancel_campaign | Setell cancel mail campaign | Cancel a mail campaign. |
setell_mail_suppress_address | Setell do-not-mail list | The operator's do-not-mail list for postcards. |
Resources (user-attached via @-mention)
| URI | Returns | MIME |
|---|---|---|
setell://health | Current connection + plan + integration snapshot. Read this first to verify the MCP server is healthy. | application/json |
setell://jobs/{id} | Full job state: customer, every quote version (summaries), recent emails, customer-memory snapshot. Pivot to setell_get_quote for line items on a specific version. | application/json |
setell://autonomy | Current per-action-class autonomy modes (WATCH / TRUST / AUTO). Read this when reasoning about how Setell will behave on the next send. | application/json |
setell://learning/coverage | Vertical-moat metrics + maturity tier (cold-start / warming / mature / deep). Use when sizing up how much weight to give pricing-analyst verdicts. | application/json |
setell://customers/{id}/baseline | Per-customer learned pricing baseline rows (one per jobType plus customer-wide). Sampled over SIGNED quotes — reflects the operator's actual pricing for this relationship. | application/json |
setell://customers/{id}/memory | Every CustomerMemory row stored for a specific customer — pricing patterns, preferences, communication style, each with source tag, confidence, and timestamps. Read before writing via setell_save_customer_memory. | application/json |
Prompts (slash commands)
| Slash command | Arguments | What it expands into |
|---|---|---|
/setell-triage-inbox | none | New inbound jobs from the last 24h: customer ask, proposed price band, NEW-vs-needs-clarification recommendation, prioritized by inferred importance. |
/setell-stale-jobs | older_than_days?: number = 7 | Sent quotes whose last touch is older than {older_than_days} days. For each, attaches customer history and proposes a follow-up matching the customer's historical cadence. |
/setell-weekly-revenue | none | Trailing 7-day revenue summary: signed, paid, in-pipeline, week-over-week deltas, the largest open opportunity, anomalies flagged. |
/setell-customer-history | customer: string | Resolves a customer by name, attaches their full history, then answers your next question with that context loaded. |
/setell-draft-followup | job_id: string | Drafts a follow-up email in your brand voice for the given job. Does not send — sending requires a separate, deliberate action. |
/setell-pricing-check | job_id: string | Runs setell_get_pricing_signal and narrates the verdict in the operator's voice (PASS / WARN / FLAG + reasoning + recommended counter). Does not send — operator picks the next action. |
/setell-moat-coverage | none | One-paragraph narrative of the operator's Setell vertical-moat depth (maturity tier, customer breadth, sample-size, next milestone). Pulls from setell_get_learning_coverage. |
/setell-send-quote | job_id: string | Orchestrates the full compose → pricing-check → confirm → send flow. Stops for operator confirmation before the irreversible send. Uses the same safety stack as the in-app send_quote tool. |
Example queries
Once installed and running, ask your agent any of:
- "Show me my stale jobs from the last two weeks and rank them by how likely they are to close."
- "Draft a follow-up for the Cooper roof-replacement job in my voice — don't send it yet."
- "Pull up
@setell://jobs/clx8h3p9a000and tell me what changed between version 1 and version 2." - "Use
/setell-triage-inboxto walk me through this morning's new requests, and flag anything that looks like a repeat customer." - "What's my revenue this week vs. last week? Use
/setell-weekly-revenue." - "Before I send this quote for $1,800 on job
clx8h3p9a000, callsetell_get_pricing_signaland tell me what my pricing-analyst says." - "What does Setell know about how I price kitchen jobs for Cooper? Use
setell_get_customer_baseline." - "Flip my
send_quoteautonomy to Trust so Setell auto-proceeds on routine WARN pushback. Usesetell_set_autonomy." - "Compose a quote for job
clx8h3p9a000withsetell_compose_quote, show me the preview, then send it withsetell_send_quoteafter I confirm." - "Schedule the Cooper quote to go out tomorrow at 9am Pacific — use
setell_schedule_send." - "Actually cancel the schedule on that one, let me look at it again —
setell_cancel_scheduled_send." - "How much pricing brain does Setell have built up for me? Use
setell_get_learning_coverageand summarize."
Current limitations
- The hosted remote connector exposes the tool surface; resources and prompts are served over the local stdio server (
npx -y @setell/mcp).
Troubleshooting
Tool calls fail with a missing-key or 401 error (stdio). — The key isn't reaching the spawned process. Put it under the server's env block in your client config; the spawned npx process doesn't inherit variables exported in your shell. Or switch to the hosted connector, which needs no key.
"Setell could not authenticate the API key." — The key is revoked, malformed, or belongs to a different environment. Mint a fresh one at go.setell.ai/settings.
A tool call returns a plan-limit error (HTTP 402). — The account has reached a plan limit, such as the monthly AI quote cap on Free, or the tool needs a feature above the current plan. Upgrade at go.setell.ai/settings/billing to raise it.
Not sure the connection works? — Ask your agent to run setell_get_health. It reports your plan and which of Gmail, QuickBooks and Outlook are connected, or the reason the call failed. The stdio server also writes its health-probe result to your client's server-status panel.
Links
- Setell: go.setell.ai
- Source: github.com/andrewmjacob/snowboxx (in
packages/mcp-server/) - Issues: github.com/andrewmjacob/snowboxx/issues
- Model Context Protocol: modelcontextprotocol.io
License
MIT — see LICENSE.