摘要
面向商家的 eBay Sell APIs:库存商品和报价、订单和履约、付款纠纷,以及卖家自己的账户政策。针对生产 marketplace 的 OAuth 2.0 用户 token。
引导式设置
2 分钟将 eBay Sell 连接到 Meta Muse
开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 eBay Sell,再把你的 MCP URL 添加到 Meta Muse。无需代码,也无需自行运行服务器。
无需信用卡 · 7 天试用 · 提供自托管方案
试试这样问
eBay Sell 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → eBay Sell、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
eBay Sell + Meta Muse
面向商家的 eBay Sell APIs:库存商品和报价、订单和履约、付款纠纷,以及卖家自己的账户政策。针对生产 marketplace 的 OAuth 2.0 用户 token。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
EBAY_CLIENT_ID, EBAY_CLIENT_SECRET, EBAY_RUNAME, EBAY_MARKETPLACE_ID
步骤 1 — 获取凭证
获取 token — Sell APIs 需要卖家自己账户的用户 token。你只需在 AnythingMCP 中登录 eBay 一次;之后 access token(有效期 2 小时)会通过 eBay 同时签发的 refresh token(有效期约 18 个月)自动续期。
- 在 developer.ebay.com/my/keys(Application Keys)创建一个 Production keyset。新的 production keyset 生效前,eBay 要求你订阅或选择退出 marketplace 账户删除通知:如果 keyset 显示 Your Keyset is currently disabled,请点击该消息中的链接。
- 在 production App ID 旁点击 User Tokens,打开 Get a Token from eBay via Your Application 并创建一个 RuName(eBay 对重定向地址的叫法)。将 Auth Accepted URL 和 Auth Declined URL 设为
https://cloud.anythingmcp.com/api/mcp-oauth/callback(AnythingMCP Cloud),或在自行托管 AnythingMCP 时设为<SERVER_URL>/api/mcp-oauth/callback(eBay 要求 https),然后保存。 - 将 App ID (Client ID) 填入
EBAY_CLIENT_ID,Cert ID (Client Secret) 填入EBAY_CLIENT_SECRET,RuName 填入EBAY_RUNAME,你的 marketplace(例如EBAY_DE、EBAY_US、EBAY_GB)填入EBAY_MARKETPLACE_ID;EBAY_REFRESH_TOKEN留空。 - 点击 Authorize with Provider,用你的 eBay 卖家账户登录并同意授权。eBay 会把你带回 AnythingMCP,工具即可使用。
范围(Scopes):登录时会请求基础范围 api_scope(Browse 和 Taxonomy:公开刊登、类目和商品属性)、sell.inventory(库存商品、商品组、报价、库存地点)、sell.fulfillment(订单)、sell.account(政策)、sell.payment.dispute(纠纷)和 sell.marketing(Promoted Listings 广告活动和广告)。
已经有 refresh token? 之前通过在 EBAY_REFRESH_TOKEN 中粘贴 refresh token 设置的连接器会照常工作。要改用登录方式,请在 Environment Variables 下添加 EBAY_RUNAME 并点击 Authorize with Provider:新 token 会替换旧 token。
刊登、广告活动和类目:该连接器还可以创建并完整替换库存商品和多属性商品组(逐个或每次调用 25 个),创建、更新、发布和撤下报价,估算刊登费用,并列出你的库存地点。它还能搜索 eBay 上的在线刊登并读取其公开信息(包括其他卖家的刊登,例如用于比价),列出你的 Promoted Listings 广告活动及其广告,将刊登加入广告活动,并推荐类目及其商品属性。发布、撤下和替换记录会改动你的线上店铺,因此 AI 会在每次改动前先询问你。ebay_sell_delete_inventory_item、ebay_sell_delete_inventory_item_group、ebay_sell_delete_offer、ebay_sell_migrate_listings 和 ebay_sell_end_campaign 安装时默认关闭,因为删除、迁移刊登和结束广告活动都无法撤销;需要时请在连接器页面上有意识地开启。
已经安装? 之前安装的连接器可通过目录更新获得新工具:在 AnythingMCP 中打开该连接器,在 Catalog update available 下查看新工具列表,然后点击 Apply update。你的凭据和你自己添加的工具保持不变,上述五个工具添加后为关闭状态,与新安装时一致。然后再点击一次 Authorize with Provider:广告活动、Browse 和 Taxonomy 工具需要 api_scope 和 sell.marketing 范围,而之前的登录没有请求这些范围。
步骤 2 — 安装 adapter
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 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
eBay Sell的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
ebay_sell_list_orders | List orders with their buyer, line items, totals, payment status and fulfilment status |
ebay_sell_get_order | Read one order in full: every line item with SKU and price, the buyer, the shipping address, the payment summary and the fulfilment instruct |
ebay_sell_list_inventory_items | List inventory items — the SKU-level product records behind Sell-API listings |
ebay_sell_get_inventory_item | Read one inventory item by SKU: its product details, condition, package dimensions and available quantity per fulfilment channel |
ebay_sell_list_offers | List the offers (listings) for one SKU, with their marketplace, format, price, listing status and listing id |
ebay_sell_list_fulfillment_policies | List the seller's fulfilment (shipping) policies for the configured marketplace, with their services, costs and handling times |
ebay_sell_list_return_policies | List the seller's return policies: whether returns are accepted, the return window, and who pays the shipping |
ebay_sell_list_payment_disputes | List payment disputes opened against the seller, with the reason, amount, status and the deadline to respond |
ebay_sell_get_privileges | Read the selling privileges of the account: whether selling is enabled and what the current selling limits on quantity and value are |
ebay_sell_update_offer_price | Change the price of a live offer |
ebay_sell_upsert_inventory_item | Create an inventory item for a SKU, or replace it completely if the SKU already exists (Inventory API createOrReplaceInventoryItem) |
ebay_sell_delete_inventory_item | Delete an inventory item by SKU (Inventory API deleteInventoryItem) |
ebay_sell_bulk_get_inventory_items | Read up to 25 inventory items in one call by SKU (Inventory API bulkGetInventoryItem) |
ebay_sell_bulk_upsert_inventory_items | Create or fully replace up to 25 inventory items in one call (Inventory API bulkCreateOrReplaceInventoryItem) |
ebay_sell_get_inventory_item_group | Get an inventory item group, the Inventory API's multi-variation listing (e.g. a shirt in several sizes and colours) |
ebay_sell_upsert_inventory_item_group | Create an inventory item group (a multi-variation listing) or replace an existing one completely (Inventory API… |
ebay_sell_delete_inventory_item_group | Delete an inventory item group (Inventory API deleteInventoryItemGroup) |
ebay_sell_get_offer | Get one offer by its id: SKU, marketplace, format, price, available quantity, category, listing policies, merchant location, status… |
ebay_sell_create_offer | Create an unpublished offer for an existing inventory item on one marketplace (Inventory API createOffer) |
ebay_sell_update_offer | Replace an offer's details (Inventory API updateOffer) |
ebay_sell_delete_offer | Delete an offer (Inventory API deleteOffer) |
ebay_sell_bulk_create_offers | Create up to 25 unpublished offers in one call (Inventory API bulkCreateOffer), all for the same marketplace |
ebay_sell_publish_offer | Publish an offer, turning it into a live eBay listing (Inventory API publishOffer) |
ebay_sell_bulk_publish_offers | Publish up to 25 offers in one call (Inventory API bulkPublishOffer), each becoming its own single-variation listing |
ebay_sell_publish_offers_by_item_group | Publish all unpublished offers of an inventory item group as one multi-variation listing on the connector's marketplace (Inventory API… |
ebay_sell_withdraw_offer | End the live listing of a published single-variation offer (Inventory API withdrawOffer) |
ebay_sell_withdraw_offers_by_item_group | End the multi-variation listing of an inventory item group on the connector's marketplace (Inventory API withdrawOfferByInventoryItemGroup) |
ebay_sell_get_listing_fees | Estimate the listing fees eBay would charge to publish up to 250 unpublished offers (Inventory API getListingFees) |
ebay_sell_migrate_listings | Move up to 5 listings created with the legacy Trading API or Seller Hub into the Inventory API model (Inventory API bulkMigrateListing) |
ebay_sell_list_inventory_locations | List the seller's inventory locations (warehouses, stores): merchantLocationKey, name, address, type and status |
ebay_sell_search_items | Search live eBay listings on the connector's marketplace (Browse API item_summary/search), e.g. to check competing prices or find a listing |
ebay_sell_get_item | Get a live listing's public details by its RESTful item id (Browse API getItem): title, price, quantity sold and available, condition, item… |
ebay_sell_get_item_by_legacy_id | Get a live listing's public details by the eBay item number shown on the listing page (Browse API getItemByLegacyId): title, price… |
ebay_sell_get_items_by_item_group | Get every variation of a live multi-variation listing (Browse API getItemsByItemGroup): one item per variation with its price… |
ebay_sell_list_campaigns | List the seller's Promoted Listings ad campaigns (Marketing API getCampaigns): campaignId, name, status, funding strategy (COST_PER_SALE or… |
ebay_sell_get_campaign | Get one Promoted Listings campaign by id (Marketing API getCampaign): name, status, funding strategy and bid percentage, budget… |
ebay_sell_list_campaign_ads | List the ads of a Promoted Listings campaign (Marketing API getAds): adId, listingId, bid percentage and ad status |
ebay_sell_add_listings_to_campaign | Promote up to 500 listings in a Promoted Listings campaign by listing id (Marketing API bulkCreateAdsByListingId) |
ebay_sell_end_campaign | End a running or paused Promoted Listings campaign (Marketing API endCampaign) |
ebay_sell_get_default_category_tree_id | Get the id and version of the category tree of the connector's marketplace (Taxonomy API getDefaultCategoryTreeId), e.g. 77 for EBAY_DE, 0… |
ebay_sell_get_category_suggestions | Suggest the leaf categories that best fit a product, from a short description (Taxonomy API getCategorySuggestions) |
ebay_sell_get_item_aspects_for_category | List the item specifics (aspects) of a leaf category (Taxonomy API getItemAspectsForCategory): name, whether it is required or recommended… |
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?