This read-only MCP Server allows you to connect to IBM DB2 data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out our MCP Server for IBM DB2 (https://www.cdata.com/drivers/db2/download/mcp).
{
"mcpServers": {
"ibm-db2-mcp-server-by-cdata": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This read-only MCP Server allows you to connect to IBM DB2 data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out our MCP Server for IBM DB2 (https://www.cdata.com/drivers/db2/download/mcp).
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 172 days ago. 1 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for Ibm Db2 Mcp Server By Cdata and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
CData's Model Context Protocol (MCP) Server for IBM DB2
:heavy_exclamation_mark: This project builds a read-only MCP server. For full read, write, update, delete, and action capabilities and a simplified setup, check out our CData MCP Server for IBM DB2.
We created this read-only MCP Server to allow LLMs (like Claude Desktop) to query live data IBM DB2 supported by the CData JDBC Driver for IBM DB2.
CData JDBC Driver connects to IBM DB2 by exposing them as relational SQL models.
This server wraps that driver and makes IBM DB2 data available through a simple MCP interface, so LLMs can retrieve live information by asking natural language questions — no SQL required.
git clone https://github.com/cdatasoftware/ibm-db2-mcp-server-by-cdata.git
cd ibm-db2-mcp-server-by-cdata
mvn clean install
This creates the JAR file: CDataMCP-jar-with-dependencies.jarlib folder in the installation directory, typically:
C:\Program Files\CData\CData JDBC Driver for IBM DB2\/Applications/CData JDBC Driver for IBM DB2/java -jar cdata.jdbc.db2.jar --licenseRun the command java -jar cdata.jdbc.db2.jar to open the Connection String utility.
Configure the connection string and click "Test Connection"
Note: If the data sources uses OAuth, you will need to authenticate in your browser.
Once successful, copy the connection string for use later.
.prp file for your JDBC connection (e.g. ibm-db2.prp) using the following properties and format:
Prefix=db2
ServerName=CDataDB2
ServerVersion=1.0
DriverPath=PATH\TO\cdata.jdbc.db2.jar
DriverClass=cdata.jdbc.db2.DB2Driver
JdbcUrl=jdbc:db2:InitiateOAuth=GETANDREFRESH;
Tables=
Create the config file for Claude Desktop ( claude_desktop_config.json) to add the new MCP server, using the format below. If the file already exists, add the entry to the mcpServers in the config file.
Windows
{
"mcpServers": {
"{classname_dash}": {
"command": "PATH\\TO\\java.exe",
"args": [
"-jar",
"PATH\\TO\\CDataMCP-jar-with-dependencies.jar",
"PATH\\TO\\ibm-db2.prp"
]
},
...
}
}
Linux/Mac
{
"mcpServers": {
"{classname_dash}": {
"command": "/PATH/TO/java",
"args": [
"-jar",
"/PATH/TO/CDat