npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ebay-api-mcp-server-node-local

v1.0.9

Published

MCP server for eBay API with OpenAPI support

Readme

eBay API MCP Server

Seamlessly integrate eBay's APIs into your AI assistant workflow. This MCP server enables Claude Desktop, Cursor, Cline, and other AI tools to discover and call eBay marketplace APIs directly.

What Does This Do?

This MCP server gives your AI assistant superpowers to:

  • 🔍 Search for eBay APIs - Find the right endpoint for any marketplace need
  • 📋 Browse API documentation - Get detailed specs, parameters, and examples
  • 🚀 Make real API calls - Execute live requests to eBay's production or sandbox APIs
  • 💬 Natural language interface - Just describe what you want, no need to memorize endpoints

Quick Start

1. Get Your eBay API Token

You'll need an eBay developer account and API token. Get one by running:

curl -v https://api.ebay.com/identity/v1/oauth2/token \
  -H "Accept: application/json" \
  -H "Accept-Language: en_US" \
  -u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \
  -d "grant_type=client_credentials&scope=scopes"

scopes must be URL encoded value of space seperated scope values

For sandbox testing, use https://api.sandbox.ebay.com/identity/v1/oauth2/token

2. Install and Run

The easiest way to use this server is via npx:

EBAY_CLIENT_TOKEN='your_token_here' EBAY_API_ENV='production' npx @ebay/npm-public-api-mcp@latest

That's it! The server is now running and ready to be connected to your AI assistant.

Configuration for AI Assistants

Claude Desktop

Add to your Claude Desktop configuration:

{
    "mcpServers": {
        "ebay-api": {
            "command": "npx",
            "args": [
                "-y",
                "@ebay/npm-public-api-mcp@latest"
            ],
            "env": {
                "EBAY_CLIENT_TOKEN": "YOUR_ACCESS_TOKEN",
                "EBAY_API_ENV": "production"
            }
        }
    }
}

VS Code with MCP Extension

Create .vscode/mcp.json in your project:

{
    "servers": {
        "ebay-api": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@ebay/npm-public-api-mcp@latest"
            ],
            "env": {
                "EBAY_API_ENV": "production",
                "EBAY_CLIENT_TOKEN": "YOUR_ACCESS_TOKEN"
            }
        }
    }
}

Cursor

Configure in Cursor's MCP settings using the same JSON structure as Claude Desktop.

Usage Examples

Once connected, ask your AI assistant things like:

  • "Find eBay APIs for listing products"

    • Discovers endpoints for creating and managing listings
  • "Search for order management APIs"

    • Returns APIs for processing orders, shipping, and fulfillment
  • "Get details about the findItemsByKeywords endpoint"

    • Shows parameters, response format, and usage examples
  • "Call the getItem API for item ID 123456789"

    • Makes a real API call and returns the item details
  • "What APIs can I use for inventory management?"

    • Finds all relevant inventory APIs with documentation

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | EBAY_CLIENT_TOKEN | Your eBay API access token (required) | - | | EBAY_API_ENV | API environment: "sandbox" or "production" | "production" |

API Coverage

This server provides access to eBay's complete API ecosystem:

  • Selling APIs: Listings, inventory, orders, fulfillment
  • Buying APIs: Shopping, checkout, bidding
  • Commerce APIs: Catalog, taxonomy, translation
  • Marketing APIs: Promotions, campaigns, analytics
  • Developer APIs: Analytics, metadata, notifications

Troubleshooting

"Authentication Failed" Error

  • Verify your token hasn't expired (tokens typically last 2 hours)
  • Ensure you're using the correct environment (sandbox vs production)
  • Check that your app has the necessary scopes

"API Not Found" Error

  • Some APIs may be restricted based on your eBay developer account type
  • Verify the API name and try searching with different keywords

Connection Issues

  • Make sure npx is installed and working: npx --version
  • Check that Node.js version 22+ is installed: node --version
  • Verify environment variables are set correctly

Getting Help

License

Apache 2.0 - See LICENSE for more information.