Skip to main content
Glama
jnslmk
by jnslmk

ebay-mcp

公式の Browse API を通じて、LLM が eBay の出品を検索・閲覧できるようにする MCP サーバーです。読み取り専用・購入者側のツールで、出品の検索と閲覧のみを行い、入札や購入は行いません。

これは Suat Oneren の ebay-browse-mcp のフォークで、元は stdio を使用していました。このフォークでは2つのツールとそのレスポンス整形を維持しつつ、トランスポートを streamable-HTTP:8000/mcp)と /healthz プローブに置き換え、LibreChat などの MCP クライアントの背後で動作するセルフホスト型コンテナとして実行できるようにしています — 姉妹プロジェクトの kleinanzeigen-mcp と同じ構成です。

Kleinanzeigen とは異なり(公開 API がなくスクレイピングが避けられない)、eBay には公認 API があるため、このサーバーは直接 API にアクセスします。ヘッドレスブラウザもボット検出の脆弱性もありません。

ツール

ツール

機能

search_ebay

キーワードで検索。オプションで min_price/max_price(または filter_expr による生の価格フィルター — 両方は不可)、商品状態、購入オプション、出品者国フィルター、並び順を指定できます。出品の概要と item_id を返します。query は出品タイトルとの AND 検索なので、文章ではなく2〜4語の短い商品キーワードが適しています — 結果がゼロの場合はその理由を説明し、絞り込んだ再試行(価格フィルターは保持されます)を1回含む場合があります。

get_item_details

1つの item_id の完全なレコードを返します。説明、商品詳細(item specifics)、画像、配送オプション、返品条件、出品者。

Related MCP server: ebay-browse-mcp

設定

eBay Developer のキーセット(無料 — https://developer.ebay.com/my/keys)を設定します:

環境変数

デフォルト

意味

EBAY_CLIENT_ID

キーセットの App ID(Client ID)

EBAY_CLIENT_SECRET

キーセットの Cert ID(Client Secret)

EBAY_MARKETPLACE

EBAY_DE

マーケットプレイス: EBAY_DEEBAY_USEBAY_GB、…

EBAY_ENV

sandbox

sandbox または production

MCP_TRANSPORT

http

http(streamable-HTTP)または stdio

MCP_HOST / MCP_PORT / MCP_PATH

0.0.0.0 / 8000 / /mcp

HTTP バインド

サンドボックスには実際の在庫がほとんどありません。配線の確認に使用し、実際の結果を得るには(OAuth 対応の本番キーセットで)EBAY_ENV=production に設定してください。

実行

Docker(推奨)

docker run --rm -p 8000:8000 \
  -e EBAY_CLIENT_ID=... -e EBAY_CLIENT_SECRET=... \
  -e EBAY_MARKETPLACE=EBAY_DE -e EBAY_ENV=production \
  ghcr.io/jnslmk/ebay-mcp:latest
# MCP endpoint: http://localhost:8000/mcp   health: http://localhost:8000/healthz

ローカル(stdio、デスクトップ MCP クライアント用)

python3 -m venv .venv && .venv/bin/pip install .
cp .env.example .env   # fill in your keyset
MCP_TRANSPORT=stdio .venv/bin/ebay-mcp

キーセットのクライアント不要のクイックチェック:

.venv/bin/python -m ebay_mcp.ebay_client "raspberry pi 5"

ライセンス

MIT。 LICENSE を参照 — 元のアップストリームの著作権を保持しています。

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Minimal MCP server for searching eBay listings via the Browse API, enabling keyword search with filters, sorting, pagination, and retrieving full item details.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    An MCP server that lets an LLM search Geizhals, a leading German/DACH price-comparison site, for the cheapest offers on new products.
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jnslmk/ebay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server