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

连接 EasyPost MCP 与 Microsoft Copilot

让你的 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 的客户端

摘要

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

引导式设置

2 分钟将 EasyPost 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 EasyPost,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

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

试试这样问

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 + Microsoft Copilot

让你的 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 — 在 Microsoft Copilot 中添加连接器

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

Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 EasyPost 的工具的请求。
  6. 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。

希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。

可用工具

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

这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。

我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。

智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。

下一步

这份指南对你有帮助吗?

2 分钟将 EasyPost 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 EasyPost,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

相关指南

连接器

连接 EasyPost MCP 与 ChatGPT

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

连接器

连接 EasyPost MCP 与 Claude

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

连接器

连接 EasyPost MCP 与 Cursor

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

连接器

连接 EasyPost MCP 与 Gemini CLI

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

连接器

连接 EasyPost MCP 与 Meta Muse

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

连接器

EasyPost MCP 服务器:运费、运单与追踪

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