Skip to main content
Glama
eBay Shipping Policy MCP

eBay Shipping Policy MCP

by naokijodan

eBay Shipping Policy MCP

Claude Code から、あなた自身のeBay出品アカウントの「フルフィルメント(シッピング)ポリシー」を操作できるようにするツールです。

できること

Claude Code 上では mcp__shipping-policy__<ツール名> として呼び出されます。

ツール

用途

list_policies

全フルフィルメントポリシー一覧を取得

get_policy_exclusions

特定ポリシーの除外国・除外地域を取得

update_exclusions

1つのポリシーの除外を追加・削除・置き換え(dryRun対応)

bulk_update_exclusions

名前フィルタで対象を絞った一括更新(dryRun既定)

export_all_excel

全ポリシーをピボット形式のExcelに書き出し

import_excel

Excelを読み込んで差分適用(dryRun既定)

list_shipping_services

配送サービス一覧(domestic / international)

reorder_shipping_services

配送サービスの並び替え

add_shipping_service

配送サービスを追加

remove_shipping_service

配送サービスを削除

clone_policy

既存ポリシーを複製して新規作成

delete_policy

単体ポリシーを削除(dryRun対応)

bulk_delete_policies

複数ポリシーを一括削除(dryRun既定)

オプション機能(既定オフ)

以下の2つは出品そのものを扱う強い機能のため、この公開版では既定でオフです。

ツール

用途

check_listings

重複チェックExcelの解析(eBayステータス確認・タイトル重複・item_id重複の検出)

end_listings

出品の一括終了(dryRun既定 true)

有効化する方法: .env に EBAY_ENABLE_LISTING_TOOLS=true を設定し、Claude Codeを再起動してください。

【最重要警告】 end_listings は配送ポリシーではなく eBayの出品そのものを終了 します(元に戻せません)。有効化した場合でも、必ずdryRunで内容を確認してから実行してください。

Related MCP server: eBay MCP Server

使い方

Claude Codeを開いて、次の1行を貼ってください。

https://github.com/naokijodan/ebay-shipping-policy-mcp をセットアップして。まず SETUP.md を読んで手順どおりに進めて

あとはAIが SETUP.md の手順に沿って、インストール・eBayとの連携設定・Claude Codeへの登録まで進めます。人間が行うのは「eBay Developerサイトでのクリック操作」と「eBayへのログイン」だけです。

安全設計について

  • APIキーやトークンは あなたのパソコンの .env ファイルだけ に保存されます。

  • 作者を含め、誰もあなたの .env の中身を見ることはできません(このリポジトリのどこにも送信されません)。

  • .env は .gitignore に登録されており、git(GitHubへの公開)には絶対に含まれません。

  • AIエージェントには「.envの中身を表示しない・外部に送らない」ことをSETUP.md内で明示しています。

  • ポリシーの削除・出品の終了など元に戻せない操作は、eBayのデータを変更する全てのツールで「まず結果をプレビュー(dryRun)→ 内容確認 → 実行」の2段階になっています(clone_policyは新規作成のみのためdryRunがありませんが、作成前に名前と複製元を確認してください)。

  • end_listings は配送ポリシーの管理ツールではなく、eBayの出品そのものを終了する機能を含みます。使うときは必ずdryRunを先行させ、内容を確認してから実行してください。

必要なもの

  • eBayの出品アカウント

  • eBay Developer Program への登録(無料。SETUP.mdの案内に従って登録します)

  • Mac または Linux

  • Node.js 18以上

  • Claude Code

免責事項

本ツールは自己責任でご利用ください。eBayのAPI仕様やポリシーは予告なく変更されることがあり、その結果として出品や配送設定に影響が出る可能性があります。重要な操作(一括削除・一括終了など)を行う前は、必ずプレビュー結果を確認してから実行してください。

ライセンス

MIT

Available Tools

13 tools
add_shipping_serviceC

INTERNATIONALにshippingServiceを追加

Inputs: cost (required), shipTo (required), service (required), dryRun, +3 more.

bulk_delete_policiesA

複数フルフィルメントポリシーを一括削除(紐づき出品がある場合は失敗扱いで報告)

Inputs: policyIds (required), dryRun.

bulk_update_exclusionsB

ポリシー名フィルタで一括除外設定更新(部分一致)

Inputs: dryRun, filter, addExclusions, removeExclusions.

clone_policyA

既存ポリシーを複製して新規ポリシーを作成(除外国の追加・削除も同時可)

Inputs: newName (required), sourcePolicyId (required), addExclusions, setExclusions, +1 more.

delete_policyA

単体フルフィルメントポリシーを削除(紐づく出品があるとeBay側で拒否される)

Inputs: policyId (required), dryRun.

export_all_excelB

全ポリシーの除外設定をピボット形式のExcelに出力

Inputs: outputPath.

get_policy_exclusionsA

特定ポリシーの除外設定を人間が読める形で取得

Inputs: policyId (required).

import_excelC

ピボット形式のExcelからeBayに除外設定を反映

Inputs: filePath (required), dryRun.

list_policiesB

eBayの全フルフィルメントポリシー一覧を取得

Inputs: marketplaceId.

list_shipping_servicesC

ポリシーのshippingServices一覧を取得

Inputs: filter, policyId, marketplaceId.

remove_shipping_serviceC

INTERNATIONALからshippingServiceを削除

Inputs: service (required), dryRun, filter, policyId.

reorder_shipping_servicesC

INTERNATIONALのshippingServices順序を変更(指定サービスを先頭へ)

Inputs: service (required), dryRun, filter, policyId.

update_exclusionsB

特定ポリシーの除外設定を更新

Inputs: policyId (required), dryRun, addExclusions, setExclusions, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 13 tools

    Disambiguation4/5

    Tools are mostly distinct: single vs. bulk operations (delete_policy vs. bulk_delete_policies, update_exclusions vs. bulk_update_exclusions) are clear in scope, and actions like add/reorder/remove on shipping services are well separated. Minor overlap exists between bulk_update_exclusions and import_excel, but descriptions clarify the input mechanism (name filter vs. Excel).

    Naming Consistency4/5

    All tool names use snake_case and follow a verb-first pattern (list, get, create, update, delete, export, import, etc.). A few names like export_all_excel and import_excel omit the explicit object, but the convention is otherwise coherent and predictable.

    Tool Count5/5

    13 tools is a well-scoped set for an eBay fulfillment policy server. Each tool covers a concrete operation, and the count is within the ideal 3–15 range without redundancy or excess.

    Completeness3/5

    The domain covers policy deletion, cloning (as a create), exclusion management, and shipping services. However, there is no direct get_policy or update_policy for core policy fields (e.g., name, handling time), and no true create-from-scratch operation, which are notable gaps for a policy management workflow.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      A
      maintenance
      Provides AI assistants with comprehensive access to eBay's Sell APIs, including 325 tools for inventory management, order fulfillment, marketing campaigns, analytics, and more.
      379
      3,585 npm
      201
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to manage orders, stock, purchase orders, pickwaves, and channel listings in a user's own e-commerce account through 104 MCP tools, with dry-run defaults for writes.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to read and manage Apple Business API resources such as devices, device management services, users, groups, apps, blueprints, configurations, and audit events through OAuth 2 authentication. Write and destructive operations are gated behind flags and require a two-step preview-and-confirm flow, with guardrails and local audit logging.
      MIT