Overview
The Shippo MCP (Model Context Protocol) Server enables AI assistants and LLMs to interact directly with the Shippo API through a standardized interface. This allows AI-powered applications to create shipments, generate labels, track packages, and manage shipping operations seamlessly.What is MCP?
Model Context Protocol (MCP) is an open protocol developed by Anthropic that standardizes how AI applications communicate with external data sources and tools. The Shippo MCP Server implements this protocol, making Shippo’s shipping capabilities accessible to AI assistants like Claude, Cursor, and other MCP-compatible clients.Features
The Shippo MCP Server provides access to core Shippo API functionality:Address Management
- Validate Addresses: Verify and standardize shipping addresses
- Create Address Records: Store addresses for future use
- Address Book: Manage sender and recipient addresses
Shipping Operations
- Create Shipments: Set up shipments with origin, destination, and parcel details
- Get Rates: Compare shipping rates across multiple carriers
- Generate Labels: Purchase shipping labels for your shipments
- Track Packages: Monitor shipment status and location
Carrier Accounts
- List Carrier Accounts: View all connected carrier accounts
- Manage Carriers: Add or update carrier account settings
- Multi-Carrier Support: Works with USPS, UPS, FedEx, DHL, and more
International Shipping
- Customs Declarations: Create customs documentation for international shipments
- Customs Items: Define items for customs processing
- Multi-Country Support: Ship internationally with proper documentation
Advanced Features
- Batch Operations: Process multiple shipments at once
- Pickups: Schedule carrier pickups
- Manifests: Generate end-of-day manifests
- Webhooks: Set up event notifications
Getting Started
Prerequisites
- Node.js v18+
- A Shippo account (sign up here — it’s free!)
- Your Shippo API token
- An MCP-compatible client (Cursor, Claude Desktop, or other MCP clients)
Get Your API Key
- Sign up or log in at goshippo.com
- Navigate to API Settings
- Generate a new API key
- Copy the key for use in your MCP configuration
Tip: Use test API keys (starting withshippo_test_) during development. Test labels are free — you only pay when printing live labels. Important: When configuring the server, you must include theShippoTokenprefix before your key (e.g.,ShippoToken shippo_test_...).
Installation
Choose your preferred MCP client below:Cursor
The easiest way to install is using the one-click installer:⚠️ Important: Click Install first to add the server. Then, go to Settings → Tools & MCP → shippo-mcp (edit) to edit the configuration. ReplaceYOUR_SHIPPO_API_KEYwith your actual API key (ensure you keep or add theShippoTokenprefix), then savemcp.json. You may need to toggle the server off and on for changes to take effect.
Manual Cursor Installation
- Open Cursor Settings
- Select Tools and Integrations
- Click New MCP Server
- Paste the following configuration:
- Replace
YOUR_SHIPPO_API_KEYwith your actual API key (keeping theShippoTokenprefix) - Save and restart Cursor
Claude Desktop
- Open Claude Desktop
- Click on your Username in the left sidebar
- Go to Settings
- Select the Developer tab
- Click Edit Config
- Add the Shippo MCP Server configuration:
- Replace
YOUR_SHIPPO_API_KEYwith your actual API key (keeping theShippoTokenprefix) - Save and restart Claude Desktop
Claude Code CLI
Command Line
Run the MCP server directly (useful for debugging or manual connections):Note: This starts the server in stdio mode, waiting for MCP protocol messages. It won’t show an interactive prompt — it’s designed to be connected to by an MCP client like Cursor or Claude Desktop.For a full list of server arguments:
Usage Examples
Once configured, you can interact with Shippo through natural language:Create a Shipping Label
Track a Package
Validate an Address
Compare Shipping Rates
Updating
The MCP server is distributed via npm. To ensure you have the latest features and bug fixes, update periodically.Check Current Version
Update to Latest Version
Tip: After updating, toggle your MCP server off and on in Cursor/Claude settings for changes to take effect.
Testing
The Shippo MCP Server supports Shippo’s test mode. When using test API tokens (those starting withshippo_test_), all operations will use test mode and won’t create real shipments or charges.
Test mode benefits:
- Free test labels
- No charges to your account
- Safe experimentation
- Full API functionality
Security
API Key Management
| Key Type | Prefix | Use Case |
|---|---|---|
| Test Keys | shippo_test_ | Development, testing, demos |
| Live Keys | shippo_live_ | Production only |
Best Practices
- Never commit API keys to source control
- Use test keys during development
- Rotate keys regularly for security
- Never share keys publicly
- Store keys in environment variables or secure credential stores