
Updated November 2026. Facts verified against vendor and carrier documentation; see references at the end.
To add a shipping MCP server to Claude Code, Cursor or VS Code, point the client at https://app.ship.com/mcp and send your Ship.com connection key as an Authorization: Bearer header. In Claude Code that is one command. In Cursor, VS Code and Windsurf it is a short JSON file. Bolt, Lovable and Replit each have a "custom MCP server" form where you paste the same URL and credential.
You need a Ship.com account and a connection key. The connection key is an access token. It lasts 180 days and gets all 40 tools, including label purchasing.
Any developer can get one. Sign up at https://www.ship.com/sign-up, then in app.ship.com go to Settings > API Integration (or MCP in the sidebar), choose "Connect from another tool" and click "Show my connection key." Use only the token itself, which starts with OAUTH2.. Clicking that button again returns the same token while it is still valid, so it won't break a client you already set up.
Treat the key like a password. Anyone who has it can act on your account. Keep it in an environment variable or a password prompt, and keep it out of any file you commit.
Run this in your terminal, with your token in place of YOUR_TOKEN:
claude mcp add --transport http shipcom https://app.ship.com/mcp --header "Authorization: Bearer YOUR_TOKEN"
Keep the --header part to use your key. Without it, Claude Code signs in through OAuth instead, which gets the same 40 tools. Add --scope user to make the server available in every project. You can also get a key from "Connect from Claude" in the Ship.com app: choose "Use a connection key instead," then "Generate connection key."
Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). It reads the key from the SHIPCOM_TOKEN environment variable, so the token never sits in the file.
{
"mcpServers": {
"shipcom": {
"url": "https://app.ship.com/mcp",
"headers": {
"Authorization": "Bearer ${env:SHIPCOM_TOKEN}"
}
}
}
}
Create .vscode/mcp.json. VS Code prompts you for the token once and masks it, so it stays out of the file.
{
"inputs": [
{
"type": "promptString",
"id": "shipcom-token",
"description": "Ship.com access token",
"password": true
}
],
"servers": {
"shipcom": {
"type": "http",
"url": "https://app.ship.com/mcp",
"headers": {
"Authorization": "Bearer ${input:shipcom-token}"
}
}
}
}
Windsurf uses mcp_config.json. The one difference from Cursor is the URL key, which is serverUrl.
{
"mcpServers": {
"shipcom": {
"serverUrl": "https://app.ship.com/mcp",
"headers": {
"Authorization": "Bearer ${env:SHIPCOM_TOKEN}"
}
}
}
}
Claude's apps use OAuth sign-in, so there is no key to paste. Go to Settings, then Connectors, search for Ship.com, click Connect and then Allow. To add it as a custom connector instead, choose "Add custom connector," enter https://app.ship.com/mcp and, under advanced settings, set the client ID to claude and leave the secret blank.
OAuth sign-in gets the same 40 tools, including buying labels. It accepts Claude clients only. Claude shows you the cost first, and nothing is bought until you approve.
These AI app builders all accept a custom MCP server by URL. Their docs, as of November 2026:
| Builder | Where to add it | Auth options in the form | Can your published app call the tools? |
|---|---|---|---|
| Bolt | Plus icon in the chatbox, then Connectors, Manage connectors, Custom MCP server | API key, MCP OAuth, or none; transport HTTP or SSE | Docs don't say |
| Lovable | Connectors, Add custom, MCP server | OAuth (default), bearer token or API key, or none | No. A chat connection "is not included in your published app." |
| Replit | Settings, Integrations, Your integrations, Add custom, Add personal MCP server | Custom headers under Advanced settings; OAuth if the server asks | Docs don't say |
| v0 | The + menu in the prompt form, then MCPs | No Auth, Custom Headers, Bearer Token or OAuth 2.0 | No. "The generation v0 creates cannot use the MCP tools directly." |
In each case, enter https://app.ship.com/mcp as the URL and your connection key as a Bearer token (or an Authorization header with the value Bearer <your key>). Don't pick OAuth: our OAuth sign-in only accepts Claude clients. Bolt's docs don't say how its API key option is sent, so confirm the connection with a harmless read tool like get_balance before you rely on it.
Replit's docs add a fair warning: "Only connect to MCP servers you trust."
When you connect an MCP server to Cursor, Bolt or v0, the tools belong to the agent that is writing your code. It can quote a rate or look up an order while it builds, but the finished app does not get those tools.
If the app you ship needs to buy labels, it should call the Ship.com REST API from server-side code. Our endpoints live under https://app.ship.com/public/, for example POST /public/quote and POST /public/purchase-label, with Authorization: Bearer $TOKEN. Store the key in your host's secrets or environment variables. Never put it in browser code, where anyone can read it from the page.
v0's docs suggest the same split: pair the MCP with environment variables to pass values into generated code. More on the REST side in our API overview and guide to a custom shipping API for online sellers.
Start with read tools. Ask your agent to "check my Ship.com balance" (get_balance) or "quote a 2 lb package from my ZIP to 10001" (quote_shipping, no order needed). Neither spends money.
When you are ready to buy, remember that buy_label previews by default and only buys with confirm: true. Set max_cost so the server refuses anything over your cap. For your first real label, pick a cheap order. If you don't need it, cancel_shipping_label can void it within 29 days if the carrier hasn't scanned it, and the refund goes to your postage balance. The full pattern is in how to let an AI agent buy shipping labels safely.
An HTTP 429 means you hit the limit of 60 requests per minute per token. Wait out the Retry-After: 60 window.
Run claude mcp add --transport http shipcom https://app.ship.com/mcp --header "Authorization: Bearer YOUR_TOKEN" with your Ship.com connection key in place of YOUR_TOKEN. Add --scope user to use it in every project. The connection key gets all 40 tools, including label purchasing, and lasts 180 days before you need a new one.
Yes. Ship.com's OAuth sign-in gets the same 40 tools as a connection key, including the two money tools, buy_label and trigger_batch_purchase. OAuth accepts Claude clients only, so other agents need a connection key, which you generate in Ship.com under Settings, API Integration.
Not directly. Lovable says a chat connection is not included in your published app, and v0 says its generated apps cannot use MCP tools directly. Treat MCP as a build-time tool for the coding agent. For a live app, call the Ship.com REST API from server-side code and keep your key in the host's secrets.
Avoid it. Anyone who has the key can act on your account, including buying labels. Use an environment variable like ${env:SHIPCOM_TOKEN} in Cursor and Windsurf, or a masked promptString input in VS Code, and keep config files with real tokens out of git. If a key leaks, click Generate API Key under Settings, API Integration. That ends the old token right away, for the MCP and the REST API.
Still picking a provider? See the best MCP servers for shipping in 2026.
One URL and one key gets your agent quoting and buying USPS and UPS labels at up to 89% off USPS and up to 87% off UPS. Plan details are on our pricing page.