Skip to main content
Glama
jnslmk
by jnslmk

ebay-mcp

一个 MCP 服务器,让 LLM 可以通过官方 Browse API 搜索和查看 eBay 商品列表。只读、买家侧:它搜索和读取商品列表,不会出价或购买。

这是 Suat Oneren 的 ebay-browse-mcp 的一个分支,原项目使用 stdio 通信。该分支保留了两个工具及其响应格式,并将传输方式替换为 streamable-HTTP:8000/mcp),同时增加了一个 /healthz 探针,因此它可以作为自托管容器运行在 LibreChat 等 MCP 客户端之后——与其姊妹项目 kleinanzeigen-mcp 形态相同。

与 Kleinanzeigen(没有公共 API,因此抓取不可避免)不同,eBay 提供了官方认可的 API——因此该服务器直接调用它:无需无头浏览器,也没有机器人检测的脆弱性。

工具

工具

功能

search_ebay

按关键字搜索,可选的 min_price/max_price(或通过 filter_expr 使用原始价格过滤器——两者不可同时使用),以及状况、购买选项、卖家国家/地区过滤器和排序。返回商品摘要和 item_idquery 仅与商品标题进行 AND 匹配,因此它需要 2-4 个简短的产品关键字,而不是一个句子——零结果响应会解释原因,并且可能已经包含一次缩小范围的重试(该重试会保留任何价格过滤器)。

get_item_details

获取单个 item_id 的完整记录:描述、商品属性、图片、配送选项、退货条款、卖家。

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

sandboxproduction

MCP_TRANSPORT

http

http(streamable-HTTP)或 stdio

MCP_HOST / MCP_PORT / MCP_PATH

0.0.0.0 / 8000 / /mcp

HTTP 绑定

Sandbox 几乎没有真实库存——用它来验证连接是否打通,然后设置 EBAY_ENV=production(使用生产环境、支持 OAuth 的密钥集)以获得真实结果。

运行

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