Bring Direct Mail
to OpenAI Agents SDK
Create your Vinkius account to connect Lob to OpenAI Agents SDK and start using all 21 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Lob MCP Server?
Lob MCP Server enables AI agents to send physical mail directly from your applications. Create and mail letters, postcards, and checks programmatically through Lob's print and mail API. Verify US and international addresses, autocomplete partial addresses, and manage your address book. Build reusable HTML templates for personalized mailings. Perfect for automating vendor payments, customer communications, marketing campaigns, payroll checks, and direct mail operations. All mail is printed, processed, and delivered within 24 hours via USPS integration.
Built-in capabilities (21)
Autocomplete a partial US address
Only works if status is still "processing". Cancel a letter before it enters production
Requires name and address_line1. Create a new address in your Lob address book
Requires description, routing_number, account_number, account_type (company/individual), and signatory. Add a bank account for sending checks
Requires recipient (to), bank account ID, and amount. Optional: memo, logo, description. Create and mail a physical check through Lob
Requires recipient (to), sender (from), and file content. Supports HTML templates with merge variables, color options, and mail type selection. Create and mail a physical letter through Lob
Requires recipient (to) and front design. Optional: back design, message, merge variables. Create and mail a physical postcard through Lob
Create a reusable HTML template for mailings
Delete an address from your Lob address book
Get details of a specific address
Get details of a specific check by ID
Get details of a specific letter by ID
Get details of a specific postcard by ID
Get details of a specific template
Use optional limit to control result count. List addresses in your Lob address book
Use optional limit to control result count. List bank accounts in your Lob account
Track payments, audit disbursements. List physical checks sent through Lob
Each letter includes status, tracking number, and expected delivery date. Use optional limit to control result count. List physical letters sent through Lob. Track mailings, check delivery status, and review letter history
Use optional limit to control result count. List physical postcards sent through Lob
List HTML templates for mailings
Verify and standardize a US address
Why OpenAI Agents SDK?
The OpenAI Agents SDK auto-discovers all 21 tools from Lob through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries Lob, another analyzes results, and a third generates reports, all orchestrated through Vinkius.
- —
Native MCP integration via
MCPServerSse, pass the URL and the SDK auto-discovers all tools with full type safety - —
Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure
- —
Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate
- —
First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output
Lob in OpenAI Agents SDK
Why run Lob with Vinkius?
The Lob connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 21 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Lob using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Lob and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Lob to OpenAI Agents SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Lob for OpenAI Agents SDK
Every request between OpenAI Agents SDK and Lob is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
What types of physical mail can I send with Lob?
Lob supports three main mail types: Letters (formal correspondence, invoices, notifications with customizable color, double-sided printing), Postcards (marketing campaigns, invitations, reminders in 4x6, 6x9, or 6x11 sizes), and Checks (vendor payments, payroll, refunds, rebates with customizable memo lines and company logos). All mail is printed and mailed within 24 hours via USPS.
How does Lob address verification work?
Lob's address verification validates and standardizes addresses using USPS data. It corrects formatting, adds missing ZIP+4 codes, fixes typos, and confirms deliverability. The service returns a deliverability status: 'deliverable' (valid and deliverable), 'undeliverable' (cannot be delivered), or 'deliverable_unnecessary' (valid but additional info not needed). This reduces returned mail by up to 5% and ensures your mailings reach the correct destination.
Can I use HTML templates for personalized mailings?
Yes! Lob supports HTML templates with merge variables using the Handlebars templating engine. Create a template with placeholders like {{name}}, {{order_number}}, {{delivery_date}}, then pass actual values when creating letters or postcards. This enables personalized, scalable direct mail campaigns. Templates are reusable and can be referenced by ID when creating mailings. You can also embed CSS styling for professional-looking mail designs.
How long does it take for mail to be delivered?
Lob prints and mails all items within 24 hours of creation. Delivery time depends on the mail type selected: USPS First Class Mail typically delivers in 2-5 business days, while USPS Standard Mail takes 3-7 business days. You receive a tracking number for each piece of mail to monitor delivery status. Lob also provides expected delivery dates in API responses for planning purposes.
How does the OpenAI Agents SDK connect to MCP?
Use MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.
Can I use multiple MCP servers in one agent?
Yes. Pass a list of MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.
Does the SDK support streaming responses?
Yes. The SDK supports SSE and Streamable HTTP transports, both of which work natively with Vinkius.
MCPServerStreamableHttp not found
Ensure you have the latest version: pip install --upgrade openai-agents
Agent not calling tools
Make sure your prompt explicitly references the task the tools can help with.
Explore More MCP Servers
View all →
NetBird
89 toolsAutomate Zero Trust networking via NetBird — manage accounts, users, and access controls directly from any AI agent.

ncScale
10 toolsMonitor and observe your no-code stack via ncScale — track logs, alerts, and tickets directly from your AI agent.

Gitee
10 toolsCollaborative code hosting and development platform — manage repositories, issues, and pull requests via AI.

Contrast Security
10 toolsEquip your AI with Contrast Security AppSec data to monitor applications and hunt critical vulnerabilities directly via chat.
