IBM Cloud Docs
Configuring IBM Bob to connect to the MCP server

Configuring IBM Bob to connect to the MCP server

After you install the MCP server on your local machine, you must configure IBM Bob to connect to the MCP server.

Configuration file location

The IBM Bob configuration file is located at:


~/Library/Application Support/Bob-IDE/User/globalStorage/ibm.bob-code/settings/mcp_settings.json

Configuration procedure

  1. Open the IBM Bob configuration file in a text editor.

  2. Add the following configuration:

    {
      "mcpServers": {
        "IBM watsonx.data MCP Server": {
          "command": "/path/to/ibm-watsonxdata-mcp-server",
          "args": ["--transport", "stdio"],
          "env": {
            "WATSONX_DATA_BASE_URL": ""https://<your-instance>.lakehouse.cloud.ibm.com/lakehouse/api",
            "WATSONX_DATA_API_KEY": "<your_api_key_here>",
            "WATSONX_DATA_INSTANCE_ID": "crn:v1:<bluemix:public:lakehouse:us-south/a/...>"
          }
        }
      }
    }
    
  3. Save the configuration file.

  4. Restart IBM Bob.