Data Intelligence MCP Server
The IBM Data Intelligence MCP Server provides a modular and scalable implementation of the Model Context Protocol (MCP), purpose-built to integrate with IBM Data Intelligence services. It enables secure and extensible interaction between MCP clients and IBM’s data intelligence capabilities.
For the list of tools supported in this version and sample prompts, refer to TOOLS_PROMPTS.md
Resources:
Integrating Claude with Watsonx Data Intelligence A step-by-step guide showing how Claude Desktop connects to the Data Intelligence MCP Server.
Watsonx Orchestrate + Data Intelligence Demonstrates how Watsonx Orchestrate integrates with the MCP Server for automation.
Ibm Bob + Data Intelligence A step-by-step guide showing how IBM Bob connects to the Data Intelligence MCP Server.
Table of Contents
Quick Install - PyPI
Prerequisites
Python 3.11 or higher
Data Intelligence SaaS or CPD 5.2.1
Installation
Standard Installation
Use pip/pip3 for standard installation:
Quick Install and run - uv
Prerequisites
Data Intelligence SaaS or CPD 5.2.1
Install and Running
stdio mode
http mode
Server
If you have installed the ibm-watsonx-data-intelligence-mcp-server locally on your host machine and want to connect from a client such as Claude, Copilot, or LMStudio, you can use the stdio mode as described in the examples under the Client Configuration section.
The server can also be configured and run in http/https mode.
Refer to Client Settings section on applicable environment variables for http mode. Update as required before starting the server below. Default DI_ENV_MODE is SaaS
HTTP Mode
HTTPS Mode
Refer to SERVER_HTTPS.md for detailed HTTPS server configuration and setup.
stdio Mode
When configuring the server through Claude, Copilot, or an MCP client in stdio mode, the server does not need to be started separately. The client will invoke the server directly using standard input/output.
Client Configuration
Claude Desktop
stdio (Recommended for local mcp server setup)
Prereq: uv installation guide
Add the MCP server to your Claude Desktop configuration:
http/https (Remote setup)
If the MCP server is running on a local/remote server in http/https mode.
For Cloud SaaS:
For CPD:
VS Code Copilot
stdio (Recommended for local mcp server setup)
Prereq: uv installation guide
Add the MCP server to your VS Code Copilot MCP configuration:
http/https (Remote setup)
If the MCP server is running on a local/remote server in http/https mode.
For Cloud SaaS:
For CPD:
Watsonx Orchestrate
Watsonx Orchestrate + Data Intelligence blog post demonstrates how Watsonx Orchestrate integrates with the MCP Server for automation.
IBM Bob
IBM Bob + Data Intelligence blog post demonstrates how IBM Bob integrates with the MCP Server for automation.
Configuration
The MCP server can be configured using environment variables or a .env file. Copy .env.example to .env and modify the values as needed.
Client Settings
Below client settings are common whether http or stdio mode
Environment Variable | Default | Description |
|
| Base URL for Watsonx Data Intelligence instance. Example: api.dataplatform.cloud.ibm.com for SaaS and cluster url for CPD |
|
| Environment mode (
or
) |
|
| HTTP request timeout in seconds |
|
| Logs will be written here if provided. Mandatory for
mode |
|
| Context for URLs returned from tool responses (
,
for DI_ENV_MODE=SaaS;
,
for DI_ENV_MODE=CPD ). url will be appended by query parameter accordingly.
in the url for example |
Below client settings are only applicable for stdio mode
Environment Variable | Default | Description |
|
| API key for authentication |
|
| Username (required when using API key for CPD) |
|
| Bearer token for alternative to API key |
For http/https mode client can send below headers
Headers | Default | Description |
|
| API key related to SaaS/CPD |
|
| username for CPD env If API key is provided |
|
| Bearer token alternative to apikey |
e.g:
SSL/TLS Configuration
If running in CPD environment, you might need to configure SSL certificate for client connection. Please look into SSL_CERTIFICATE_GUIDE.md for more details.