Skip to main content Announcing Tool Policies: AI agent permissions down to the field Read the announcement
Live 52 Actions

EasyPost MCP Server
for AI Agents

Connect your AI agent to StackOne's EasyPost MCP server and give it 52 MCP tools out of the box. Auth, tool execution, and security all managed.

EasyPost logo
EasyPost MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

52 Agent Actions

Agents can read, write, delete and run operations in EasyPost. Extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your EasyPost MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every EasyPost tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every EasyPost call.

Tools Discovery →

What is the EasyPost MCP Server?

A EasyPost MCP server lets AI agents read and write EasyPost data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's EasyPost MCP server ships with 52 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All EasyPost MCP Tools

Every StackOne action for EasyPost, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.

Address

  • Create Address

    Create an address, optionally triggering verification.

  • Retrieve Address

    Retrieve a single address by its id.

  • Get Address

    Show one stored address by address_id (adr_). The id comes from the user or from a shipment. This is not an address book, and it does not run a new deliverability check. A stored verifications.delivery result is included when the address has one.

Carrier Accounts

  • Create Carrier Account

    Create a carrier account to enable rating and shipping with a specific carrier.

  • Retrieve Carrier Account

    Retrieve a single carrier account by its id.

  • List Carrier Accounts

    List all carrier accounts on the account.

  • List Carrier Accounts

    List the carrier accounts connected to this EasyPost account, by name and type. Credentials are never returned.

  • Update Carrier Account

    Update an existing carrier account by its id.

  • Delete Carrier Account

    Delete a carrier account by its id.

Insurances

  • Create Insurance

    Insure a shipment that was not purchased through EasyPost.

  • Retrieve Insurance

    Retrieve a single insurance record by its id.

  • List Insurances

    List insurance records on the account with cursor-based pagination.

  • Insurances

    Check standalone insurance coverage. Pass at most one of insurance_id (ins_) or tracking_code to show one policy, which ignores the date window and cursors, or neither to list policies in a date window. EasyPost defaults to the last month.

Shipments

  • Create Shipment

    Quote rates for one domestic US shipment. This does not buy a label. Origin, destination, and parcel are inline. country is required and must be US. parcel.weight is ounces. There is no address book and no rerate tool. Rating can be metered on a rating subscription. The destination is verified for deliverability on this call, and that check is billed. The result is to_address.verifications.delivery.success, or from_address.verifications.delivery.success when is_return is set. Do not also call create_and_verify_address for that destination. Keep the merchant in from_address and the customer in to_address, the same as the outbound label. is_return delivers to the merchant. Do not swap the addresses. It applies when the user asked for a return. Rate ids on this response are the ones a buy can use. A rate from an earlier turn needs a new shipment. messages explains an empty rate list.

  • Create Shipment

    Create a shipment to retrieve carrier rates for a parcel between two addresses.

  • List Shipments

    List this user's shipments, newest first. Set start_datetime and end_datetime (ISO-8601) for a specific window; EasyPost defaults to the last month. purchased defaults to true, so pass purchased=false to include shipments that were never bought. Pass include_children=true to also cover child accounts. Page with before_id or after_id, never both.

  • Get Shipment

    Show one shipment with its label URLs, stored rates, and tracker summary. Pass exactly one of shipment_id (shp_) or tracking_code, preferring shipment_id.

  • Retrieve Shipment

    Retrieve a single shipment by its id.

  • List Shipments

    List shipments on the account with cursor-based pagination and optional filters.

Buy Shipments

  • Buy Shipment

    Buy one rate on one shipment. This debits the postage wallet and returns the label and tracking code. It does not show whether a payment method refilled the wallet. The user should approve the carrier, service, and price first. expected_rate is that price and has to match the rate being bought. Insurance on this call covers the package at purchase. Leaving insurance off is not a decline: a default insurance amount may cover a qualifying shipment, and passing 0 declines coverage. The response shows the coverage that was applied. A shipment already bought with this rate is returned as-is when insurance is omitted or matches the coverage already on it. Passing 0 matches no coverage. A different amount is refused. insure_shipment adds coverage after purchase only when the shipment has none. A rate from an earlier turn needs a new shipment. If this buy times out, the connection drops, or the buy conflicts or returns a server error, call buy_shipment again with the same shipment_id and rate_id.

  • Buy Shipment

    Purchase a shipping label for a shipment by selecting a rate.

Trackers

  • Create Tracker

    Register one tracking number that was not bought through EasyPost. The first registration is billed. A repeat of a number that already has a tracker returns that tracker without another charge. One tracking code per call.

  • Create Tracker

    Create a tracker to follow a shipment by its carrier tracking code.

  • List Trackers

    List this user's trackers to see what is in transit. Filter by status or carrier, and by start_datetime / end_datetime (ISO-8601); EasyPost defaults to the last month. To look up one tracking number, use get_tracker instead.

  • Get Tracker

    Show where a package is. Pass exactly one of tracker_id (trk_) or tracking_code, preferring tracker_id, and add carrier when a tracking_code is ambiguous. Returns the most recent scans.

  • Retrieve Tracker

    Retrieve a single tracker by its id.

  • List Trackers

    List trackers on the account with cursor-based pagination and optional filters.

  • Delete Tracker

    Delete a tracker by its id.

