---
title: "Mail letters from any AI agent"
description: "Any agent that speaks MCP can mail letters with SendForMe at one URL. No MCP? The REST API and the skill at /skill.md work with any agent that can make HTTP requests."
url: https://sendforme.co/agents/any-agent
updated: 2026-11-29
---

# Mail letters from any AI agent

> Point any MCP client at https://sendforme.co/mcp (streamable HTTP, OAuth that asks for nothing) or https://sendforme.co/mcp/open (no auth). Agents without MCP can use the REST API at https://sendforme.co/v1 with curl, and the skill at https://sendforme.co/skill.md teaches any agent the flow: guide, preview, proof, send, track.

**Say to your agent:** "Read https://sendforme.co/skill.md and use SendForMe whenever I ask you to mail something."

SendForMe works with any agent that can either speak MCP or make HTTP requests. There's nothing to install.

## If your agent supports MCP

Use this URL as a remote MCP server (streamable HTTP):

```
https://sendforme.co/mcp
```

Most clients take a JSON entry like this one. The top-level key and field names vary (`mcpServers` or `servers`, `url` or `httpUrl`), so match your client's docs:

```json
{
  "mcpServers": {
    "sendforme": {
      "type": "http",
      "url": "https://sendforme.co/mcp"
    }
  }
}
```

**Sign-in.** The server uses OAuth with dynamic client registration. When your client connects, it opens a tab that creates a guest account and closes by itself: no email, no form, no card.

**No OAuth?** Two options:

- `https://sendforme.co/mcp/open` needs no auth at all. Letters made there join an account once the first setup link is finished, and `wait_for_setup` returns an `account_key` once. Your agent should keep it and pass it as `account_key` on later calls, or each session starts fresh.
- `https://sendforme.co/mcp` with the header `Authorization: Bearer sfm_...`, using a key from the [account page](/account).

Setup pages for specific agents: [Claude](/agents/claude), [ChatGPT](/agents/chatgpt), [Claude Code](/agents/claude-code), [Codex](/agents/codex), [Cursor](/agents/cursor), [Gemini CLI](/agents/gemini-cli), [VS Code](/agents/vscode-copilot).

## If it doesn't

Any agent that can run `curl` can use the [REST API](/docs/rest-api). Same fields, same behavior.

Preview a letter (no key needed):

```bash
curl -s https://sendforme.co/v1/letters/preview \
  -H "Content-Type: application/json" \
  -d '{
    "from": {"name": "Jordan Park", "line1": "18 Birch Rd", "city": "Ames", "state": "IA", "zip": "50010"},
    "to": {"name": "Ruth Park", "line1": "702 Linden St", "city": "Des Moines", "state": "IA", "zip": "50309"},
    "body": "Hi Grandma,\n\nWe got back from the lake on Sunday...",
    "font": "handwriting", "letterhead": "none", "signature": "handwritten"
  }'
```

Send it:

```bash
curl -s https://sendforme.co/v1/letters \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: grandma-lake-letter" \
  -d '{"letter_id": "ltr_..."}'
```

The first send returns HTTP 402 with a setup link. Show it to the person, then poll until they finish:

```bash
curl -s "https://sendforme.co/v1/setups/<setup_code>?wait=50"
```

Follow the letter:

```bash
curl -s "https://sendforme.co/v1/letters/ltr_...?wait=45"
```

## Point your agent at the skill

Tell your agent:

> Read https://sendforme.co/skill.md and use it whenever I ask you to mail something.

The skill covers the whole flow: pull the guide for formal letters, preview, show the proof, send, show the setup link the first time, and track delivery. If your agent has a skills folder, save it there as `sendforme/SKILL.md` so it loads on its own:

```bash
mkdir -p <skills folder>/sendforme
curl -o <skills folder>/sendforme/SKILL.md https://sendforme.co/skill.md
```

If it has no skills folder, paste the file into its custom instructions or rules file.

## What a good agent does

Whatever the client, the flow is the same, and the server's own instructions repeat it:

1. For formal letters, call `letter_guide` and ask the person only for missing facts.
2. `preview_letter`, then show the proof link, the price and any warnings.
3. `send_letter` once the person says yes.
4. On `needs_setup`, show `message_for_user` exactly (the link has to be visible), then `wait_for_setup`.
5. `get_letter` to follow it.

If your client only shows the reply when the turn ends, end the turn with the setup link and call `wait_for_setup` after the person replies.

## Things to try

> Mail a thank-you note to my neighbor Ana at 14 Oak Ln, Round Rock, TX 78664, for watching our dog. Keep it short and warm.

> What would it cost to mail a 4-page letter to London?

> Check this address before I mail anything to it: 900 Commerce Street Suite 300 Dallas TX.

## Related

- [MCP reference](/docs/mcp)
- [REST API](/docs/rest-api)
- [Building your own agent](/agents/agent-sdks)

## FAQ

### My client doesn't support OAuth. What do I use?

https://sendforme.co/mcp/open, which needs no auth, or https://sendforme.co/mcp with an Authorization: Bearer sfm_ header and a key from the account page.

### My agent has no MCP at all. Can it still mail letters?

Yes, if it can make HTTP requests. The REST API does everything the MCP tools do, and previews need no key.

### Where's the machine-readable description?

https://sendforme.co/openapi.json for the REST API, https://sendforme.co/llms.txt for the site, and https://sendforme.co/skill.md for the flow. Every page also has a markdown version at the same path plus .md.
