Supported Clients
Cline (VS Code)
Windsurf IDE
Continue.dev
Custom Clients
Python Scripts
TypeScript/Node.js
Prerequisites
For all clients, you need:- eBay MCP Server installed and configured
- eBay Developer credentials (Client ID and Secret)
- Node.js 18+ installed
- Basic understanding of MCP concepts
Cline (VS Code Extension)
Cline is a popular MCP-enabled extension for Visual Studio Code.Installation
Install VS Code
Install Cline Extension
- Open VS Code
- Go to Extensions (Cmd/Ctrl + Shift + X)
- Search for “Cline”
- Click Install
Configure MCP Servers
- macOS/Linux:
~/.cline/mcp_settings.json - Windows:
%USERPROFILE%\.cline\mcp_settings.json
Reload VS Code
- Open Command Palette (Cmd/Ctrl + Shift + P)
- Type “Developer: Reload Window”
- Press Enter
Test the Connection
- Open Cline panel in VS Code
- Type: “List my eBay fulfillment policies”
- Cline should use the eBay MCP tools to fetch your policies
Windsurf IDE
Windsurf is an AI-first IDE with native MCP support.Installation
Install Windsurf
Locate Configuration File
- macOS:
~/Library/Application Support/Windsurf/mcp.json - Windows:
%APPDATA%\Windsurf\mcp.json - Linux:
~/.config/Windsurf/mcp.json
Add eBay MCP Server
Restart Windsurf
Continue.dev
Continue is an open-source AI coding assistant with MCP support.Installation
Install Continue Extension
- Open Extensions
- Search for “Continue”
- Install the extension
Configure MCP Server
~/.continue/config.json for configuration.Edit the file to add MCP server:Reload Continue
Generic MCP Client Setup
For any MCP-compatible client, follow this general pattern:Standard Configuration Format
Most MCP clients use this configuration structure:Environment Variables
You can reference environment variables instead of hardcoding credentials:Programmatic Integration
Build custom integrations with Python or TypeScript.Python Integration
Use the MCP Python SDK to connect to eBay MCP Server:Install MCP SDK
Create Python Client
Run Your Script
TypeScript/Node.js Integration
Use the MCP TypeScript SDK:Install Dependencies
Create TypeScript Client
Compile and Run
Web-Based Clients
Integrate eBay MCP Server into web applications.Using HTTP/SSE Transport
The eBay MCP Server can run in SSE (Server-Sent Events) mode for web clients:Start Server in SSE Mode
Connect from Web Client
Configuration Best Practices
Security
Never commit credentials
Never commit credentials
Use separate configs per environment
Use separate configs per environment
mcp_config.sandbox.json- For testingmcp_config.production.json- For live operations- Add both to
.gitignore
Set proper file permissions
Set proper file permissions
Performance
Enable connection pooling
Enable connection pooling
Implement caching
Implement caching
Error Handling
Implement retry logic
Implement retry logic
Troubleshooting
Client can't find MCP server
Client can't find MCP server
- Wrong path to server
- Server not built
- Node.js not in PATH
- Verify server path:
- Build server:
- Check Node.js:
Connection timeout
Connection timeout
- Increase timeout in client configuration
- Check network connectivity
- Verify credentials are correct
- Test server independently:
Tools not appearing in client
Tools not appearing in client
- Update MCP SDK to latest version
- Check server logs for errors
- Verify environment variables are set
- Test with simple MCP server first
Authentication failures
Authentication failures
- Verify credentials in eBay Developer Portal
- Regenerate user tokens:
- Check environment matches credentials (Sandbox vs Production)
Building Custom Integrations
Creating a Custom MCP Client
Choose Your Framework
- Python: Best for data science, automation scripts
- TypeScript/Node.js: Best for web apps, serverless functions
- Go: Best for high-performance services
- Rust: Best for system-level integrations
Install MCP SDK
- Python
- TypeScript
- Other Languages
Implement Client Logic
- Establish transport (stdio, HTTP, etc.)
- Send initialization message
- List available tools
- Call tools with proper parameters
- Handle responses and errors
- Close connection gracefully
Add eBay-Specific Features
- Rate limit handling
- Token refresh logic
- Error recovery
- Result caching
- Batch operations