Cloud Pak for Data

Cloud Pak for Data

Come for answers. Stay for best practices. All we’re missing is you.

 View Only

Integrating BOB with watsonx data intelligence MCP server

By XIXIANG CHEN posted Wed October 15, 2025 01:09 PM

  

Prerequisites

Bob settings

  • Add MCP server
    • Three-dot menu on top right corner -> MCP server
    • Edit global MCP
    • For SaaS, add the following in the JSON editor, get the API key from IBM Cloud console
      • {
          "mcpServers": {
            "wxdi-mcp-server": {
              "command": "uvx",
              "args": [
                "ibm-watsonx-data-intelligence-mcp-server",
                "--transport",
                "stdio"
              ],
              "env": {
                "DI_SERVICE_URL": "https://api.dataplatform.cloud.ibm.com",
                "DI_APIKEY": "<IBM_CLOUD_API_KEY>",
                "DI_ENV_MODE": "SaaS",
                "LOG_FILE_PATH": "/tmp/di-mcp-server-logs"
              }
            }
          }
        }
    • For software, add the following in the JSON editor, get the API key from IBM Cloud console
      • {
          "mcpServers": {
            "wxdi-mcp-server": {
              "command": "uvx",
              "args": ["ibm-watsonx-data-intelligence-mcp-server", "--transport", "stdio"],
              "env": {
                 "DI_SERVICE_URL": "<CPD_DI_SERVICE_URL>",
                 "DI_APIKEY": "<CPD_API_KEY>",
                 "DI_ENV_MODE": "cpd",
                 "DI_USERNAME": "<CPD_USER_NAME>"
              }
            }
          }
        }
    • Save the file
    • MCP server should be added. If not, click "Refresh MCP Servers". Restart Bob if the MCP server is still not showing up.
    • Use the toggle to start the wxdi-mcp-server 
  • (Optional) Add custom mode that only interacts with wxdi-mcp-server
    • Three-dot menu on top right corner -> Modes
    • Create new mode
    • Provide name of your choice, e.g., wxdi-mcp
    • Role definition
      • You are a helpful assistant focused on data intelligence and you should only use the wxdi-mcp-server MCP server. Your responses should be as concise as possible.
    • (Optional) Mode-specific Custom Instructions:
      • Only use the wxdi-mcp-server MCP server.
        Prefer markdown for tabular data.

Interacting with watsonx.data intelligence MCP Server via Bob

  • (Optional) Switch to the custom mode, e.g., wxdi-mcp
  • Now you can start asking questions related to watsonx.data intelligence service, e.g., Find asset about customer

Bob Version Tested: 0.0.9 (c3600536)

0 comments
24 views

Permalink