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:

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

VariableRequiredDefaultNotes
SETELL_EXTENSION_KEYYes—Per-user bearer key minted at go.setell.ai/settings.
SETELL_API_URLNohttps://go.setell.aiOverride 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)

ToolTitleWhat it does
setell_get_healthSetell connection healthCheck the Setell connection status.
setell_find_jobsFind Setell jobsList Setell jobs filtered by status, customer email, or recency.
setell_get_quoteGet a Setell quoteFetch a single Setell quote by id.
setell_find_customerFind Setell customersSearch Setell customers by email (exact) or name (partial).
setell_get_morning_briefSetell morning briefToday'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_signalSetell pricing signalGet Setell's pricing-analyst verdict on a quote BEFORE you send it.
setell_propose_parts_listSetell parts-list proposalDerive 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_autonomySetell autonomy modesShow the operator's per-action-class autonomy modes.
setell_get_shop_profileSetell shop profileRead 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_baselineSetell customer pricing baselineRead the operator's learned pricing baseline for a specific customer.
setell_get_learning_coverageSetell learning-loop coverageHow deep is the operator's vertical-moat data?
setell_get_pricing_calibrationSetell pricing report cardHow RIGHT has Setell's pricing memory been?
setell_get_customer_memorySetell customer memory listList every CustomerMemory row Setell has stored for a specific customer — pricing patterns, preferences, communication style.
setell_get_quote_tiersList Setell quote tiersList 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_marginSetell realized job marginWhat the operator ACTUALLY made on a job (realized margin).
setell_get_roof_conditionSetell roof recordThe 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_areaSetell roof area scanScore every already-analysed roof inside a bounding box, worst-first, for planning where to knock.
setell_get_property_recordSetell property recordThe 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_summarySetell margin summaryRealized 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_resultsSetell activation resultsWhich lead sources turned into quotes and won revenue in the window: mailers / QR responses, the website intake form (incl.
setell_list_playbooksSetell trade playbooksList 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_capabilitiesSetell composable capabilitiesList 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_servicesOperator service catalogList the services THIS operator has defined for their own business — name, price drivers, quote structure, season, and status (DRAFT/ACTIVE/ARCHIVED).
setell_list_inboxList pending inbound emailsList inbound emails awaiting review (newest first, max 50) — sender, subject, received time, short preview.
setell_check_inventoryCheck Xero stock for a quoteCheck 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_searchSetell Territory listThe Territory list: the same ranked roofs the operator sees on the Territory page, worst first, across the markets on this account.
setell_territory_roof_recordSetell Territory roofOne 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_quoteSetell preview a roof quoteWhat "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_contactsSearch Xero contacts for a customerSearch the operator's Xero contacts (name or email) to link a Setell customer to.
setell_portfolio_summarySetell portfolio summaryThe operator's portfolios: their own lists of buildings, read as a group.
setell_portfolio_planSetell portfolio planA 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_campaignsSetell list mail campaignsThe operator's mail campaigns, newest first: id, name, size, mailClass, status, pieceCount, estimatedCostCents, scheduledFor, copyBatchPending and piece counts by status.
setell_mail_campaign_statusSetell mail campaign statusOne 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_searchSetell hazard tree propertiesProperties 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_recordSetell hazard tree recordOne 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)

