EasyPost MCP server for AI agents

Live

API KEY

SHIPPING

Automation

EasyPost gives your agent shipping operations: create and verify addresses, build parcels and shipments, compare carrier rates, buy postage, track packages, schedule pickups, and request refunds.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
EasyPost
agent · Acme Q3
Run
Get shipping rates for a 12 oz parcel from our Austin warehouse to 94107.
S
easypost_shipment_create
1320ms
Shipping agent
Created the shipment and got 6 carrier rates. The cheapest is $5.42 for 3 to 5 days.
Sources: EasyPost shipment, 6 rates
easypost
6 rates
18:29
Message Claude...

Tools your shipping agent reaches for on EasyPost, scoped per user.

CALL ANY TOOL
30 tools for shipping in EasyPost: manage addresses and parcels, create shipments, compare rates, buy postage, track packages, schedule pickups, and handle refunds.
easypost_address_create
Create address
Create an address, optionally verifying it for deliverability and ZIP+4. Returns the Address with id (adr_...), the normalized fields and, when verification was requested, verifications.delivery and verifications.zip4 results. Use easypost_address_create to save an address for shipments. Use easypost_address_create_and_verify to fail when the address cannot be verified.
Parameters
Name
Type
Required
Description
street1
string
Required
First line of the street address. Example: 417 Montgomery Street
city
string
Optional
City. Example: San Francisco
company
string
Optional
Organization name. Example: EasyPost
country
string
Optional
ISO 3166 two-letter country code. Defaults to US. Example: US
email
string
Optional
Email address. Example: jane@example.com
name
string
Optional
Person's name. Example: Jane Doe
phone
string
Optional
Phone number. Example: 415-123-4567
residential
boolean
Optional
Whether the address is residential, which affects some carrier rates. Example: false
state
string
Optional
State or province. Example: CA
street2
string
Optional
Second address line, such as a suite or unit. Example: Floor 5
verify
boolean
Optional
true to run delivery and ZIP+4 verification. Verification runs whenever this is sent, even as false, so leave it empty to skip. Example: true
verify_carrier
string
Optional
Carrier-grade verification with ups or fedex; use together with verify or verify_strict. Example: ups. One of: `ups`, `fedex`.
verify_strict
boolean
Optional
true to verify and return an error if any check fails. Like verify, it runs whenever it is sent. Example: true
zip
string
Optional
ZIP or postal code. Example: 94104
easypost_address_create_and_verify
Verify address create and
easypost_address_get
Get address
easypost_address_verify
Verify address
easypost_addresses_list
List addresses
easypost_events_list
List events
easypost_parcel_create
Create parcel
easypost_parcel_get
Get parcel
easypost_pickup_buy
Pickup buy
easypost_pickup_cancel
Cancel pickup
easypost_pickup_create
Create pickup
easypost_pickup_get
Get pickup
easypost_rates_retrieve
Rates retrieve
easypost_refund_create
Create refund
easypost_refund_get
Get refund
easypost_refunds_list
List refunds
easypost_scan_form_create
Create scan form
easypost_scan_forms_list
List scan forms
easypost_shipment_buy
Shipment buy
easypost_shipment_create
Create shipment
easypost_shipment_get
Get shipment
easypost_shipment_insure
Shipment insure
easypost_shipment_label_convert
Convert shipment label
easypost_shipment_rates_regenerate
Shipment rates regenerate
easypost_shipment_refund
Refund shipment
easypost_shipment_smartrates_get
Get shipment smartrates
easypost_shipments_list
List shipments
easypost_tracker_create
Create tracker
easypost_tracker_get
Get tracker
easypost_trackers_list
List trackers
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// EasyPost tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["easypost"], toolNames: [
    "easypost_shipment_create",
    "easypost_shipment_buy",
    "easypost_tracker_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Create a shipment for this parcel, buy the cheapest rate, and track the package" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["easypost"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Create a shipment for this parcel, buy the cheapest rate, and track the package" }],
  tools,
});

// Execute the tool call with the user's vaulted EasyPost API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["easypost"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Create a shipment for this parcel, buy the cheapest rate, and track the package" }],
  tools,
});

// Tool call runs with the user's vaulted EasyPost API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["easypost"] }, pageSize: 100,
});

const agent = new Agent({
  name: "shipping_agent",
  model: "gemini-2.5-pro",
  instruction: "EasyPost tools scoped to this user",
  tools,
});

await agent.run("Create a shipment for this parcel, buy the cheapest rate, and track the package");
Try these prompts
Copy any prompt into your agent. Each maps directly to a EasyPost tool. Click to copy, paste into your agent, done.
Rates and shipments
Copy the prompt
Copied
Create a shipment for this parcel and show me the carrier rates.
Copy the prompt
Copied
Get SmartRate transit-time predictions for this shipment.
Copy the prompt
Copied
Show my 10 most recent shipments.
Labels and pickups
Copy the prompt
Copied
Buy the cheapest rate for this shipment.
Copy the prompt
Copied
Convert this shipment's label to a ZPL file.
Copy the prompt
Copied
Schedule a pickup for this shipment tomorrow.
Tracking and refunds
Copy the prompt
Copied
Track this package by its tracking code.
Copy the prompt
Copied
List my recent webhook events for tracker updates.
Copy the prompt
Copied
Request a refund for this unused label.
SEE HOW AUTH WORKS
Each user connects their own EasyPost API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
EasyPost
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
EasyPost
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
EasyPost
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
EasyPost
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other automation and productivity connectors.
GTM and RevOps Teams
Deal room sync
Pulls opportunity context from Salesforce, captures key decisions from Slack, and syncs a running summary to the deal room doc in Google Drive, but only when the deal actually changed.
Test other agents
See the same per-user auth pattern across other automation and productivity connectors.
GTM
Deal room sync agent
Pull opportunity context from Salesforce, capture decisions from Slack, and keep the Google Drive deal room doc current.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared EasyPost API key looks fine in a demo. In production every label purchase and refund looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
EasyPost today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access EasyPost as the user or through a shared key?
As the user. Each user connects their own EasyPost API key once, and Scalekit sends it with every call. Audit logs attribute every shipment, label purchase, and refund to that user, not a shared service account.
Where is the EasyPost API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in EasyPost?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, get, and rate tools without easypost_shipment_buy, which charges the account, or easypost_shipment_refund. Scalekit also enforces scope checks before every API call.
What happens when a user revokes EasyPost access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent quote rates before buying postage in EasyPost?
Yes. easypost_shipment_create returns carrier rates without buying anything, and easypost_shipment_buy buys postage using one of those rates. easypost_rates_retrieve rates a package without creating a shipment.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""easypost"": {
""url"": ""https://mcp.scalekit.com/easypost"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.easypost]
url = ""https://mcp.scalekit.com/easypost""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""easypost"": {
""url"": ""https://mcp.scalekit.com/easypost"",
""type"": ""http""
}
}
}