Setell
Quote-to-cash for contractors, machine shops and other service businesses. Draft a quote from a customer's request, follow up on quiet quotes, send after you approve, and turn the accepted quote into an invoice that syncs to QuickBooks or Xero.
Hosted MCP Server
npx add-mcp 'https://go.setell.ai/api/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
@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.14.0, 75 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.
- An MCP-aware client. Tested with Claude Code, Claude desktop, and the Claude.ai Custom Connector flow.
Install
The server is published to npm as @setell/mcp. Most clients run it via npx so you don't have to install anything globally.
If you do want a global install:
npm install -g @setell/mcp
Configure
You need a Setell API key. Mint one in your Setell account at Settings → API Key (go.setell.ai/settings). The page shows the raw key exactly once — copy it into your MCP client config below. The key is per-user, revocable from the same page, and resolves directly to your Setell tenant. The same key powers the Chrome extension and the mobile app.
Claude Code
claude mcp add setell --command "npx -y @setell/mcp" --env SETELL_EXTENSION_KEY=setell_ext_...
Or edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows) directly:
{
"mcpServers": {
"setell": {
"command": "npx",
"args": ["-y", "@setell/mcp"],
"env": {
"SETELL_EXTENSION_KEY": "setell_ext_..."
}
}
}
}
Restart Claude Code (or the desktop app). The Setell tools, resources, and prompts will appear in the server-status panel.
Remote endpoint (no local install)
Setell also hosts the same tools as a remote MCP server — no Node, no npx, nothing local:
{
"mcpServers": {
"setell": {
"url": "https://go.setell.ai/api/mcp",
"headers": {
"Authorization": "Bearer setell_ext_..."
}
}
}
}
Any client that supports remote MCP servers with custom headers (Claude Code, Claude Desktop, API integrations) can use it today. Auth, plan gating, and tenant scoping are identical to the stdio path — same key, same backend.
Cursor and VS Code (one click)
These links add the hosted endpoint with a browser sign-in, so there's no key and no install:
- Add Setell to Cursor
- Install Setell in VS Code (needs GitHub Copilot)
Claude.ai (Custom Connector)
Claude.ai's web Custom Connector connects to the hosted endpoint above (https://go.setell.ai/api/mcp) with a browser sign-in — no local install and no manual key. Prefer a local server? Claude.ai Desktop can also run the stdio npx -y @setell/mcp invocation via the config above.
ChatGPT desktop and other MCP clients
Any client that supports stdio MCP servers can use the npx -y @setell/mcp invocation above. Set SETELL_EXTENSION_KEY in the client's per-server environment.
Environment variables
| Variable | Required | Default | Notes |
|---|---|---|---|
SETELL_EXTENSION_KEY | Yes | — | 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
The MCP server reads SETELL_EXTENSION_KEY at boot, calls /api/mcp/v1/health once to verify the key, plan, and integrations, and then attaches the key to every backend request as Authorization: Bearer <key>. The Setell backend re-resolves the key on every request — the MCP process never holds tenant data and never opens a database connection.
If the key is missing, malformed, revoked, or your plan doesn't qualify, the MCP server exits with a clear error message before any tool registers. The error surfaces in your MCP client's server-status panel rather than as a hung connection.
See docs/BET-3-SETELL-MCP-V0.md §4 for the full auth model.
What's in it
Tools (model-invoked)
Every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint per the MCP spec. 75 tools: 35 read-only and 40 that change something. 32 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 (40)
| 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_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
"Setell-MCP requires the SETELL_EXTENSION_KEY environment variable." — The key isn't reaching the spawned process. In Claude Code, check that your claude_desktop_config.json has the key under the env block (not just exported in your shell — the spawned npx process doesn't inherit your shell env).
"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.
Tools list is empty. — The boot health probe failed before tools registered. Check your MCP client's server-status panel for the stderr message; the server logs every fatal error there.
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.