Mail letters from VS Code with GitHub Copilot

Run code --add-mcp with name sendforme, type http and url https://sendforme.co/mcp, or add it to mcp.json. Open Copilot Chat in Agent mode, check the SendForMe tools, and allow the sign-in when VS Code asks. Nothing to fill in.

Say to your agentMail out/notice.pdf to the address in contacts.json for Northgate Property Management, certified.

Copilot's agent mode in VS Code can use MCP tools, which is how it gets a mailbox. It's useful for PDFs your workspace builds and for mailing a CSV of recipients.

Install in VS Code

One command

code --add-mcp '{"name":"sendforme","type":"http","url":"https://sendforme.co/mcp"}'

Or edit mcp.json

Run MCP: Open User Configuration from the Command Palette (or create .vscode/mcp.json in a workspace) and add:

{
  "servers": {
    "sendforme": {
      "type": "http",
      "url": "https://sendforme.co/mcp"
    }
  }
}

Open Copilot Chat, switch to Agent mode, click the tools icon, and make sure the sendforme tools are checked.

Signing in

When the server starts, VS Code asks to let sendforme sign in (or shows Auth above the entry in mcp.json). Click Allow. A browser tab opens and closes by itself. There's no email, no form and no card. That creates your SendForMe account.

With an API key instead

Make a key on the account page. To keep it out of the file, use an input:

{
  "inputs": [
    { "type": "promptString", "id": "sendforme-key", "description": "SendForMe key", "password": true }
  ],
  "servers": {
    "sendforme": {
      "type": "http",
      "url": "https://sendforme.co/mcp",
      "headers": { "Authorization": "Bearer ${input:sendforme-key}" }
    }
  }
}

If VS Code never shows a sign-in step and you'd rather not use a key, https://sendforme.co/mcp/open needs no auth; Copilot gets a setup link per session unless it keeps the account_key it receives.

Your first letter

The first time Copilot sends a real letter, SendForMe returns a setup link like https://sendforme.co/go/QF6S-2U4Z and Copilot shows it in the chat. Open it, check the proof, and add credit once. The letter goes out by itself. After that, letters go straight out with a 10-minute undo window. More in setup links.

Things to try

Write a letter to my senator about the bridge closure on Route 9, using the points in notes.md, and mail it. Show me the proof first.

Mail out/statements/*.pdf to each customer, matching file names to the addresses in customers.csv. Preview them all before sending.

Check on the letters I sent yesterday.

Tips for VS Code

  • Tool confirmations: Copilot asks before running each MCP tool unless you allow it. Allow the read-only tools for the session and keep confirming send_letter.
  • Uploads: for a local PDF, Copilot calls upload_file and runs curl -T in the terminal. Approve the terminal command when it asks.
  • Templates: keep the top-left 4.7 x 3 inches of page 1 blank in any PDF template your project generates, and letters mail without an extra address page. See bring your own PDF.
  • Instructions: add "use SendForMe for mailing; show the proof link before sending" to .github/copilot-instructions.md.

What it costs

Previews, address checks and letter guides are free. A one-page First-Class letter is $2.49, printing and postage included; Certified Mail is $10.99, and certified with an electronic return receipt is $13.99. Each extra page is $0.25. Credit is prepaid and never expires, and a letter cancelled in the undo window puts its credit back on your balance. Full details on pricing.

FAQ

Do I need Agent mode?

Yes. MCP tools are available in Copilot Chat's Agent mode. Ask and Edit modes don't call them.

How do I keep an API key out of mcp.json?

Use an input with password: true, as shown below. VS Code asks for the key once and stores it securely.

Does it work with other agents in VS Code?

Any VS Code extension that reads MCP servers from VS Code's configuration can use it. For Cline, Continue and others, add the same URL in their own MCP settings.

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.

https://sendforme.co/mcp
How to add it

Related

Updated 2026-11-29 by Jake Marsh.