Pickups

  • Create Pickup

    Schedule a carrier pickup for a shipment and retrieve pickup rates.

  • Retrieve Pickup

    Retrieve a single pickup by its id.

  • List Pickups

    List pickups on the account with cursor-based pagination.

  • Pickups

    Show when a carrier is collecting packages. Pass pickup_id (pickup_) to show one pickup, which ignores start_datetime, end_datetime, and cursors. Omit it to list the most recent pickups. Omitting both datetimes does not limit results to the last month.

Refunds

  • Create Refund

    Request a refund for one unused purchased label, by its tracking code. One code per call. A label the carrier has already taken may be refused. Status is read with the refunds tool, which never files a refund.

  • Refunds

    Check the status of postage refund requests. Pass refund_id (rfnd_) to show one request, which ignores the date window and cursors, or omit it to list requests in a date window. EasyPost defaults to the last month. This only reads; it never requests a new refund.

Webhooks

  • Create Webhook

    Create a webhook to receive EasyPost event notifications.

  • Retrieve Webhook

    Retrieve a single webhook by its id.

  • List Webhooks

    List all webhooks on the account.

  • Update Webhook

    Update or re-enable a webhook by its id.

  • Delete Webhook

    Delete a webhook by its id.

Other (13)

  • Create And Verify Address

    Verify one address for deliverability and store it. Returns an adr_ id, verifications.delivery.success, and any delivery error messages. A failed check still returns the address with success false. Each call is billed. This checks an address before there is a parcel. create_shipment verifies the address it will deliver to, so once a parcel is known that address belongs there. Verifying and then rating the same address bills verification twice.

  • List Addresses

    List addresses on the account with cursor-based pagination.

  • List Payment Methods

    Brand, last4, and priority of the payment methods on this account. Read only: this cannot add, remove, or change a card or bank account. These methods refill the postage wallet. A label or insurance charge debits that wallet. The response has no wallet balance and no remaining credit, and it does not show whether the wallet was refilled.

  • Verify Address

    Verify an existing address by its id.

  • Who Am I

    Return the EasyPost user identified by the current Bearer access token. Includes the postage wallet balance when this account is the billing account. A child account has no balance on this response. Recharge settings, fee rates, child users, and API keys are not included.

  • Insure Shipment

    Add insurance to one label that was already bought. This debits the postage wallet. It does not show whether a payment method refilled the wallet. The user should approve the amount first. A default insurance amount may already have covered the shipment at buy, which shows on the shipment. Coverage chosen at purchase time is the insurance argument on buy_shipment.

  • SmartRate Delivery Date

    Calendar delivery date for each rate on one US domestic shipment, given a planned ship date (YYYY-MM-DD). Metered on every call. The dates on this response are the delivery estimates for that ship date. International shipments are out of scope, and there is no second transit-time tool.

  • Carrier Metadata

    Look up what EasyPost carriers support: service levels, predefined package types, shipment options, and supported features. Omit carriers to list every carrier by name, or pass carriers='usps,fedex' for the full metadata of those carriers. Narrow the answer with types, any of service_levels, predefined_packages, shipment_options, supported_features. This is the catalog of what carriers can do, not the accounts this user has connected; use list_carrier_accounts for those.

  • Claims

    Check the status of insurance claims filed for lost, damaged, or stolen shipments. Pass claim_id (clm_) to show one claim with its full status history, which ignores every filter below. Otherwise this lists claims, filtered by status (submitted, in_review, needs_action, approved, approved_partial, rejected, cancelled) and claim_type (damage, loss, theft). Listing covers the last month unless you pass a date window, so pass start_datetime to look further back, and never read an empty list as proof the user has no claims. Use insurances for the policy a claim was filed against. This only reads; it never files or cancels a claim.

  • Buy Pickup

    Purchase a scheduled pickup by selecting a carrier and service.

  • Cancel Pickup

    Cancel a scheduled pickup by its id.

  • Convert Label

    Convert a purchased shipment label to a different file format.

  • Refund Shipment

    Request a refund for a purchased shipment label.

Set Up Your EasyPost MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to EasyPost in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

Check More Commerce MCP Servers

Klaviyo

172+ actions

Stripe

138+ actions

Square

137+ actions

Magento

128+ actions

BigCommerce

124+ actions

Shopify

91+ actions

Eventbrite

90+ actions

FAQ

EasyPost MCP Server FAQ

Ready to put your agents to work?