Why Cursor?
Native MCP Support
Developer-Focused
230+ eBay Tools
Multi-Model Support
Prerequisites
Before connecting Cursor, ensure you have:- eBay MCP Server installed and configured
- Cursor IDE installed (Download here)
- eBay Developer credentials (Client ID and Secret)
- Node.js 18+ installed
Installation
Install Cursor
- macOS (Intel and Apple Silicon)
- Windows
- Linux
Locate Configuration File
- macOS
- Windows
- Linux
~/.cursor/mcp_settings.json or configured via Settings UIConfigure via Settings UI (Recommended)
- Open Cursor
- Go to Settings (Cmd/Ctrl + ,)
- Search for “MCP” or “Model Context Protocol”
- Click “Edit in settings.json”
- macOS:
/Users/yourname/ebay-mcp-server/build/index.js - Windows:
C:\\Users\\yourname\\ebay-mcp-server\\build\\index.js - Linux:
/home/yourname/ebay-mcp-server/build/index.js
Add User Tokens (Optional but Recommended)
How to get user tokens
How to get user tokens
- Guide you through OAuth authorization
- Generate user access and refresh tokens
- Save tokens to your
.envfile
.env to your Cursor settings.- Without user tokens: 1,000 requests/day (client credentials)
- With user tokens: 10,000-50,000 requests/day
Reload Cursor
- Open the Command Palette (Cmd/Ctrl + Shift + P)
- Type “Reload Window” and select it
- Or simply restart Cursor
Alternative: Configuration File Method
If your Cursor version uses a dedicated MCP configuration file:Create MCP Configuration
~/.cursor/mcp_settings.json(macOS/Linux)%USERPROFILE%\.cursor\mcp_settings.json(Windows)- Or check Cursor documentation for your version
Verify Configuration
Verification
Test your connection to ensure everything is working:Check Cursor AI Chat
- Open Cursor AI chat (Cmd/Ctrl + L or click the chat icon)
- Look for an indication that MCP tools are loaded
- You may see “230+ tools available” or similar
Test Basic Query
“Can you list my eBay fulfillment policies using the MCP tools?”Cursor should use the
getFulfillmentPolicies tool and return your configured policies.Verify in Code
- Open any file in Cursor
- Use Cmd/Ctrl + K (inline chat)
- Type: “Show my eBay inventory items”
Usage Examples
Here are practical ways to use eBay MCP with Cursor:Building eBay Integrations
Generate code for creating listings
Generate code for creating listings
“Write a TypeScript function to create an eBay listing using the MCP tools. It should accept product details and create both the inventory item and offer.”What happens: Cursor will:
- Use eBay MCP tools to understand the API structure
- Generate TypeScript code that uses
createOrReplaceInventoryItemandcreateOffer - Include proper error handling and types
Debug eBay Sell APIs integration
Debug eBay Sell APIs integration
“My eBay order fetching code is failing. Can you use the getOrders tool to show me what the actual API response looks like?”What happens: Cursor uses
getOrders to fetch real data and helps you fix your code based on the actual response structure.Generate API documentation
Generate API documentation
“Generate documentation for all available eBay inventory management tools”What happens: Cursor will enumerate eBay inventory tools and create markdown documentation with parameters and usage examples.
Quick eBay Operations
Check order status while coding
Check order status while coding
“Are there any new orders today?”What happens: Cursor uses
getOrders with today’s date filter and shows results inline.Update listings during development
Update listings during development
“Update the price of SKU LAPTOP-001 to $599.99”What happens: Cursor uses
updateOffer to change the price, useful when testing price update features.Automated Scripts
Generate bulk update script
Generate bulk update script
“Create a Node.js script that increases all my product prices by 10% using the eBay MCP tools”What happens: Cursor generates a script that:
- Fetches all inventory items
- Calculates new prices
- Updates each offer
- Includes progress logging and error handling
Configuration Options
Multiple MCP Servers in Cursor
Run multiple MCP servers alongside eBay:Environment-Specific Configurations
Maintain separate configurations for different environments:- Sandbox (Testing)
- Production (Live)
- Both Environments
Advanced Logging
Enable detailed logging for debugging:Troubleshooting
MCP tools not appearing in Cursor
MCP tools not appearing in Cursor
- Configuration file location is incorrect
- JSON syntax errors in config
- Server path is wrong
- Check Cursor version and verify correct config location
- Validate JSON syntax:
python -m json.tool your-config.json - Verify server exists:
- Check Cursor’s output panel (View → Output) for MCP-related errors
- Reload window: Cmd/Ctrl + Shift + P → “Reload Window”
Error: Cannot find module
Error: Cannot find module
build/index.js exists after building.Error: Invalid credentials
Error: Invalid credentials
- Verify credentials in eBay Developer Portal
- Ensure you’re using the correct environment (Sandbox vs Production)
- Check for typos in your settings
- Remove any extra spaces or quotes around values
Tools visible but API calls fail
Tools visible but API calls fail
- Ensure user tokens are valid and not expired
- Verify your eBay app has required OAuth scopes
- Check that tokens match the environment (Sandbox/Production)
- Regenerate tokens:
Cursor becomes slow or unresponsive
Cursor becomes slow or unresponsive
- Check if server starts correctly:
- Look for errors in Cursor’s Developer Tools (Help → Toggle Developer Tools)
- Temporarily disable eBay MCP server in settings
- Restart Cursor
- Re-enable with simpler configuration
Rate limit errors
Rate limit errors
- Using client credentials? Add user tokens for 10-50x higher limits
- Already using user tokens? Wait 24 hours or upgrade your eBay seller account
- Reduce the number of API calls in your scripts
- Implement caching for frequently accessed data
Best Practices
Use Sandbox for Development
Add User Tokens
Version Control Safety
Separate Environments
Viewing Logs
Check Cursor and server logs for debugging:- Cursor Output Panel
- Developer Console
- Server Logs
- Open Cursor
- Go to View → Output
- Select “Model Context Protocol” from the dropdown
- Look for eBay MCP server connection logs
Developer Tips
Optimize Your Workflow
Create custom Cursor rules
Create custom Cursor rules
.cursorrules file in your project to optimize eBay integration:Use keyboard shortcuts
Use keyboard shortcuts
- Cmd/Ctrl + K: Inline chat (quick eBay queries while coding)
- Cmd/Ctrl + L: Open main chat panel
- Cmd/Ctrl + I: Composer for longer tasks
- Cmd/Ctrl + Shift + P: Command palette (reload window, etc.)
Combine with other MCP servers
Combine with other MCP servers
- Use filesystem MCP to read product CSV
- Use eBay MCP to create listings from CSV data
- Use database MCP to log results