This read-only MCP Server allows you to connect to JSON data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out our MCP Server for JSON (https://www.cdata.com/drivers/json/download/mcp).
Configuration
View docs{
"mcpServers": {
"cdatasoftware-json-mcp-server-by-cdata": {
"command": "java",
"args": [
"-jar",
"/PATH/TO/CDataMCP-jar-with-dependencies.jar",
"/PATH/TO/json.prp"
]
}
}
}This MCP server provides a read-only interface to live JSON data via the CData JDBC Driver for JSON. It exposes the data through a simple MCP API so you can query JSON sources without writing SQL, making it easy for AI clients to retrieve up-to-date information directly from your JSON data.
You will run this MCP server on your machine and connect your AI client to it. The server is designed to be used locally and queried through its MCP interface. Once running, you can ask your AI to retrieve tables, inspect columns, or run reads against the JSON data. Use natural language prompts to request information such as counts, aggregates, or specific records, and the client will translate those requests into MCP tool calls under the hood.
Prerequisites: you need Java installed on your machine. You also need Maven for building the project and access to the CData JDBC Driver for JSON.
1. Clone the project and navigate into it.
git clone https://github.com/cdatasoftware/json-mcp-server-by-cdata.git
cd json-mcp-server-by-cdata2. Build the MCP server to produce the runnable JAR.
mvn clean install3. Install the CData JDBC Driver for JSON from the official download page and license it using the provided jar. Follow the driver installation steps to obtain a valid driver JAR and license.
4. Create a connection string for your JSON data source using the CData JDBC Driver utilities, then generate a .prp file with your configuration.
5. Run the MCP server using the generated .prp file.
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/json.prpConfiguration notes: The server expects an MCP-ready .prp file that includes at least the JDBC connection information (Prefix, ServerName, ServerVersion, DriverPath, DriverClass, JdbcUrl, Tables). This enables the MCP server to expose your JSON data as read-only tools.
Security and access: Run the MCP server on a trusted machine. Restrict access to the local network or use appropriate authentication in your environment to protect sensitive data.
Usage pattern: After starting the server, connect your AI client and begin asking questions about your data. You can request the available tables, inspect columns, and execute read-only queries supported by the MCP tools.
Troubleshooting tips: Ensure the Java runtime is up-to-date and that the .prp file points to a valid JDBC URL. If the MCP server does not appear in the client, fully quit and restart the client so it reloads MCP servers.
Retrieves a list of tables available in the data source. Output is CSV with headers on the first line.
Retrieves a list of columns for a specified table. Output is CSV with headers on the first line.
Executes a SQL SELECT query against the MCP data source.