eBay MCP服务器 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.8 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
eBay MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
eBay MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/YosefHayim/ebay-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"ebay-mcp---": {
"command": "npx",
"args": ["-y", "ebay-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 eBay MCP服务器 执行以下任务... Claude: [自动调用 eBay MCP服务器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"ebay_mcp___": {
"command": "npx",
"args": ["-y", "ebay-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <a href="https://github.com/YosefHayim/ebay-mcp"><img src="public/ebay-mcp-hero.png" alt="eBay MCP Server — connect Claude, Cursor, and any AI assistant to eBay's Sell APIs with one command (npm run setup)" width="820" /></a> </p>
<p align="center"> <strong>The eBay MCP server — give Claude, Cursor, and any AI assistant full access to eBay's Sell APIs. 299 tools for inventory, orders, marketing, and analytics, running locally with your own keys.</strong> </p>
<p align="center"><sub>Unofficial, open-source project — not affiliated with, authorized, or endorsed by eBay Inc.</sub></p>
<p align="center"> <a href="https://www.npmjs.com/package/ebay-mcp"><img src="https://img.shields.io/npm/v/ebay-mcp?logo=npm&color=cb3837" alt="npm version" /></a> <a href="https://www.npmjs.com/package/ebay-mcp"><img src="https://img.shields.io/npm/dm/ebay-mcp?logo=npm&color=cb3837" alt="npm downloads per month" /></a> <a href="https://github.com/YosefHayim/ebay-mcp/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/YosefHayim/ebay-mcp/ci.yml?branch=main&logo=github&label=CI" alt="CI status" /></a> <a href="LICENSE"><img src="https://img.shields.io/npm/l/ebay-mcp?color=blue" alt="MIT license" /></a> <img src="https://img.shields.io/node/v/ebay-mcp?logo=node.js&color=339933" alt="Required Node.js version" /> <img src="https://img.shields.io/badge/types-included-3178c6?logo=typescript&logoColor=white" alt="TypeScript types included" /> </p>
<p align="center"> <img src="https://img.shields.io/badge/tools-299-8957e5?logo=ebay&logoColor=white" alt="299 eBay API tools" /> <img src="https://img.shields.io/badge/Sell%20API%20coverage-100%25-success" alt="100% eBay Sell API coverage" /> <img src="https://img.shields.io/badge/Model%20Context%20Protocol-compatible-000000" alt="Model Context Protocol compatible" /> <img src="https://img.shields.io/badge/tests-1%2C000%2B%20passing-3fb950?logo=vitest&logoColor=white" alt="Over 1,000 passing tests" /> <img src="https://img.shields.io/badge/runs-100%25%20local-blue" alt="Runs entirely on your machine" /> </p>
<p align="center"> <a href="https://mseep.ai/app/yosefhayim-ebay-api-mcp-server"><img src="https://mseep.net/pr/yosefhayim-ebay-api-mcp-server-badge.png" alt="MseeP.ai Security Assessment Badge" height="40" /></a> </p>
<p align="center"> <strong>English</strong> · <a href="README.zh-CN.md">简体中文</a> · <a href="README.es.md">Español</a> · <a href="README.pt-BR.md">Português (BR)</a> · <a href="README.ja.md">日本語</a> · <a href="README.ko.md">한국어</a> · <a href="README.fr.md">Français</a> · <a href="README.de.md">Deutsch</a> · <a href="README.ru.md">Русский</a> </p>
---
eBay MCP is a local Model Context Protocol server that connects AI assistants — Claude Desktop, Claude Code, Cursor, Cline, Windsurf, Zed, Continue.dev, Roo Code, and Amazon Q Developer — directly to eBay's Sell APIs. It exposes 299 tools spanning 100% of eBay's Sell API surface (270 unique endpoints) for inventory management, order fulfillment, promoted-listings marketing, analytics, and developer tooling. Everything runs on your machine over STDIO or local HTTP — no cloud relay, and your eBay credentials never leave your computer.
Disclaimer: Unofficial, third-party project — not affiliated with or endorsed by eBay Inc. Provided "as is" without warranty. You are responsible for complying with eBay's API License Agreement and data-handling requirements, keeping your credentials secure, and staying within rate limits. Test in sandbox before production. See LICENSE, SECURITY.md, and EBAY_COMPLIANCE.md.
429 rate limits, and consistent, loud error surfacing.npm run setup configures credentials, OAuth, and your MCP client, with a browser auto-opened for the OAuth flow.Before calling ebay_create_or_replace_inventory_item, ebay_create_offer, or ebay_get_listing_fees, fetch the live requirements for the selected category:
ebay_get_default_category_tree_id → ebay_get_category_suggestions → ebay_get_item_aspects_for_category
The aspects response identifies required and recommended item specifics. Put every required aspect on the inventory item before creating its offer. Requirements vary by category and marketplace, so re-run the lookup when either changes; do not rely on examples or a fixed global fallback value.
Let your AI assistant set this up for you. Copy the prompt below and paste it into Claude, ChatGPT, or any AI assistant with MCP support.
<details> <summary><strong>Click to copy the AI setup prompt</strong></summary>
I want to set up the eBay MCP Server for my AI assistant. Please help me:
1. Install the eBay MCP server:
npm install -g ebay-mcp
2. I need to configure it for [Claude Desktop / Cursor / Cline / Zed / Continue.dev / Windsurf / Claude Code CLI / Amazon Q] (choose one)
3. My eBay credentials are:
- Client ID: [YOUR_CLIENT_ID]
- Client Secret: [YOUR_CLIENT_SECRET]
- Environment: [sandbox / production]
- Redirect URI (RuName): [YOUR_REDIRECT_URI]
Please:
- Create the appropriate config file for my MCP client
- Set up the environment variables
- Help me complete the OAuth flow to get a refresh token for higher rate limits
- Test that the connection works
If I don't have eBay credentials yet, guide me through creating a developer account at https://developer.ebay.com/
</details>
npm install -g ebay-mcp # from npm (recommended)
Or from source:
git clone https://github.com/YosefHayim/ebay-mcp.git
cd ebay-mcp && npm install && npm run build
npm run setup
The wizard configures your eBay credentials, sets up OAuth (for higher rate limits), auto-detects and configures your MCP client, and saves everything automatically.
Common tasks, phrased as you'd ask your AI assistant:
ebay_get_oauth_url, then configures the refresh token. Unlocks 10k–50k req/day.ebay_get_inventory_items returns SKUs, quantities, and status.ebay_get_offers returns offers for one required SKU. To enumerate offers across the inventory, call ebay_get_inventory_items first, then call ebay_get_offers once per SKU.ebay_create_fulfillment_policy creates the reusable policy ID and ebay_update_fulfillment_policy replaces its settings.ebay_get_orders with date and fulfillment-status filters.ebay_create_campaign and related marketing tools.ebay_get_inventory_items + ebay_update_offer across matches.See the eBay MCP Server in action with Claude Desktop:
https://github.com/user-attachments/assets/0173c8df-221c-4943-a4ce-cd20bce79f4b
<details open> <summary><strong>Environment variables, tool exposure, auth & client compatibility</strong></summary>
📖 Full reference — every environment variable, OAuth step, and scope — is in the Configuration Guide.npm run setupwrites the.envfor you; the variables below are for reference.
```bash EBAY_CLIENT_ID=your_client_id EBAY_CLIENT_SECRET=your_client_secret EBAY_ENVIRONMENT=sandbox # or "production" EBAY_REDIRECT_URI=your_runame EBAY_MARKETPLACE_ID=EBAY_US # default marketplace (overridable per tool)
EBAY_CONTENT_LANGUAGE=en-US # default request content language EBAY_USER_REFRESH_TOKEN=your_token # for higher rate limits EBAY_MCP_UI=on # interactive MCP Apps views (beta); "off" forces plain JSON EBAY_MCP_TOOLS=all # tool exposure: "all", "dynamic", or a family list (see below) EBAY_READ_ONLY=false # when true, only register read-only tools (gets/lists/searches)
Both talk to the same eBay endpoints — the difference is everything you'd otherwise build yourself.
| **eBay MCP Server** | **Raw eBay REST API** | |
|---|---|---|
| Interface | Natural language through your AI assistant | Hand-written HTTP requests and JSON parsing |
| OAuth & token refresh | Built in, with automatic refresh | You implement and maintain it |
| Rate-limit handling | Automatic retry with exponential backoff | Manual 429 handling and backoff |
| Input validation | Effect-backed schemas + TypeScript types on every tool | None — you validate your own payloads |
| Setup | One wizard (npm run setup) | Per-call auth, headers, and marketplace wiring |
| AI client support | 9 clients auto-configured | Not applicable |
| API coverage | 299 tools across 100% of the Sell APIs, ready to call | Build each request from the docs |
| Hosting | Runs locally, no cloud relay | Your own infrastructure |
npm run diagnose, then see docs/troubleshooting.md.<details> <summary><strong>What is the eBay MCP server?</strong></summary>
A local Model Context Protocol server that exposes 299 tools covering 100% of eBay's Sell APIs (270 endpoints) to AI assistants — inventory, order fulfillment, marketing, analytics, and developer tools.
</details>
<details> <summary><strong>Is this an official eBay product?</strong></summary>
No. This is an unofficial, third-party open-source project. It is not affiliated with, authorized, or endorsed by eBay Inc.
</details>
<details> <summary><strong>Which AI assistants and MCP clients are supported?</strong></summary>
Nine clients are auto-configured by npm run setup: Claude Desktop, Cursor, Zed, Cline, Continue.dev, Windsurf, Roo Code, Claude Code CLI, and Amazon Q Developer. Any MCP-compatible client can connect.
</details>
<details> <summary><strong>Can I use it with Claude, ChatGPT, or Cursor?</strong></summary>
Yes. It works with Claude Desktop and Claude Code out of the box, with Cursor and other MCP-enabled IDEs, and with any assistant that supports the Model Context Protocol. The one-click setup prompt above works with ChatGPT and other assistants too.
</details>
<details> <summary><strong>Why don't I see the interactive tables and charts?</strong></summary>
Interactive MCP Apps views only appear on hosts that announce the capability (e.g. Claude); other clients get the same data as plain JSON. Also confirm you have not set EBAY_MCP_UI=off and that the views are built (npm run build runs build:ui).
</details>
<details> <summary><strong>How many eBay APIs and tools does it cover?</strong></summary>
299 tools across 270 unique endpoints — 100% of eBay's Sell APIs.
</details>
<details> <summary><strong>Is it free and open source?</strong></summary>
Yes. It is released under the MIT license.
</details>
<details> <summary><strong>Does it run locally or in the cloud?</strong></summary>
It runs entirely on your machine over STDIO (or local HTTP). There is no cloud relay — your eBay credentials never leave your computer.
</details>
<details> <summary><strong>What do I need to get started?</strong></summary>
Node.js ≥ 20, a free eBay Developer Account (Client ID + Client Secret), then run npm run setup.
</details>
<details> <summary><strong>What are the eBay API rate limits?</strong></summary>
Client credentials (the default) allow about 1,000 requests/day. Authenticating with a user token via OAuth raises this to 10,000–50,000 requests/day depending on your account tier.
</details>
<details> <summary><strong>Does it support both sandbox and production?</strong></summary>
Yes. Switch with the EBAY_ENVIRONMENT variable (sandbox or production).
</details>
<details> <summary><strong>Are my credentials and data secure?</strong></summary>
Credentials are stored locally in your .env file and used only to call eBay directly. See SECURITY.md and EBAY_COMPLIANCE.md.
</details>
<details> <summary><strong>How is this different from calling the eBay API directly?</strong></summary>
You interact in natural language through your AI assistant. OAuth token management, automatic retries with backoff, and type-safe Effect-backed validation are built in. See the comparison table above.
</details>
<details> <summary><strong>Does it support eBay's legacy Trading API (XML)?</strong></summary>
Yes. Fixed-price listing create, revise, relist, and end operations are supported through the Trading API tools.
</details>
<details> <summary><strong>How do I get higher rate limits?</strong></summary>
Complete the OAuth flow with npm run setup to authenticate with a user token (10k–50k requests/day instead of the default 1k).
</details>
<details> <summary><strong>What is it built with?</strong></summary>
TypeScript and Node.js (ESM), using the official MCP SDK, Effect-backed validation with a Zod-compatible MCP adapter, and OpenAPI-generated types.
</details>
<details> <summary><strong>How do I update to the latest version?</strong></summary>
Run npm install -g ebay-mcp@latest (or npm update -g ebay-mcp).
</details>
<details> <summary><strong>Does it work offline?</strong></summary>
No. "Runs locally" means the server process runs on your machine — it still needs an internet connection and valid credentials to reach eBay's live APIs.
</details>
ebay-mcp 是一个 eBay 的 Sell API 服务器,允许 Claude、Cursor 和任何 AI 助手访问 eBay 的 Sell API。它提供了 322 个 eBay API 工具,覆盖了 eBay 的 Sell API 的所有功能,包括库存、订单、营销、分析、元数据、分类和开发工具。
ebay-mcp 提供了 322 个 eBay API 工具,覆盖了 eBay 的 Sell API 的所有功能。它还支持 9 个 AI 客户端,包括 Claude Desktop、Cursor、Zed、Cline、Continue.dev、Windsurf、Roo Code、Claude Code CLI 和 Amazon Q Developer。ebay-mcp 还内置了 OAuth 2.0,提供了全面的用户令牌管理和自动刷新功能。
ebay-mcp 不需要任何环境依赖或系统要求。
要安装 ebay-mcp,可以使用 npm 进行全局安装: > npm install -g ebay-mcp 或者从源码安装: > git clone https://github.com/YosefHayim/ebay-mcp.git > cd ebay-mcp && npm install && npm run build
使用 ebay-mcp,可以通过以下命令来设置 OAuth: > Help me set up OAuth for my eBay account. 这将生成一个授权 URL,并配置刷新令牌。使用 ebay_get_oauth_url 和 ebay_get_inventory_items 等 API 可以管理库存和订单。
ebay-mcp 的配置文件是 .env,通过 npm run setup 可以自动生成。配置文件中需要填写 eBay 的客户 ID、客户密钥、环境和重定向 URI 等信息。
ebay-mcp 支持 322 个 eBay API 工具,覆盖了 eBay 的 Sell API 的所有功能。它提供了 100% 的 eBay Sell API 的覆盖率,包括库存、订单、营销、分析、元数据、分类和开发工具。ebay-mcp 还提供了 OAuth 2.0 的支持,允许用户令牌管理和自动刷新功能。
ebay-mcp 的 FAQ 中包括了日志和故障排除相关的问题,例如 Winston 基于的日志记录、文件输出、服务器不出现、认证错误、速率限制和空结果等问题。
设计完整的eBay集成方案,MCP架构清晰,TypeScript实现规范,社区活跃度中等,适合电商AI应用
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,eBay MCP服务器 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | ebay-mcp |
| 原始描述 | 开源MCP工具:Open source local MCP server providing AI assistants with comprehensive access t。⭐78 · TypeScript |
| Topics | mcpebayapi-wrapperclaudeai-integrationtypescript |
| GitHub | https://github.com/YosefHayim/ebay-mcp |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-15 · 更新时间:2026-06-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端