← All integrations

Lob MCP server

105 operations0 webhooks

Address verification and print mail with Lob - verify US and international addresses, send and track postcards, letters, checks, self mailers, snap packs and booklets, run bulk-mail campaigns, and manage templates, bank accounts, billing groups and short links.

Try Lob with your agent

Connect Lob, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.

Using Corsair, show me what you can do in Lob on my account, then run one read-only example and show me the result.

Runs once, when you ask

Lob tools and triggers

Tools are what your agent can do in Lob through Corsair's MCP server. Triggers are the Lob events a routine can start from.

Uploads

  • CreateWrite

    Create an audience upload for a campaign and map its CSV columns to address fields and merge variables

    uploads.create

  • Create ExportWrite

    Start an export of an upload's rows (all, failures or successes)

    uploads.createExport

  • DeleteDestructive

    Permanently delete an audience upload

    uploads.delete

  • GetRead-only

    Read one upload by its upl_ ID, including processing state and row counts

    uploads.get

  • Get ExportRead-only

    Read an upload export, including its download URL once ready

    uploads.getExport

  • Get ReportRead-only

    Page through an upload's per-row validation report

    uploads.getReport

  • ListRead-only

    List audience uploads, optionally for one campaign

    uploads.list

  • UpdateWrite

    Change an upload's column mappings or metadata

    uploads.update

  • Upload FileWrite

    Attach the audience CSV file (at most 50 MiB here) to an upload; Lob validates its rows asynchronously

    uploads.uploadFile

Buckslips

  • CreateWrite

    Create a buckslip (a letter insert) from front and back artwork. Printing happens only when you order stock

    buckslips.create

  • Create OrderDestructive

    Order a print run of a buckslip (at least 5,000). Lob prints and bills the whole order

    buckslips.createOrder

  • DeleteDestructive

    Permanently delete a buckslip

    buckslips.delete

Connect Lob to Claude, ChatGPT or Cursor

  1. 1

    Connect Lob in Corsair

    Add your Lob API key once in Corsair. Corsair stores the credential encrypted and makes the Lob API calls for your agent, so it never goes into a prompt or a config file. Connect Lob

    If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Lob. On a ChatGPT personal plan, connect Lob here first.

  2. 2

    Add Corsair's MCP server to your agent

    Every client uses the same address:

    https://mcp.corsair.dev/mcp
    Open Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.

    Codex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client

  3. 3

    Sign in and choose what needs your approval

    Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Lob's read and write operations run right away and its 27 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.

FAQ

Install corsair and @corsair-dev/lob, add the Lob plugin, and connect with an API key. Then call methods like corsair.lob.api.account.getBalance() from your app. Corsair keeps each tenant isolated.

Yes. Lob requires an API key from your Lob account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.

Yes. One Corsair client can hit Lob, GitHub, Notion, Stripe, and the rest. Trigger Lob from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for address verification and print mail with Lob - verify US and international addresses, send and track postcards, letters, checks, self mailers, snap packs and booklets, run bulk-mail campaigns, and manage templates, bank accounts, billing groups and short links. Common builds include sync jobs, admin tooling, and agents that call Lob APIs from your backend.

The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Lob API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.

We maintain @corsair-dev/lob in the open repo. When Lob ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.

No. Corsair does not read your Lob data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Lob data on your behalf.

Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.

Yes. Put Lob on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 27 destructive Lob operations. You can change a link's mode at hub.corsair.dev/me.