lob-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOB_API_KEY | Yes | Your Lob API key. Use a `test_…` key during development; mail-piece tools will not produce real mail in test mode. Switch to `live_…` only when ready to ship real mail. | |
| LOB_BASE_URL | No | Override the Lob API base URL. Defaults to 'https://api.lob.com/v1'. | |
| LOB_API_VERSION | No | Pin a specific Lob API version via the `Lob-Version` header (e.g., '2020-02-11'). Omit to use your account default. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lob_addresses_createA | Save an address to the Lob address book so it can be reused by ID ( |
| lob_addresses_listA | List addresses stored in your Lob address book. For 'how many addresses?' counts, pass |
| lob_addresses_getA | Retrieve a single saved address by ID. |
| lob_addresses_deleteA | Delete a saved address from the address book. Does not affect mail pieces already created with it. |
| lob_us_verifications_createA | Verify, correct, and standardize a single US address. Returns deliverability status, USPS-formatted components, geolocation (lat/lng), and county info. |
| lob_us_verifications_getA | Retrieve a previously-created US verification by ID. |
| lob_us_autocompletions_createA | Suggest completed US addresses from a partial input — useful for typeahead UX. Returns up to 10 suggestions. |
| lob_intl_verifications_createA | Verify a single non-US address. Returns deliverability status and standardized components for the destination country. |
| lob_bulk_us_verifications_createA | Verify up to 1,000 US addresses in a single request. Returns one verification result per input, in the same order. |
| lob_bulk_intl_verifications_createA | Verify up to 1,000 non-US addresses in a single request. |
| lob_identity_validationA | Validate a person/business name against a US address. Returns whether the recipient is associated with the address. |
| lob_postcards_previewA | Render a Lob proof PDF for a postcard without charging or sending. Returns a |
| lob_postcards_createA | Commit a postcard send. Billable in live mode: produces real physical mail and is charged to your Lob account. In live mode, requires a |
| lob_postcards_listA | List postcards on your Lob account. For 'how many postcards?' counts, pass |
| lob_postcards_getA | Retrieve a single postcard by ID. |
| lob_postcards_cancelA | Cancel a postcard before its |
| lob_letters_previewA | Render a Lob proof PDF for a letter without charging or sending. Returns a |
| lob_letters_createA | Commit a letter send. Billable in live mode. Requires a |
| lob_letters_listA | List letters on your Lob account. For 'how many letters?' counts, pass |
| lob_letters_getA | Retrieve a single letter by ID. |
| lob_letters_cancelA | Cancel a letter before its |
| lob_self_mailers_previewA | Render a Lob proof PDF for a self-mailer without charging or sending. Returns a |
| lob_self_mailers_createA | Commit a self-mailer send. Billable in live mode. Requires a |
| lob_self_mailers_listA | List self-mailers on your Lob account. For 'how many?' counts, pass |
| lob_self_mailers_getA | Retrieve a single self-mailer by ID. |
| lob_self_mailers_cancelA | Cancel a self-mailer before its |
| lob_checks_previewA | Validate a check payload and return a textual summary. Lob does not produce check proofs, so no PDF is rendered. Returns a |
| lob_checks_createA | Commit a check send. HIGH IMPACT: incurs Lob fees AND draws the check For the bottom of the check page, Lob requires exactly one of |
| lob_checks_listA | List checks on your Lob account. For 'how many checks?' counts, pass |
| lob_checks_getB | Retrieve a single check by ID. |
| lob_checks_cancelA | Cancel a check before its |
| lob_templates_createA | Create a reusable HTML template that can be referenced by ID ( |
| lob_templates_listA | List templates on your Lob account. By default returns slim records (no HTML body) — Lob template HTML can be many MB per entry and quickly overwhelms LLM context. Pass |
| lob_templates_getA | Retrieve a single template (including its published version) by ID. |
| lob_templates_searchA | Find templates by description substring (case-insensitive) and/or by Lob metadata. Pages through |
| lob_templates_updateA | Update a template's metadata or published version. To publish a new version, set |
| lob_templates_deleteA | Delete a template. Mail pieces already created from it are unaffected; future references will fail. |
| lob_template_versions_createA | Add a new version of a template's HTML. Creating a new version does NOT automatically publish it — use |
| lob_template_versions_listA | List all versions of a template. Slim by default (no HTML); pass |
| lob_template_versions_getA | Retrieve a specific version of a template. |
| lob_template_versions_updateA | Update the description of a template version. HTML cannot be modified after creation. |
| lob_template_versions_deleteA | Delete a template version. Cannot delete the currently published version. |
| lob_campaigns_createA | Create a campaign — a container for batched mail-piece sends with a shared creative, schedule, and audience. Creating a campaign does not by itself send mail; you trigger sends per Lob docs. |
| lob_campaigns_listA | List campaigns on your Lob account. For 'how many campaigns?' counts, pass |
| lob_campaigns_getA | Retrieve a single campaign by ID. |
| lob_campaigns_updateA | Update a campaign's metadata or schedule before it has been sent. |
| lob_campaigns_deleteA | Delete a campaign. Only allowed before send. |
| lob_creatives_createA | Create a campaign creative — the artwork (front/back / inside/outside / file) used by a campaign for postcards, letters, or self-mailers. Important: unlike |
| lob_creatives_getA | Retrieve a single creative by ID. |
| lob_creatives_updateA | Update a creative's description or metadata. |
| lob_creatives_deleteB | Delete a creative. |
| lob_buckslips_createA | Upload a buckslip — an 8.75"×3.75" promotional insert that can be included in letters. |
| lob_buckslips_listA | List buckslip inventory on your account. For 'how many buckslips?' counts, pass |
| lob_buckslips_getA | Retrieve a single buckslip by ID. |
| lob_buckslip_orders_previewA | Validate a buckslip-inventory-order payload and return a textual summary. Returns a |
| lob_buckslip_orders_createA | Commit a buckslip-inventory order. Billable in live mode — Lob prints and stocks the requested quantity. Requires a |
| lob_buckslip_orders_listA | List orders for a specific buckslip. Note: this nested endpoint does NOT accept |
| lob_cards_createB | Upload a card — a small printed insert (e.g. business card, plastic gift card) that can be inserted with a letter. |
| lob_cards_listA | List card inventory on your account. For 'how many cards?' counts, pass |
| lob_cards_getA | Retrieve a single card by ID. |
| lob_card_orders_previewA | Validate a card-inventory-order payload and return a textual summary. Returns a |
| lob_card_orders_createA | Commit a card-inventory order. Billable in live mode — Lob prints and stocks the requested quantity. Requires a |
| lob_card_orders_listA | List orders for a specific card. Note: this nested endpoint does NOT accept |
| lob_qr_codes_listA | List QR-code scan / analytics events for QR codes embedded in your mail pieces. For 'how many scans?' counts, pass |
| lob_resource_proofs_createA | Create a proof — a PDF preview of how a resource (postcard, letter, self-mailer) will print — for review before committing to a mail send. Pass |
| lob_resource_proofs_getA | Retrieve a resource proof by ID, including a URL to download the proof PDF. |
| lob_resource_proofs_updateB | Approve or reject a resource proof. |
| lob_bank_accounts_createA | Register a bank account that can be used to draw checks. Requires routing number, account number, account type, and signatory. Bank accounts must be verified ( |
| lob_bank_accounts_listA | List bank accounts on your Lob account. For 'how many bank accounts?' counts, pass |
| lob_bank_accounts_getA | Retrieve a single bank account by ID. |
| lob_bank_accounts_deleteA | Remove a bank account. Pending checks drawn against it will continue to clear. |
| lob_bank_accounts_verifyA | Verify a bank account by submitting two micro-deposit amounts (in cents) that Lob deposited into the account during registration. Required before the account can be used to draw checks. |
| lob_webhooks_createA | Subscribe an HTTPS endpoint to receive Lob event notifications (e.g. 'postcard.mailed', 'letter.in_transit', 'check.delivered'). The endpoint must respond with 2xx within 5 seconds. |
| lob_webhooks_listA | List webhook subscriptions on your account. Note: Lob's |
| lob_webhooks_getA | Retrieve a single webhook subscription by ID. |
| lob_webhooks_updateA | Update a webhook's URL, event subscriptions, or description. Note: the |
| lob_webhooks_deleteB | Delete a webhook subscription. |
| lob_design_specs_getA | Return the design specification (dimensions, bleed, safe area, no-print zones, file requirements) for a Lob mail-piece variant. Call this BEFORE generating artwork so the design respects Lob's auto-stamped address blocks. Same data is also available as MCP resources at lob://specs/{mail_type}/{variant}.json. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| lob_design_specs_pdf_postcard_4x6 | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/postcards/4x6_postcard.pdf |
| lob_design_specs_pdf_postcard_6x9 | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/postcards/6x9_postcard.pdf |
| lob_design_specs_pdf_postcard_6x11 | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/postcards/6x11_postcard.pdf |
| lob_design_specs_pdf_letter_standard_no10 | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3.us-west-2.amazonaws.com/public.lob.com/assets/letter_template_updated+4_25.pdf |
| lob_design_specs_pdf_letter_flat_9x12 | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3.us-west-2.amazonaws.com/public.lob.com/assets/letter_flat_template_updated+4_25.pdf |
| lob_design_specs_pdf_letter_legal_8_5x14 | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3.us-west-2.amazonaws.com/public.lob.com/assets/Legal_Letter_updated_4_25.pdf |
| lob_design_specs_pdf_letter_custom_envelope | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/no10_env_template.pdf |
| lob_design_specs_pdf_self_mailer_6x18_bifold | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/self_mailers/6x18_sfm_bifold_template.pdf |
| lob_design_specs_pdf_self_mailer_11x9_bifold | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3.us-west-2.amazonaws.com/public.lob.com/assets/templates/self_mailers/11x9_sfm_bifold_template.pdf |
| lob_design_specs_pdf_check_standard | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/check_bottom_template.pdf |
| lob_design_specs_pdf_buckslip_standard | Lob's official template PDF showing trim, bleed, and safe-area boundaries. Source: https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/buckslip_template.pdf |
| Postcard 4×6 — JSON spec | A 4″×6″ postcard, full-bleed both sides. The front is fully designable. The back has a 3.2835″×2.375″ ink-free zone in the lower-right corner where Lob stamps the recipient address, IMb barcode, and postage indicia — do not place text or critical artwork there. |
| Postcard 6×9 — JSON spec | A 6″×9″ postcard, full-bleed both sides. The front is fully designable. The back has a 4″×2.375″ ink-free zone in the lower-right corner where Lob stamps the recipient address, IMb barcode, and postage indicia — do not place text or critical artwork there. |
| Postcard 6×11 — JSON spec | A 6″×11″ postcard, full-bleed both sides. The front is fully designable. The back has a 4″×2.375″ ink-free zone in the lower-right corner where Lob stamps the recipient address, IMb barcode, and postage indicia — do not place text or critical artwork there. |
| Letter — standard #10 double-window envelope — JSON spec | Standard 8.5″×11″ letter mailed in a #10 double-window envelope. The first page must reserve a 3.15″×2″ address block 0.6″ from the left and 0.84″ from the top so the recipient address shows through the bottom envelope window. Page edges need 1/16″ clear margin (no full-bleed). Up to 6 sheets per piece. |
| Letter — 9×12 flat single-window envelope (>6 sheets) — JSON spec | 8.5″×11″ letters that exceed 6 sheets ship flat (unfolded) in a 9″×12″ single-window envelope. Up to 60 sheets per piece. The page-1 address block requirement is the same as the standard variant. |
| Letter — 8.5×14 legal (Enterprise) — JSON spec | 8.5″×14″ legal-size letter, Enterprise plans only. Max 3 sheets per piece. Page-1 address block requirement is the same as the standard letter spec. |
| Letter — custom envelope (Enterprise) — JSON spec | Custom-printed outer envelope for letters, Enterprise plans only. The envelope face is 4.125″×9.5″ (#10 size). Window cutouts at fixed positions reveal the page-1 address block and an optional sender block. Limit images to ≤25% ink saturation; preferred CMYK; full-bleed allowed up to 0.125″ past trim. |
| Self-mailer 6×18 bifold (folds to 6×9) — JSON spec | Folded, tabbed self-mailer. Unfolded sheet 6″×18″, folds to a 6″×9″ piece. The outside has a 4″×2.375″ address block on the left panel where Lob stamps the recipient address — keep that area blank. |
| Self-mailer 11×9 bifold (folds to 6×9) — JSON spec | Folded, tabbed self-mailer. Unfolded sheet 11″×9″, folds to a 6″×9″ piece via a vertical fold with a 1″ flap offset. The outside has a 4″×2.375″ address block on the top panel where Lob stamps the recipient address — keep that area blank. |
| Check (standard, 8.5×11 page with check_bottom) — JSON spec | Lob-controlled check page on 8.5″×11″ stock with security features (warning bands, void pantograph, fugitive ink). The top 8.5″×3.625″ block is the check itself and must remain blank in your artwork — Lob prints the MICR line and check details there. Designers control the optional logo on the check face, the check_bottom artwork (B&W only) below the check, and the optional attachment (separate B&W document, max 5 sheets / 10 double-sided pages). |
| Buckslip 8.75×3.75 — JSON spec | Standalone 8.75″×3.75″ promotional buckslip. Both sides fully designable. Trim equals bleed (Lob does not specify additional outer bleed). Keep critical art ≥0.125″ inside the trim line because of press movement. |
| Card 3.375×2.125 (business-card / gift-card sized) — JSON spec | Small printed card, 3.375″×2.125″ with 0.125″ rounded corners. Both sides designable. Coated 2 sides with gloss varnish on 18–24pt card stock, full bleed. Lob does not publish a standalone PDF template for cards — design against these dimensions and the letter-add-on guidance. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/optimize-overseas/lob-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server