Time to complete: Approximately 10 minutesPrerequisites:
- Node.js 18 or higher installed
- Git installed
- An eBay Developer account (we’ll help you create one)
Step 1: Get eBay Developer Credentials
Before installing the server, you need eBay Developer credentials.Create an eBay Developer Account
- Visit the eBay Developer Portal
- Click “Register” in the top right corner
- Complete the registration process
- Verify your email address
Create an Application
- Sign in to the Developer Portal
- Navigate to “My Account” → “Application Keys”
- Click “Create an Application Key”
- Choose “Production” or “Sandbox” environment
- Fill in your application details:
- Application Title: Choose a descriptive name (e.g., “My eBay MCP Server”)
- Application Type: Select “Public Application”
Configure OAuth Settings
- In your application settings, scroll to “OAuth Redirect URIs”
- Add the following redirect URI:
- Click “Save” and note your credentials:
- Client ID (App ID)
- Client Secret (Cert ID)
Keep these credentials secure - you’ll need them in Step 3.
Grant Application Scopes
Ensure your application has the following scopes enabled:
https://api.ebay.com/oauth/api_scope/sell.inventoryhttps://api.ebay.com/oauth/api_scope/sell.marketinghttps://api.ebay.com/oauth/api_scope/sell.fulfillmenthttps://api.ebay.com/oauth/api_scope/sell.analytics.readonlyhttps://api.ebay.com/oauth/api_scope/sell.accounthttps://api.ebay.com/oauth/api_scope/sell.account.readonly
Step 2: Install the Server
Install Dependencies
Installation typically takes 30-60 seconds depending on your internet connection.
Step 3: Configure Your Credentials
The eBay MCP Server offers three configuration methods. Choose the one that works best for you.- Interactive Setup (Recommended)
- Automatic Setup
- Manual Configuration
The easiest way to configure your server with a beautiful CLI wizard.The wizard will guide you through:
-
Environment Selection
- Choose between Sandbox (testing) or Production
- The wizard validates your selection
-
Credential Input
- Enter your eBay Client ID
- Enter your eBay Client Secret
- Set your redirect URI (default:
http://localhost:3000/callback)
-
Validation
- Real-time validation of your credentials
- Checks for proper format and accessibility
-
OAuth Flow (Optional)
- Generate user tokens for full API access
- Automatically opens your browser for authorization
- Saves tokens securely in
.env
Step 4: Test the Server
Before connecting to an MCP client, verify the server works:Start the Server
You should see initialization logs confirming the server is ready.
Step 5: Connect to an MCP Client
Choose your preferred AI assistant and follow the integration guide:Claude Desktop
Official Anthropic desktop app with native MCP support
Cursor
AI-first code editor with MCP integration
Other Clients
Cline, Gemini, ChatGPT, and more
Quick Setup for Claude Desktop
The most popular option - here’s a quick guide:Step 6: Test Your First Command
Let’s verify everything works by testing a simple eBay Sell APIs call:- In Claude Desktop
- In Cursor
- Testing Authentication
Try asking Claude:
“Can you list my eBay fulfillment policies?”Claude will use the
getFulfillmentPolicies tool and show you your configured policies.Success! You now have a fully functional eBay MCP Server.
Next Steps
Now that your server is running, explore its capabilities:Create Your First Listing
Step-by-step guide to creating an eBay listing via MCP
Manage Orders
Learn how to fulfill orders and handle returns
Run Promotions
Set up marketing campaigns and promoted listings
Explore All Features
Discover all 230+ tools and what they can do
Understanding Authentication Modes
The server supports two authentication modes:User Tokens (Recommended) - 10,000-50,000 requests/day
User Tokens (Recommended) - 10,000-50,000 requests/day
When to use:
- You need full API access
- You’re performing seller operations (listings, orders, etc.)
- You want higher rate limits
- Requires OAuth 2.0 flow (handled by
npm run setup) - Tokens automatically refresh
- Configured via
.envfile
- 10,000-50,000 requests per day (varies by eBay account type)
Client Credentials (Fallback) - 1,000 requests/day
Client Credentials (Fallback) - 1,000 requests/day
When to use:
- You only need app-level operations
- You’re testing basic functionality
- You want zero-configuration authentication
- Automatically used if no user tokens are present
- Only requires Client ID and Secret
- No OAuth flow needed
- 1,000 requests per day
- Cannot access user-specific data
- Limited to public/app-level operations
Troubleshooting
Error: Invalid Client Credentials
Error: Invalid Client Credentials
Cause: Your Client ID or Client Secret is incorrect.Solution:
- Verify your credentials in the eBay Developer Portal
- Make sure you’re using credentials from the correct environment (Sandbox vs Production)
- Check for typos in your
.envfile - Ensure there are no extra spaces or quotes around the values
Error: Redirect URI Mismatch
Error: Redirect URI Mismatch
Cause: The redirect URI in your
.env doesn’t match what’s configured in your eBay app.Solution:- Go to your eBay Developer Portal
- Navigate to your application settings
- Add
http://localhost:3000/callbackto OAuth Redirect URIs - Save and try again
MCP Client Can't Find the Server
MCP Client Can't Find the Server
Cause: The path in your MCP client config is incorrect.Solution:
- Use an absolute path to the server (not relative)
- Verify the path exists:
ls /path/to/ebay-mcp-server/build/index.js - Check that you ran
npm run buildto create the build directory - Restart your MCP client after config changes
Rate Limit Errors
Rate Limit Errors
Cause: You’ve exceeded your daily API request limit.Solution:
- With client credentials: Upgrade to user tokens for higher limits
- With user tokens: Wait 24 hours or upgrade your eBay seller account
- Check your usage: Use the
getRateLimitStatustool (if available)
Tests Failing During Installation
Tests Failing During Installation
Cause: Missing credentials or network issues.Solution:
- Configure your
.envfile before running tests - Check your internet connection
- If using Sandbox, ensure your Sandbox credentials are valid
- Try running a single test:
npm test -- --run getInventoryItems.test.ts
More Help
Visit our comprehensive troubleshooting guide for more solutions
Common Questions
Do I need an active eBay seller account?
Do I need an active eBay seller account?
For Sandbox: No, you can test with just a developer account.For Production: Yes, you need an active eBay seller account to use production APIs.The Sandbox environment is perfect for development and testing without any seller requirements.
Can I use this for eBay buying (not selling)?
Can I use this for eBay buying (not selling)?
No, this MCP server focuses on eBay’s Sell APIs. It’s designed for sellers to manage:
- Inventory and listings
- Orders and fulfillment
- Marketing campaigns
- Business analytics
What's the difference between Sandbox and Production?
What's the difference between Sandbox and Production?
Sandbox:
- Test environment with fake data
- Free to use
- No real transactions
- Perfect for development
- Real eBay marketplace
- Real transactions and fees
- Requires active seller account
- Use after thorough testing in Sandbox
How do I switch from Sandbox to Production?
How do I switch from Sandbox to Production?
- Create Production credentials in the eBay Developer Portal
- Update your
.envfile: - Run
npm run setupto regenerate user tokens for production - Restart your MCP server
FAQ
See all frequently asked questions
What You’ve Accomplished
- ✅ Created an eBay Developer account and application
- ✅ Installed and configured the eBay MCP Server
- ✅ Set up authentication (user tokens or client credentials)
- ✅ Connected the server to your MCP client
- ✅ Tested your first eBay Sell APIs call