home / mcp / ebay mcp server

eBay MCP Server

Provides a read-only MCP server that exposes eBay data through the MCP interface for live querying by language models.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "cdatasoftware-ebay-mcp-server-by-cdata": {
      "command": "java",
      "args": [
        "-jar",
        "/PATH/TO/CDataMCP-jar-with-dependencies.jar",
        "/PATH/TO/Salesforce.prp"
      ]
    }
  }
}

You can run a local, read-only MCP server that exposes live eBay data through the CData JDBC Driver. This server lets you ask natural language questions and receive up-to-date results without writing SQL, making it easy for AI clients to query eBay data securely and efficiently.

How to use

You connect an MCP client (for example Claude Desktop or another compatible AI client) to the local MCP server that you start on your machine. Once configured, you can ask natural language questions such as “What is the correlation between my closed won opportunities and the account industry?” or “How many open tickets do I have in the SUPPORT project?” and the client will retrieve live eBay data through the MCP interface.

How to install

Prerequisites you need before installing: Java and Maven are required to build and run the MCP server.

1. Clone the project and enter the directory.

git clone https://github.com/cdatasoftware/ebay-mcp-server-by-cdata.git
cd ebay-mcp-server-by-cdata

2. Build the server to create the executable JAR.

mvn clean install

3. Obtain and install the CData JDBC Driver for eBay from the vendor’s site, then license it.

java -jar cdata.jdbc.ebay.jar --license

4. Configure the data source connection using the JDBC Driver’s connection utility and test the connection. Copy the resulting connection string for later use.

java -jar cdata.jdbc.ebay.jar

5. Create a properties file (*.prp) for your JDBC connection with the required fields.

Prefix=ebay
ServerName=CDataeBay
ServerVersion=1.0
DriverPath=PATH\TO\cdata.jdbc.ebay.jar
DriverClass=cdata.jdbc.ebay.eBayDriver
JdbcUrl=jdbc:ebay:InitiateOAuth=GETANDREFRESH;
Tables=

Additional setup notes

To run the MCP server on its own once you have the *.prp file ready, use the following command. This server runs locally on the machine and is designed to be used with clients on the same host.

java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/ebay.prp

Available tools

ebay_get_tables

Retrieves a list of tables available in the data source. The output is CSV with column headers.

ebay_get_columns

Retrieves a list of columns for a specific table. The output is CSV with column headers.

ebay_run_query

Executes a SQL SELECT query against the data source.