Configuring IBM Bob to connect to the MCP server

You configure IBM Bob to connect to the MCP server.

Procedure

  1. Create a .bob/mcp.json file in your project root.
  2. Add the following configuration:
    {
        "mcpServers": {
            "decision-mcp": {
                "type": "streamable-http",
                "url": "https://<DECISION_DESIGNER_SERVER_URL>/ads/rest-api/mcp/",
                "headers": {
                    "Authorization": "apiKey <API_KEY>"
                },
                "alwaysAllow": [],
                "disabled": false
            }
        }
    }
    Table 1. List of configuration parameters
    Parameter Description Value
    type Server connection type streamable-http
    url MCP server endpoint URL https://<DECISION_DESIGNER_SERVER_URL>/ads/rest-api/mcp/
    headers.Authorization Authentication token
    Use your personal API key. For more information, see Creating API keys External link opens a new window or tab.
    Restriction: Service ID API keys are not compatible with the MCP server.
    alwaysAllow

    Tool names to approve automatically

    Leave empty for security
    disabled Enable or disable the server connection false
  3. Save the configuration file.
  4. Restart IBM Bob to load the new configuration.
  5. Switch to Advanced mode:
    1. Click the mode selector to the left of the chat input.
    2. Select Advanced from the Modes menu.