Configuring IBM Bob to connect to the MCP server
You configure IBM Bob to connect to the MCP server.
Procedure
- Create a
.bob/mcp.jsonfile in your project root. - 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 typeServer connection type streamable-httpurlMCP server endpoint URL https://<DECISION_DESIGNER_SERVER_URL>/ads/rest-api/mcp/headers.AuthorizationAuthentication token Use your personal API key. For more information, see Creating API keys
.Restriction: Service ID API keys are not compatible with the MCP server.alwaysAllowTool names to approve automatically
Leave empty for security disabledEnable or disable the server connection false - Save the configuration file.
- Restart IBM Bob to load the new configuration.
- Switch to
Advancedmode:- Click the mode selector to the left of the chat input.
- Select Advanced from the Modes menu.