Supported Clients
Cline (VS Code)
MCP support in Visual Studio Code
Windsurf IDE
AI-powered code editor with MCP
Continue.dev
Open-source coding assistant
Custom Clients
Build your own MCP integration
Python Scripts
Programmatic access via Python
TypeScript/Node.js
Native JavaScript integration
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
Download and install Visual Studio Code from code.visualstudio.com
Install Cline Extension
- Open VS Code
- Go to Extensions (Cmd/Ctrl + Shift + X)
- Search for “Cline”
- Click Install
Configure MCP Servers
Cline uses a configuration file for MCP servers.Location:
- 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
Windsurf IDE
Windsurf is an AI-first IDE with native MCP support.Installation
Install Windsurf
Download from windsurf.ai (or check current official site)Available for macOS, Windows, and Linux.
Locate Configuration File
Windsurf configuration location (may vary by version):
- macOS:
~/Library/Application Support/Windsurf/mcp.json - Windows:
%APPDATA%\Windsurf\mcp.json - Linux:
~/.config/Windsurf/mcp.json
Check Windsurf’s documentation for the exact location in your version
Continue.dev
Continue is an open-source AI coding assistant with MCP support.Installation
Install Continue Extension
For VS Code:
- Open Extensions
- Search for “Continue”
- Install the extension
Configure MCP Server
Continue uses
~/.continue/config.json for configuration.Edit the file to add MCP server: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:TypeScript/Node.js Integration
Use the MCP TypeScript SDK: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:Configuration Best Practices
Security
Never commit credentials
Never commit credentials
Don’t:Do:Use environment variables or secret management tools.
Use separate configs per environment
Use separate configs per environment
Maintain different configuration files:
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
For high-volume applications, reuse MCP client connections:
Implement caching
Implement caching
Cache frequently accessed data to reduce API calls:
Error Handling
Implement retry logic
Implement retry logic
Troubleshooting
Client can't find MCP server
Client can't find MCP server
Possible causes:
- Wrong path to server
- Server not built
- Node.js not in PATH
- Verify server path:
- Build server:
- Check Node.js:
Connection timeout
Connection timeout
Cause: Server takes too long to start or authenticate.Solutions:
- 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
Cause: MCP protocol version mismatch or server initialization failure.Solutions:
- 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
Cause: Invalid or expired credentials.Solutions:
- 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
Select based on your needs:
- 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
Implement Client Logic
Follow MCP client protocol:
- Establish transport (stdio, HTTP, etc.)
- Send initialization message
- List available tools
- Call tools with proper parameters
- Handle responses and errors
- Close connection gracefully
Example: Slack Bot Integration
Next Steps
API Reference
Explore all 230+ available eBay tools
Build Automation
Create bulk operations and automation scripts
Best Practices
Learn optimization tips and patterns
Architecture Guide
Understand MCP server internals