The Decision MCP Server bridges IBM ODM with modern AI assistants and orchestration platforms.
It enables you to:
- Expose decision services as tools for AI assistants
- Automate decisions dynamically in workflows
- Integrate easily with Watson Orchestrate, Claude Desktop, and Cursor AI
- Centralize and expose business logic to end users and bots
- Tool Integration: Add and invoke ODM decision services as tools
- Decision Storage: Manage resources with a local storage system
- Authentication: Zen API Key, Basic Auth, and OpenID Connect
- Multi-Platform: Works with Watson Orchestrate, Claude Desktop, and Cursor AI
Verify your Python and uv
installation:
uv python list
If you want to use a local ODM instance for development or testing, you can start it using Docker Compose:
docker-compose up
...
upload_materials | ✅ ODM Ready for MCP Server
upload_materials exited with code 0
Once the containers are running, access the ODM web console at http://localhost:9060 using the default credentials:
- Username:
odmAdmin
- Password:
odmAdmin
This ODM instance will be available for the MCP Server, pre-populated with sample data for testing and development purposes.
-
Open Claude Desktop Settings:
- On macOS, click the Claude menu in the top menu bar and select Settings.
- On Windows, access Settings from the Claude application.
-
Navigate to the Developer tab and click Edit Config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the following configuration:
{ "mcpServers": { "decision-mcp-server": { "command": "uvx", "args": [ "--from", "git+https://github.com/DecisionsDev/decision-mcp-server", "decision-mcp-server" ] } } }
-
Restart Claude Desktop.
Refer to the Parameters Table for a list of supported environment variables and CLI arguments.
This walkthrough demonstrates how Claude Desktop can interact with IBM ODM Developer Edition through the Decision MCP Server. The scenario showcases two decision services:
- Vacation Policy Decision Service – Computes vacation days based on company policy.
- Beauty Advice Decision Service – Provides personalized beauty recommendations.
Once Claude Desktop is configured with the MCP Server, it automatically connects to the ODM Developer Edition. The MCP Server retrieves and exposes the available decision services as Claude tools.
✅ You should see both tools listed in Claude's interface:
computeVacation
beautyAdvice
The user initiates a conversation in Claude with a natural language request:
User: "I need to compute my vacation."
Claude recognizes this intent and activates the computeVacation
tool.
Claude prompts the user for the necessary information:
Claude: "Can you provide your employee ID and hiring date?"
The user responds with:
User: "Employee ID: 12345, Hiring Date: 2018-06-01"
Claude sends the input to the ODM decision service via the MCP Server. The service processes the request and returns a result, such as:
ODM Response:
{ "vacationDays": 25 }
Claude interprets and presents the result:
Claude: "Based on your hiring date, you are entitled to 25 vacation days."
The user can experiment with different inputs:
User: "What if I was hired on 2022-01-01?"
Claude reuses the tool, sends the new input, and returns the updated result.
The user can now try a different tool:
User: "Can I get some beauty advice?"
Claude activates the beautyAdvice
tool and may ask follow-up questions (e.g., skin type, preferences) before invoking the ODM service and returning personalized recommendations.
- This scenario demonstrates how Claude can dynamically interact with multiple decision services.
- The tools are exposed automatically by the MCP Server based on the ODM configuration.
- You can extend this setup with additional decision services or integrate it into broader workflows using Watson Orchestrate.
The Watson Orchestrate ADK integration allows you to connect the Decision MCP Server to Watson Orchestrate for dynamic decision-making workflows.
For detailed instructions, see the Watson Orchestrate ADK Integration Guide.
Depending on your IBM ODM deployment, use the appropriate authentication method:
- Environment: Cloud Pak for Business Automation (CP4BA)
- Authentication: Zen API Key
- CLI:
--zenapikey <your-zen-api-key>
- Env:
ZENAPIKEY=<your-zen-api-key>
- Environment: IBM ODM deployed on Kubernetes (including OpenShift)
- Authentication:
- Basic Auth:
- CLI:
--username <user> --password <pass>
- Env:
ODM_USERNAME=<user> ODM_PASSWORD=<pass>
- CLI:
- OpenID Connect:
- CLI:
--client_id <CLIENT_ID> --client_secret <CLIENT_SECRET>
- Env:
CLIENT_ID=<client_id> CLIENT_SECRET=<client_secret>
- CLI:
- Basic Auth:
- Environment: Local Docker or Developer Edition
- Authentication: Basic Auth
- CLI:
--username <user> --password <pass>
- Env:
ODM_USERNAME=<user> ODM_PASSWORD=<pass>
CLI Argument | Environment Variable | Description | Default |
---|---|---|---|
--url |
ODM_URL |
URL of the Decision Server console (used for management and deployment operations) | http://localhost:9060/res |
--runtime-url |
ODM_RUNTIME_URL |
URL of the Decision Server runtime (used for executing decision services) | <ODM_URL>/DecisionService |
--username |
ODM_USERNAME |
Username for Basic Auth or Zen authentication | odmAdmin |
--password |
ODM_PASSWORD |
Password for Basic Auth | odmAdmin |
--zenapikey |
ZENAPIKEY |
Zen API Key for authentication with Cloud Pak for Business Automation | |
--client_id |
CLIENT_ID |
OpenID Connect client ID for authentication | |
--client_secret |
CLIENT_SECRET |
OpenID Connect client secret for authentication | |
--verifyssl |
VERIFY_SSL |
Whether to verify SSL certificates (True or False ) |
True |
You can configure the MCP server for clients like Claude Desktop or Cursor AI using JSON configuration.
You may use both environment variables and command-line arguments. CLI arguments always take precedence.
{
"mcpServers": {
"decision-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/DecisionsDev/decision-mcp-server",
"decision-mcp-server",
"--url", "http://localhost:9060/res",
"--username", "odmAdmin",
"--password", "odmAdmin"
]
}
}
}
Add an env
object to your MCP server configuration. Each key-value pair sets an environment variable for the MCP server process:
{
"mcpServers": {
"decision-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/DecisionsDev/decision-mcp-server",
"decision-mcp-server"
],
"env": {
"ODM_URL": "http://localhost:9060/res",
"ODM_USERNAME": "odmAdmin",
"ODM_PASSWORD": "odmAdmin"
}
}
}
}
Alternatively, pass configuration options directly in the args
array.
Each argument is passed to the MCP server as if running from the command line.
{
"mcpServers": {
"decision-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/DecisionsDev/decision-mcp-server",
"decision-mcp-server",
"--url", "https://your-odm-url",
"--username", "your-username",
"--password", "your-password"
]
}
}
}
"args": [
"--from",
"git+https://github.com/DecisionsDev/decision-mcp-server",
"decision-mcp-server",
"--zenapikey", "YOUR_ZEN_API_KEY","--username","YOUR_ZENUSERNAME"
]
or
"env": {
"ZENAPIKEY": "YOUR_ZEN_API_KEY",
"USERNAME": "YOUR_ZEN_USERNAME"
}
Tips:
- Use CLI arguments for quick overrides or non-sensitive parameters.
- Use environment variables for secrets or when integrating with secret managers.
- You can mix both methods if needed. CLI arguments override environment variables.
Recommended: For local development and testing, use the Basic Auth example above. For production or Cloud Pak deployments, use the Zen API Key or OpenID Connect options as appropriate for your environment.
- For IBM ODM, see IBM Documentation.
- For Watson Orchestrate ADK, see Getting Started.
- For Claude Desktop, see Claude Documentation.
- Add sample scenario in the documentation - On going
- Implement Notification Context
- Investigate XOM annotation
- Investigate How to inject description from Decision Center
- Store and expose Decision Trace executions as MCP resources
- Declare Structured Output
- Verify OpenID Connect authentication
- Expose a tool to explain decisions
- Record demo video for Claude Desktop integration
- Add a docker-compose to inject to deploy the ruleapps.
- Support configuration via CLI and environment variables
- Verify Zen authentication support
- Support multiple Decision Server endpoints
- Test and document Claude Desktop integration
- Test Cursor AI integration