连接器指南阅读约 5 分钟30 个 MCP 工具7 种语言

如何通过 MCP 将 EasyPost 连接到 ChatGPT

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

EasyPost

EasyPost

Let your AI ship with EasyPost: verify addresses, compare live rates from your carriers, buy, convert, insure and refund labels, track parcels, prepare customs declarations and create scan forms. Test keys are free.

个工具

30

区域

INTL

类别

物流

身份验证

Basic Auth

所需环境变量

EASYPOST_API_KEY
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 EasyPost,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

试试这样问

EasyPost 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

EasyPost · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → EasyPost、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

EasyPost + ChatGPT

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

EASYPOST_API_KEY

步骤 1 — 获取凭证

  1. 在 https://app.easypost.com/signup 注册一个免费的 EasyPost 账号。在显示 API 密钥之前,EasyPost 会要求你设置钱包和发货地址;新账号可能还需要先填写一份包含公司信息的简短安全审核。EasyPost 通过审核后,密钥就会显示出来。
  2. 打开 API 密钥页面 https://app.easypost.com/account/settings?tab=api-keys(Account settings → API keys)。复制 Test 密钥(免费,标签无效)或 Production 密钥(购买真实标签)。
  3. 把它粘贴到 EASYPOST_API_KEY 并安装连接器。
  4. 运行 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 — 在 ChatGPT 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。

  1. 前往 chatgpt.com/plugins,点击 +,然后选择 Add custom MCP server。
  2. 填写名称,例如 Name: EasyPost。
  3. 在 Connection 下的 Server URL 中填入 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。
  4. 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
  5. 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。

可用工具

ToolWhat it does
easypost_create_addressSave an address
easypost_create_and_verify_addressSave an address only if it passes verification, and return it corrected (for example with ZIP+4)
easypost_verify_addressVerify a saved address
easypost_get_addressRead a saved address by id, with its fields, mode (test or production) and any verification results
easypost_list_addressesList saved addresses, newest first
easypost_create_parcelSave a parcel: weight in ounces (always required) and length, width and height in inches (all three or none), or a carrier's…
easypost_get_parcelRead a saved parcel by id: dimensions in inches, weight in ounces and predefined package
easypost_create_shipmentCreate a shipment and get live rates from the account's carriers
easypost_get_shipmentRead a shipment by id: addresses, parcel, rates, selected_rate, postage_label (label_url once bought), tracking_code, tracker…
easypost_list_shipmentsList shipments, newest first, by default only bought ones from the last month
easypost_buy_shipmentBuy the label for a rate of a shipment
easypost_refund_shipmentAsk for a refund of an unused label
easypost_rerate_shipmentGet fresh rates for an unbought shipment, for example after a day has passed or carrier accounts changed
easypost_get_smartratesGet delivery time estimates for the rates of a US domestic shipment: for each rate the days it takes at different percentiles…
easypost_convert_labelGet the label of a bought shipment in another format
easypost_insure_shipmentInsure a bought shipment that was not insured when bought
easypost_create_trackerStart tracking a parcel by its tracking code, also for labels bought elsewhere
easypost_get_trackerRead a tracker by id: current status and status_detail, est_delivery_date, signed_by, weight, carrier_detail and the full tracking_details…
easypost_list_trackersList trackers, newest first, from the last month unless start_datetime says otherwise
easypost_list_carrier_accountsList the carrier accounts connected to EasyPost (id ca_..., type such as UspsAccount or UpsAccount, description, readable name)
easypost_get_carrier_accountRead one carrier account by id: type, description, reference and its settings (credentials are not shown)
easypost_create_customs_itemSave one line of a customs declaration: description, quantity, total value in USD, total weight in ounces, HS tariff number and origin…
easypost_get_customs_itemRead a saved customs item by id: description, quantity, value, weight, tariff number and origin country
easypost_create_customs_infoSave a customs declaration for an international shipment and pass its id as customs_info to easypost_create_shipment. contents_explanation…
easypost_get_customs_infoRead a saved customs declaration by id, with its items, contents type, signer and options
easypost_list_batchesList batches (groups of shipments bought and printed together), newest first, with state (creating, created, purchasing, purchased…
easypost_get_batchRead a batch by id: state, shipments with their batch_status and messages, label_url once labels are generated, and scan_form
easypost_create_scan_formCreate a scan form (manifest) for bought shipments, so the carrier scans one sheet instead of every parcel at pickup
easypost_list_scan_formsList scan forms, newest first, with status, tracking_codes, form_url and the address
easypost_get_scan_formRead 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

ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。

下一步

这份指南对你有帮助吗?

你的 EasyPost 智能体只差一次点击。

安装连接器,粘贴密钥,向 ChatGPT 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 EasyPost 连接到 Claude

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

连接器

如何通过 MCP 将 EasyPost 连接到 Cursor

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

连接器

如何通过 MCP 将 EasyPost 连接到 Gemini

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

连接器

如何通过 MCP 将 EasyPost 连接到 Meta Muse

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

连接器

EasyPost 接入 MCP:从任意 AI 代理驱动 EasyPost

让你的 AI 用 EasyPost 发货:验证地址,比较你的承运商的实时运费,购买、转换、投保和退款运单标签,追踪包裹,准备海关申报单,并创建 scan form。测试密钥免费。

连接器

如何通过 MCP 将 Avito 连接到 ChatGPT

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。