跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 EasyPost,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
AnythingMCP 已收录在 Claude 的连接器目录中:一键添加到 Claude (在新标签页中打开),然后登录并选择 Claude 可以使用哪些 MCP 服务器。
摘要
让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。
试试这样问
EasyPost 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → EasyPost、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
EasyPost + Claude
让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
EASYPOST_API_KEY
步骤 1 — 获取凭证
- 在
https://app.easypost.com/signup注册一个免费的 EasyPost 账号。在显示 API 密钥之前,EasyPost 会要求你设置钱包和发货地址;新账号可能还需要先填写一份包含公司信息的简短安全审核。EasyPost 通过审核后,密钥就会显示出来。 - 打开 API 密钥页面
https://app.easypost.com/account/settings?tab=api-keys(Account settings → API keys)。复制 Test 密钥(免费,标签无效)或 Production 密钥(购买真实标签)。 - 把它粘贴到
EASYPOST_API_KEY并安装连接器。 - 运行
easypost_list_addresses检查密钥。新账号的列表可能为空。
测试还是正式:由密钥决定。使用测试密钥时,标签不收费且无效,追踪只接受 EasyPost 的测试单号 EZ1000000001 到 EZ7000000007,每个单号对应一种状态(尚未揽收、已签收、退回寄件人等)。列出已连接的承运商账户(easypost_list_carrier_accounts)需要正式密钥。
购买要花钱,所以会先确认:使用正式密钥时,easypost_buy_shipment 和 easypost_insure_shipment 会立即从 EasyPost 钱包扣款。购买前,AI 会说明承运商、服务、价格和双方地址,并等待你确认。购买后追加的保险费用为投保金额的 1%,最低 1 USD。easypost_refund_shipment 会作废未使用的标签,作废后不能再使用;退款需要几天到几周(USPS 标签须在 30 天内申请,UPS 和 FedEx 在 90 天内)。
发货流程:easypost_create_shipment 接收收件人、发货地址和包裹,返回你的承运商的实时运费,附带价格和送达天数。你和 AI 一起选定一个运费后,AI 用 easypost_buy_shipment 购买标签,并获得标签链接(PNG,或通过 easypost_convert_label 获取 PDF 和 ZPL)、追踪单号和公开的追踪页面。用 easypost_get_tracker 跟踪包裹,或用 easypost_create_tracker 开始追踪任意单号,包括在别处购买的标签。AI 还可以验证地址,并创建 scan form,让承运商揽收时只扫描一张单据。
单位和国际发货:重量以盎司为单位,尺寸以英寸为单位(1 kg 为 35.27 oz,1 cm 为 0.394 in),未指定币种时金额为 USD。国际发货时,AI 会先创建报关物品和海关申报单,再把申报单附加到发货上。
常见错误:401 UNAUTHORIZED 或 403 APIKEY.INACTIVE:密钥缺失、错误或已停用。403 MODE.UNAUTHORIZED:该调用需要正式密钥。402 PAYMENT_REQUIRED:钱包中没有资金。ADDRESS.VERIFY.FAILURE、SHIPMENT.POSTAGE.FAILURE 或 SHIPMENT.CUSTOMS_INFO.REQUIRED 等 422 错误会指出地址、购买或缺少海关数据的问题。429:请求过多,请稍候重试。
该连接器不处理上门揽收、订单、退货、Webhook、用户和 API 密钥、报表,也不负责连接承运商账户。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Claude 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
推荐路径:在 claude.ai web 上工作,无需触碰任何配置文件。
- 在 Claude 中打开 Customize → Connectors。
- 点击 +,然后点击 Add custom connector。
- 输入名称(例如
EasyPost)和远程 MCP 服务器 URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后点击 Add。 - 点击 Connect,登录 AnythingMCP(OAuth)并允许访问。
下面所有工具都会出现在你的聊天中,开始输入提示。
可用工具
| Tool | What it does |
|---|---|
easypost_create_address | Save an address |
easypost_create_and_verify_address | Save an address only if it passes verification, and return it corrected (for example with ZIP+4) |
easypost_verify_address | Verify a saved address |
easypost_get_address | Read a saved address by id, with its fields, mode (test or production) and any verification results |
easypost_list_addresses | List saved addresses, newest first |
easypost_create_parcel | Save a parcel: weight in ounces (always required) and length, width and height in inches (all three or none), or a carrier's… |
easypost_get_parcel | Read a saved parcel by id: dimensions in inches, weight in ounces and predefined package |
easypost_create_shipment | Create a shipment and get live rates from the account's carriers |
easypost_get_shipment | Read a shipment by id: addresses, parcel, rates, selected_rate, postage_label (label_url once bought), tracking_code, tracker… |
easypost_list_shipments | List shipments, newest first, by default only bought ones from the last month |
easypost_buy_shipment | Buy the label for a rate of a shipment |
easypost_refund_shipment | Ask for a refund of an unused label |
easypost_rerate_shipment | Get fresh rates for an unbought shipment, for example after a day has passed or carrier accounts changed |
easypost_get_smartrates | Get delivery time estimates for the rates of a US domestic shipment: for each rate the days it takes at different percentiles… |
easypost_convert_label | Get the label of a bought shipment in another format |
easypost_insure_shipment | Insure a bought shipment that was not insured when bought |
easypost_create_tracker | Start tracking a parcel by its tracking code, also for labels bought elsewhere |
easypost_get_tracker | Read a tracker by id: current status and status_detail, est_delivery_date, signed_by, weight, carrier_detail and the full tracking_details… |
easypost_list_trackers | List trackers, newest first, from the last month unless start_datetime says otherwise |
easypost_list_carrier_accounts | List the carrier accounts connected to EasyPost (id ca_..., type such as UspsAccount or UpsAccount, description, readable name) |
easypost_get_carrier_account | Read one carrier account by id: type, description, reference and its settings (credentials are not shown) |
easypost_create_customs_item | Save one line of a customs declaration: description, quantity, total value in USD, total weight in ounces, HS tariff number and origin… |
easypost_get_customs_item | Read a saved customs item by id: description, quantity, value, weight, tariff number and origin country |
easypost_create_customs_info | Save a customs declaration for an international shipment and pass its id as customs_info to easypost_create_shipment. contents_explanation… |
easypost_get_customs_info | Read a saved customs declaration by id, with its items, contents type, signer and options |
easypost_list_batches | List batches (groups of shipments bought and printed together), newest first, with state (creating, created, purchasing, purchased… |
easypost_get_batch | Read a batch by id: state, shipments with their batch_status and messages, label_url once labels are generated, and scan_form |
easypost_create_scan_form | Create a scan form (manifest) for bought shipments, so the carrier scans one sheet instead of every parcel at pickup |
easypost_list_scan_forms | List scan forms, newest first, with status, tracking_codes, form_url and the address |
easypost_get_scan_form | Read a scan form by id: status, the tracking codes on it, form_url (PDF) and batch_id |
示例提示
- “比较一个 3 lb、12 x 10 x 6 英寸的包裹从我们仓库寄到这个芝加哥地址的运费,告诉我最便宜和最快的选项。”
- “追踪单号 1Z999AA10123456784 的包裹现在在哪里,预计什么时候送达?”
- “检查这个客户地址,告诉我发货前是否有需要更正的地方。”
- “用最便宜的 USPS 运费为那个发货购买标签,但购买前先给我看承运商、服务、价格和双方地址。”
FAQ
Claude Code 和 Claude Desktop 一样工作吗? 是的,两者都指向 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
下一步
这份指南对你有帮助吗?