- 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)
Grant Application Scopes
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
Clone the Repository
Install Dependencies
Verify Installation
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
-
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:Run Tests
Start the Server
Verify Authentication
- ✅ Client credentials validated
- ✅ User tokens loaded (if configured)
- ✅ 230+ tools registered
Step 5: Connect to an MCP Client
Choose your preferred AI assistant and follow the integration guide:Claude Desktop
Cursor
Other Clients
Quick Setup for Claude Desktop
The most popular option - here’s a quick guide:Locate Claude Desktop Config
Add eBay MCP Server
Restart Claude Desktop
- Quit Claude Desktop completely
- Reopen Claude Desktop
- Look for the 🔨 tools icon - you should now see eBay tools available!
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
“Can you list my eBay fulfillment policies?”Claude will use the
getFulfillmentPolicies tool and show you your configured policies.Next Steps
Now that your server is running, explore its capabilities:Create Your First Listing
Manage Orders
Run Promotions
Explore All Features
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
- 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
- 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
- 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
.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
- 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
- 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
- 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
Common Questions
Do I need an active eBay seller account?
Do I need an active eBay seller account?
Can I use this for eBay buying (not selling)?
Can I use this for eBay buying (not selling)?
- 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?
- 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
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