SkillAgentSearch skills...

Ebay MCP

Open source local MCP server providing AI assistants with comprehensive access to eBay's Sell APIs. Includes 325 tools for inventory management, order fulfillment, marketing campaigns, analytics, developer tools, and more.

Install / Use

/learn @YosefHayim/Ebay MCP

README

eBay API MCP Server

<div align="center">

npm version npm downloads Tests API Coverage License Contributors Welcome grimoire-wizard

MseeP.ai Security Assessment Badge <a href="https://www.buymeacoffee.com/yosefhayim" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

A Model Context Protocol (MCP) server providing AI assistants with comprehensive access to eBay's Sell APIs. Includes 325 tools for inventory management, order fulfillment, marketing campaigns, analytics, developer tools, and more.

API Coverage: 100% (270 unique eBay API endpoints)

</div>

One-Click AI Setup

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>

⚠️ Disclaimer

IMPORTANT: Please read this disclaimer carefully before using this software.

This is an open-source project provided "as is" without warranty of any kind, either express or implied. By using this software, you acknowledge and agree to the following:

  • No Liability: The authors, contributors, and maintainers of this project accept NO responsibility or liability for any damages, losses, or issues that may arise from using this software, including but not limited to:

    • Data loss or corruption
    • Financial losses
    • Service disruptions
    • eBay account suspension or termination
    • Violations of eBay's Terms of Service or API usage policies
    • Any other direct or indirect damages
  • eBay API Usage: This project is an unofficial third-party implementation and is NOT affiliated with, endorsed by, or sponsored by eBay Inc. You are solely responsible for:

  • Use at Your Own Risk: This software is provided for educational and development purposes. Users must:

    • Test thoroughly in eBay's sandbox environment before production use
    • Understand the API calls being made on their behalf
    • Maintain backups of critical data
    • Monitor their API usage and account status
  • Security: You are responsible for:

    • Keeping your API credentials secure
    • Properly configuring environment variables
    • Understanding the security implications of MCP server usage
    • Following security best practices
  • No Warranty: This software is provided without any guarantees of functionality, reliability, or fitness for a particular purpose.

By using this software, you accept all risks and agree to hold harmless the authors, contributors, and maintainers from any claims, damages, or liabilities.

For official eBay API support, please refer to the eBay Developer Program.


Table of Contents

Features

  • 325 eBay API Tools - 100% coverage of eBay Sell APIs across inventory, orders, marketing, analytics, developer tools, and more
  • 9 AI Clients Supported - Auto-configuration for Claude Desktop, Cursor, Zed, Cline, Continue.dev, Windsurf, Roo Code, Claude Code CLI, and Amazon Q
  • OAuth 2.0 Support - Full user token management with automatic refresh
  • Type Safety - Built with TypeScript, Zod validation, and OpenAPI-generated types
  • MCP Integration - STDIO transport for direct integration with AI assistants
  • Smart Authentication - Automatic fallback from user tokens (10k-50k req/day) to client credentials (1k req/day)
  • Well Tested - 958+ tests with comprehensive coverage
  • Interactive Setup Wizard - Run npm run setup for guided configuration with auto browser-open for OAuth
  • Developer Analytics - Rate limit monitoring and signing key management

Quick Start

1. Get eBay Credentials

  1. Create a free eBay Developer Account
  2. Generate application keys in the Developer Portal
  3. Save your Client ID and Client Secret

2. Install

Option A: Install from npm (Recommended)

npm install -g ebay-mcp

Option B: Install from source

git clone https://github.com/YosefHayim/ebay-mcp.git
cd ebay-mcp
npm install
npm run build

3. Run Setup Wizard

The interactive setup wizard handles everything for you:

npm run setup

Powered by grimoire-wizard — a config-driven CLI wizard framework grimoire-wizard

The wizard will:

  • Configure your eBay credentials
  • Set up OAuth authentication (for higher rate limits)
  • Auto-detect and configure your MCP client (Claude Desktop, etc.)
  • Save all configuration automatically

Demo

See the eBay MCP Server in action with Claude Desktop:

https://github.com/user-attachments/assets/0173c8df-221c-4943-a4ce-cd20bce79f4b


Visual Setup Guide

The setup wizard (npm run setup) handles OAuth authentication automatically. Here's where to find your credentials in the eBay Developer Portal:

Finding Your Credentials

Step 1: Navigate to eBay Developer Portal and copy your App ID (Client ID) and Cert ID (Client Secret):

Step 1 - Copy credentials from eBay Developer Portal

Step 2: In your app's User Tokens settings, copy the RuName (eBay Redirect URL):

Step 2 - Copy RuName from eBay Sign-in Settings

Running the Setup Wizard

Run npm run setup and enter your credentials when prompted. The wizard will:

  1. Open your browser for OAuth login automatically
  2. Guide you through the eBay sign-in process

Step 3 - Sign in to eBay during OAuth flow

  1. Ask you to paste the authorization code from the callback URL

Step 4 - Paste authorization code into setup wizard

  1. Exchange the code for tokens and save them automatically
  2. Configure your MCP client (Claude Desktop, etc.)

Success! You now have user token authentication with 10k-50k requests/day instead of the default 1k/day.


4. Use

Restart your MCP client (Claude Desktop, etc.) and start using eBay tools through your AI assistant.

Configuration

📖 For a comprehensive configuration guide with detailed explanations of all environment variables, OAuth flow steps, and troubleshooting, see Configuration Documentation.

Environment Variables

The setup wizard (npm run setup) automatically creates and configures your .env file. For reference, these are the environment variables used:

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 by many tools)
EBAY_CONTENT_LANGUAGE=en-US  # Default request content language (global)
EBAY_USER_REFRESH_TOKEN=your_refresh_token  # For higher rate limits

OAuth Authentication

Client Credentials (Default): 1,000 requests/day - works automatically with just Client ID and Secret.

**User Tokens (Recommend

Related Skills

View on GitHub
GitHub Stars37
CategoryDevelopment
Updated1d ago
Forks21

Languages

TypeScript

Security Score

95/100

Audited on Mar 22, 2026

No findings