ToolTitleWhat it does
setell_set_autonomySet Setell autonomy modeSet the operator's autonomy mode for one action class.
setell_update_shop_profileUpdate Setell shop profilePARTIAL 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_quoteCompose a Setell quote emailDraft 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_quoteSend a Setell quoteIRREVERSIBLY sends the doorbell email to the customer (V2 outbound via DKIM-delegated Resend or SETELL_DEFAULT).
setell_schedule_sendSchedule a Setell quote sendSchedule the latest quote on a job to be sent automatically at a future time.
setell_cancel_scheduled_sendCancel a scheduled Setell quote sendClear a pending scheduled send on the latest quote of a job.
setell_save_customer_memorySetell save customer memoryPersist a single learned pattern about a customer mid-conversation.
setell_generate_quote_tiersGenerate Setell quote tiersGenerate 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_tierSelect a Setell quote tierMake a chosen good/better/best tier the job's active quote.
setell_apply_playbookApply a Setell trade playbookApply a Setell-curated trade playbook (from setell_list_playbooks).
setell_add_job_contextSetell add job contextAttach freeform scoping notes to a job — site-visit / walkthrough observations, phone-call notes, dictated measurements, verbal scope details from the customer.
setell_create_jobSetell create jobStarts a job (status NEW) for a customer the operator names.
setell_draft_quoteSetell draft quoteStarts 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_capabilityConfigure a Setell capabilityChange one Setell capability module (from setell_list_capabilities).
setell_compose_serviceCompose a Setell serviceWire several Setell capability modules at once — the composition call.
setell_define_serviceDefine an operator serviceCreate or update one of THIS operator’s own services (e.g.
setell_set_service_statusPublish or archive an operator serviceTake one of the operator’s own services live (publish) or stop offering it (archive).
setell_approve_inbound_emailApprove a pending inbound emailApprove a pending inbound email from setell_list_inbox — creates the job (and customer if new) and queues AI drafting.
setell_reject_inbound_emailReject a pending inbound emailReject a pending inbound email — spam, not a lead, or duplicate.
setell_approve_quoteApprove a draft quote (internal)Approve a DRAFT quote internally — it becomes the live SENT version; prior versions are superseded.
setell_accept_quote_on_behalfAccept a quote on the customer's behalfMark a SENT quote ACCEPTED on the customer's behalf — they said yes by phone, meeting, or email outside the portal.
setell_reject_quoteReject a quoteMark a quote REJECTED — the customer's no (by: CUSTOMER, default) or the operator withdrawing (by: OWNER).
setell_create_invoiceCreate an invoiceCreate an invoice for an accepted/signed job in the operator's connected accounting system (QuickBooks precedence over Xero).
setell_push_quote_to_accountingPush a quote to XeroPush an approved quote into the operator's accounting system (Xero) as a draft quote.
setell_mark_paid_offlineRecord an offline paymentRecord an out-of-band payment (cash, check, ACH, wire) and mark the job PAID.
setell_create_job_from_roofSetell start a quote from a roofTurn a Territory roof into a Setell job the operator can quote.
setell_link_xero_contactLink a customer to a Xero contactLink 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_contactAccept the suggested Xero contactLink 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_contactUnlink a customer from its Xero contactRemove the link between a Setell customer and its Xero contact.
setell_flag_roof_scoreSetell flag a roof scoreRecord the operator's disagreement with a served roof score.
setell_portfolio_importSetell import addresses into a portfolioAdd 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_campaignSetell create mail campaignCreate 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_briefSetell set mail campaign copy briefChange 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_samplesSetell write mail copy samplesWrite 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_copySetell write all mail copyWrite 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_copySetell edit mail card copyReplace 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_campaignSetell preview mail campaignPreview 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_campaignSetell send mail campaignSend a previewed mail campaign: its cards are queued for printing and mailing, which costs money.
setell_mail_cancel_campaignSetell cancel mail campaignCancel a mail campaign.
setell_mail_suppress_addressSetell do-not-mail listThe operator's do-not-mail list for postcards.

Resources (user-attached via @-mention)

URIReturnsMIME
setell://healthCurrent 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://autonomyCurrent 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/coverageVertical-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}/baselinePer-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}/memoryEvery 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 commandArgumentsWhat it expands into
/setell-triage-inboxnoneNew inbound jobs from the last 24h: customer ask, proposed price band, NEW-vs-needs-clarification recommendation, prioritized by inferred importance.
/setell-stale-jobsolder_than_days?: number = 7Sent 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-revenuenoneTrailing 7-day revenue summary: signed, paid, in-pipeline, week-over-week deltas, the largest open opportunity, anomalies flagged.
/setell-customer-historycustomer: stringResolves a customer by name, attaches their full history, then answers your next question with that context loaded.
/setell-draft-followupjob_id: stringDrafts a follow-up email in your brand voice for the given job. Does not send — sending requires a separate, deliberate action.
/setell-pricing-checkjob_id: stringRuns 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-coveragenoneOne-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-quotejob_id: stringOrchestrates 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/clx8h3p9a000 and tell me what changed between version 1 and version 2."
  • "Use /setell-triage-inbox to 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, call setell_get_pricing_signal and 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_quote autonomy to Trust so Setell auto-proceeds on routine WARN pushback. Use setell_set_autonomy."
  • "Compose a quote for job clx8h3p9a000 with setell_compose_quote, show me the preview, then send it with setell_send_quote after 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_coverage and 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

License

MIT — see LICENSE.