Get the FREE Ultimate OpenClaw Setup Guide →

ebay

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.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio yosefhayim-ebay-mcp npx -y ebay-mcp \
  --env EBAY_ENV="sandbox or production" \
  --env EBAY_RU_NAME="Your RuName (Redirect URI)" \
  --env EBAY_CLIENT_ID="your-ebay-client-id" \
  --env EBAY_CLIENT_SECRET="your-ebay-client-secret"

How to use

The ebay MCP Server exposes eBay's Sell APIs to AI assistants via a Model Context Protocol (MCP) interface. It provides access to inventory management, orders, marketing, analytics, developer tools, and other eBay endpoints through a single MCP-compatible endpoint. The server handles OAuth token management and can automatically fall back from user tokens to client credentials to maintain higher rate limits. Tools are exposed as modular capabilities that AI agents can call through the MCP transport, enabling workflows like listing items, updating inventory, processing orders, and pulling analytics data without exposing raw API calls to the agent.

To use it, install the server and run it via the MCP configuration (for example with npx as shown in the configuration). Once running, your MCP client (Claude Desktop, Cursor, Zed, Cline, Continue.dev, Windsurf, Roo Code, Claude Code CLI, Amazon Q, etc.) can send structured tool calls to the server. The server will translate agent intents into the appropriate eBay API requests, manage authentication, and return results in a format suitable for AI reasoning and response generation.

How to install

Prerequisites:

  • Node.js and npm (or npm/yarn available in your environment)
  • Access to install npm packages globally

Install the eBay MCP server globally via npm, then run the built-in setup wizard to configure credentials and OAuth flow:

# Install globally (recommended)
npm install -g ebay-mcp

# Run the setup wizard to configure credentials and OAuth
npm run setup

If you prefer to install from source:

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

After installation, run the MCP server using the one-click setup or your preferred client integration method. The README describes how to integrate with various MCP clients via the setup wizard.

Additional notes

Environment variables are required for authentication with eBay (Client ID, Client Secret, and Redirect URI/RuName). Keep credentials secure and avoid committing them to version control. If you encounter OAuth issues, ensure the Redirect URI configured in eBay Developer Portal matches what the setup wizard uses. The server supports automatic token refresh and can optimize token usage by falling back to client credentials when appropriate. For production deployments, consider using a registry like npm with proper access controls and monitoring for API quota usage and rate limits.

Related MCP Servers

Sponsor this space

Reach thousands of developers