Get the FREE Ultimate OpenClaw Setup Guide →

marketo -by-cdata

This read-only MCP Server allows you to connect to Marketo data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio cdatasoftware-marketo-mcp-server-by-cdata java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/marketo.prp

How to use

This MCP server exposes Marketo data through a read-only MCP interface by wrapping the CData JDBC Driver for Marketo. It allows LLMs and clients on the same machine to query live Marketo data using simple MCP tools without writing SQL directly. The built-in tools include marketo_get_tables to list available tables, marketo_get_columns to list columns for a given table, and marketo_run_query to execute a SQL SELECT-like query against the Marketo data source. When used with Claude Desktop or a compatible client, you configure the MCP server in a JSON-based config (claude_desktop_config.json or similar), then invoke the appropriate tool via JSON-RPC calls. The server runs locally via standard input/output, so clients on the same host can interact with it directly. The catalog of tools is exposed with the {servername} prefix, for example marketo_get_tables, marketo_get_columns, and marketo_run_query, with outputs typically returned in CSV format where applicable.

How to install

Prerequisites:

  • Java Runtime Environment (JRE/JDK) 8+ installed on your machine
  • Maven (for building the MCP JAR)
  • Access to the CData JDBC Driver for Marketo (download and install as described below)
  1. Build the MCP server:
git clone https://github.com/cdatasoftware/marketo-mcp-server-by-cdata.git
cd marketo-mcp-server-by-cdata
mvn clean install

This should produce the JAR named something like CDataMCP-jar-with-dependencies.jar.

  1. Download and install the CData JDBC Driver for Marketo:
  1. License the JDBC Driver (example steps):
  • Open a terminal and navigate to the JDBC driver lib folder (adjust for your OS):
    • Windows: C:\Program Files\CData\CData JDBC Driver for Marketo\lib
    • macOS/Linux: /Applications/CData JDBC Driver for Marketo/
  • Run: java -jar cdata.jdbc.marketo.jar --license
  • Enter your name, email, and a license key or TRIAL as prompted.
  1. Create the MCP PRP configuration file (marketo.prp) to connect via JDBC:
Prefix=marketo
ServerName=CDataMarketo
ServerVersion=1.0
DriverPath=/path/to/cdata.jdbc.marketo.jar
DriverClass=cdata.jdbc.marketo.MarketoDriver
JdbcUrl=jdbc:marketo:InitiateOAuth=GETANDREFRESH;
Tables=
  1. Run the MCP server:
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/marketo.prp

Note: The server uses stdio, so it should be run on the same machine as any clients that connect to it.

Additional notes

Tips and troubleshooting:

  • Ensure the JDBC driver is licensed and correctly installed; the MCP server reads the .prp file to connect to Marketo.
  • The server runs via stdio, so clients (like Claude Desktop) on the same host can connect directly using the provided config.
  • If you don’t see the MCP server in Claude Desktop, fully quit and re-launch Claude Desktop after starting the server.
  • If a connection fails, re-check the JdbcUrl and ensure OAuth authentication (if used) completes in your browser as part of the driver setup.
  • The outputs for get_tables and get_columns are CSV-formatted; get_queries return the result set per your SQL query.
  • Since this is a read-only server, write/update/delete capabilities are not exposed via this MCP server by design.

Related MCP Servers

Sponsor this space

Reach thousands of developers