インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、EasyPost をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に EasyPost で発送させます。住所の検証、契約キャリアのリアルタイム運賃の比較、配送ラベルの購入、形式変換、保険付与、返金、荷物の追跡、税関申告の準備、スキャンフォームの作成ができます。テストキーは無料です。
こう聞いてみよう
EasyPost のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → EasyPost をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
EasyPost + Gemini
AI に EasyPost で発送させます。住所の検証、契約キャリアのリアルタイム運賃の比較、配送ラベルの購入、形式変換、保険付与、返金、荷物の追跡、税関申告の準備、スキャンフォームの作成ができます。テストキーは無料です。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
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 だけが使えます。各コードが 1 つのステータス(発送前、配達済み、差出人へ返送など)に対応します。接続済みのキャリアアカウントの一覧表示(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 は住所の検証や、集荷時にキャリアが 1 枚だけスキャンすればよいスキャンフォームの作成もできます。
単位と国際発送: 重量はオンス、寸法はインチです(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 — アダプターをインストール
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 — Gemini にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Gemini CLI は ~/.gemini/settings.json(Windows では %USERPROFILE%\.gemini\settings.json)から MCP サーバーを読み込みます。次を追加してください:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の MCP Servers → 対象のサーバー → API keys で MCP API キーを作成し、
YOUR_MCP_API_KEYと置き換えます。 - ファイルを保存し、
geminiを再起動します。 - Gemini CLI で
/mcpを実行します(またはシェルでgemini mcp list)。anythingmcpが接続済みとして表示されるはずです。 - プロンプトを入力しましょう。Gemini CLI が
EasyPostのツールを呼び出せるようになりました。
利用可能なツール
| 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
Gemini CLI はどこから MCP サーバーを読み込みますか? ユーザー単位では ~/.gemini/settings.json、プロジェクト単位ではプロジェクト内の .gemini/settings.json です。gemini mcp list で各サーバーと接続状態を確認できます。
次のステップ
このガイドは役に立ちましたか?