SendForMe MCP server: tools, flow, statuses and errors
The SendForMe MCP server is at https://sendforme.co/mcp (streamable HTTP, OAuth that asks for nothing) or https://sendforme.co/mcp/open (no auth). It has 10 tools: preview_letter, send_letter, wait_for_setup, get_letter, cancel_letter, list_letters, upload_file, check_address, letter_guide and account. The flow is letter_guide, preview_letter, show the proof, send_letter, get_letter.
Connecting
| URL | Auth | Use it for |
|---|---|---|
https://sendforme.co/mcp |
OAuth 2.1 with dynamic client registration, or Authorization: Bearer sfm_... |
Every client that supports OAuth (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code, Gemini CLI) |
https://sendforme.co/mcp/open |
None | Clients that can't do OAuth or send headers |
Transport is streamable HTTP, stateless, with JSON responses.
OAuth guest connect. When a client connects to /mcp without a token, it gets a 401 pointing at our OAuth metadata. The client registers itself, opens the authorize page, and we issue a guest account on the spot: no email, no form, no card. The tab usually closes by itself. If you're already signed in to SendForMe in that browser, you get a one-click consent page that links the new agent to your existing account and balance.
/mcp/open. No auth at all. Letters made here aren't tied to an account until the first setup link is finished; after that, wait_for_setup returns an account_key once. Save it and pass it as account_key on later calls (most tools accept it), or the next session starts fresh and shows another setup link.
API keys. Make one on the account page. Keys start with sfm_. Send it as Authorization: Bearer sfm_... on /mcp and calls go straight to your account.
The flow
letter_guide(kind)for formal letters: what to ask the user, structure, wording, deadlines, mail class.preview_letter(...): free. Returnsletter_id,letter_url(the proof), price lines and warnings.- Show the user the proof and the price.
send_letter(letter_id).- First letter, or not enough credit: status
needs_setup. Showmessage_for_userexactly as written (the link has to be visible), then callwait_for_setup(setup_code). - Account with approval on, or a letter over the price limit: status
awaiting_approval, same handling. - Otherwise: status
scheduled, withcancel_until.
- First letter, or not enough credit: status
get_letter(letter_id)follows it to delivery.
Every response includes a next_step string that says what to do next.
Tools
preview_letter
Free, no account. Lays out the letter (or normalizes a PDF), checks addresses, prices it, estimates delivery and flags problems.
Main arguments:
to: recipient address. Fieldsname,company,line1,line2,city,state,zip,country(2-letter, default US), or one line for a US address:"Jane Doe, 123 Main St Apt 4, Springfield, IL 62701".recipients: instead ofto, up to 500 recipients for a mail merge.from: the user's own name and US address. Required on the first letter, then saved.body: the letter text in markdown. Only the body: no addresses, date or signature.pdf: bring your own file: an upload id (f_...), an https URL, or base64.attachments: exhibits printed after the letter (PDFs or photos).subject,references,salutation,closing,signature,signer_name,signer_title,enclosures,cc,postscript,datefont(serif,sans,handwriting,typewriter),letterhead(none,name,full),style(size,line_height,align,accent,page_numbers),contactmail_class:first_class(default),certified,certified_return_receiptcolor,double_sided,mail_date(YYYY-MM-DD, up to 180 days out),must_arrive_by(YYYY-MM-DD)pdf_placement:auto,first_page,cover_pagemerge:{{field}}values,label: your own name for it
Every field is explained in letter formatting.
send_letter
Mails it. Pass letter_id from a preview, batch_id for a mail merge, or the full set of preview fields to preview and send in one step. letter_id plus changed fields re-renders with the changes. Sending a letter that's already scheduled or mailed sends nothing new.
wait_for_setup
setup_code, optional wait_seconds (max 50). Waits for the person to finish the setup link and returns as soon as they do. Returns waiting_for_setup (with link_opened) if they haven't; call it again. In ChatGPT, end your turn with the link first, since ChatGPT shows nothing until the turn ends.
get_letter
letter_id, optional wait_seconds (0 to 50) to wait for the next change. Returns status, status_text, timeline, price, delivery estimate, address check, tracking_number and usps_tracking_url for certified letters, letter_url, proof_url and mailing_record_url once it's mailed.
cancel_letter
letter_id. Stops a letter that hasn't been printed. During the undo window the credit goes back to the balance. Once it's at the printer, it can't be recalled.
list_letters
limit (1 to 50, default 10), optional status. Recent letters, newest first. Needs an account.
upload_file
Optional filename. Returns file_id and a one-time upload_url. PUT the bytes there (curl -T ./letter.pdf "<upload_url>"), then pass file_id as pdf or in attachments. PDF, PNG or JPEG, up to 25 MB. The link lasts 24 hours.
check_address
address to verify a US address against USPS data (deliverable, missing unit, the standardized form with ZIP+4) or format an international one. Or query to find a business's mailing address by name and city; it returns candidates to confirm with the user. Free.
letter_guide
Optional kind, a slug like security-deposit-demand or plain words like "gym cancellation". Without kind, it returns the list of kinds and the body formatting rules.
account
Balance, return address, defaults, undo window, approval mode, price limit, recent letters, an add-credit link and pricing. It also saves settings: return_address, default_mail_class, default_style, approval (auto or each), hold_minutes (0 to 1440), max_letter_usd. Agents should change settings only when the user asks.
Statuses
| Status | Meaning |
|---|---|
draft |
Previewed, not sent |
needs_setup |
Waiting for the user to add credit on the setup link |
awaiting_approval |
Waiting for the user's approval on the link |
scheduled |
In the undo window, or waiting for its mail_date |
submitting |
Going to the printer now |
sent_to_printer |
At the printer |
mailed |
Handed to USPS |
in_transit |
Moving through USPS |
in_local_area |
At the recipient's local post office |
out_for_delivery |
Out for delivery |
pickup_available |
Certified letter waiting at the post office for a signature (USPS left a notice) |
delivered |
Delivered |
returned |
Returned to sender |
re_routed |
Re-routed by USPS |
cancelled |
Cancelled |
failed |
The printer refused it; the credit went back to the balance |
Error codes
Errors come back with isError: true and a body of { ok: false, code, error, next_step }.
| Code | What it means |
|---|---|
TO_REQUIRED |
No recipient. Pass to or recipients. |
BAD_TO_ADDRESS, BAD_FROM_ADDRESS, BAD_ADDRESS |
An address couldn't be read. Send it as fields. |
FROM_REQUIRED |
No return address. Ask the user for their name and mailing address. |
FROM_NOT_US |
Return addresses have to be in the US. |
CONTENT_REQUIRED |
No body or pdf. |
CONTENT_REFUSED |
The letter reads as a threat. Firm is fine: deadlines, amounts, what happens next. |
BAD_PDF, BAD_ATTACHMENT |
A file couldn't be read (password-protected, damaged, or not PDF/PNG/JPEG). |
TOO_LONG |
Over 60 sheets. Split it or print double-sided. |
UNKNOWN_LETTER, UNKNOWN_BATCH |
No letter or batch with that id on this connection. |
UNKNOWN_SETUP, SETUP_EXPIRED |
The setup code is wrong, or the link is past its 3 days. Call send_letter again for a fresh one. |
TOO_LATE |
The letter is already printed or mailed and can't be cancelled. |
NO_ACCOUNT |
list_letters before any account exists. |
INVALID_KEY |
The account_key or bearer key is revoked, expired or mistyped. |
ADDRESS_REQUIRED, VERIFY_FAILED, LOOKUP_LIMIT, LOOKUP_FAILED, LOOKUP_UNAVAILABLE |
check_address problems: nothing to check, or the lookup is unavailable or rate-limited. |
PAUSED |
Mailing is paused for maintenance. Nothing was charged; previews still work. |
Prompts
The server also offers prompts some clients show as shortcuts: deposit-demand, credit-dispute, cancel-in-writing, note-to-family and mail-my-pdf.
FAQ
Why only 10 tools?
Agents pick the right tool more often from a short list. Every letter option is an argument on preview_letter and send_letter instead of its own tool.
What happens if my agent calls a tool name that doesn't exist?
The server answers with an error that suggests the closest real tool, for example send_mail points to send_letter, and lists all ten.
Does every tool need an account?
No. preview_letter, check_address and letter_guide work with no account. Letters made without one are followed by letter_id.
Mail it from your agent
Add SendForMe to Claude, ChatGPT or any MCP agent with one URL. Previews are free; a letter is $2.49, certified $10.99.
Related
Updated 2026-11-29 by Jake Marsh.