Back to MCP Servers
🧩

IBM watsonx.ai Granite MCP Server

API key required

IBM watsonx.ai MCP by three.ws: chat, text generation, embeddings, and tokenization.

To add IBM watsonx.ai Granite to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 7 environment variables, listed below.

SearchAIDevTools

Install

npx -y @three-ws/ibm-watsonx-mcp@0.2.2

Environment variables

WATSONX_API_KEYSet in your MCP config
WATSONX_PROJECT_IDSet in your MCP config
WATSONX_SPACE_IDSet in your MCP config
WATSONX_URLSet in your MCP config
WATSONX_MODEL_IDSet in your MCP config
WATSONX_EMBED_MODEL_IDSet in your MCP config
WATSONX_API_VERSIONSet in your MCP config

Install with your client

Terminal
claude mcp add ibm-watsonx-ai-granite --env WATSONX_API_KEY=<YOUR_WATSONX_API_KEY> --env WATSONX_PROJECT_ID=<YOUR_WATSONX_PROJECT_ID> --env WATSONX_SPACE_ID=<YOUR_WATSONX_SPACE_ID> --env WATSONX_URL=<YOUR_WATSONX_URL> --env WATSONX_MODEL_ID=<YOUR_WATSONX_MODEL_ID> --env WATSONX_EMBED_MODEL_ID=<YOUR_WATSONX_EMBED_MODEL_ID> --env WATSONX_API_VERSION=<YOUR_WATSONX_API_VERSION> -- npx -y @three-ws/ibm-watsonx-mcp@0.2.2

Run this in a terminal to add the server to Claude Code.

What this does

IBM watsonx.ai Granite exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

WATSONX_API_KEY
WATSONX_PROJECT_ID
WATSONX_SPACE_ID
WATSONX_URL
WATSONX_MODEL_ID
WATSONX_EMBED_MODEL_ID
WATSONX_API_VERSION

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install IBM watsonx.ai Granite?

Run the Claude Code command in the install section to add IBM watsonx.ai Granite to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with IBM watsonx.ai Granite?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to IBM watsonx.ai Granite as well.

Does IBM watsonx.ai Granite need an API key?

Yes. Before it can run, set these environment variables: WATSONX_API_KEY, WATSONX_PROJECT_ID, WATSONX_SPACE_ID, WATSONX_URL, WATSONX_MODEL_ID, WATSONX_EMBED_MODEL_ID, WATSONX_API_VERSION. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-nirholas-ibm-watsonx)](https://clauderules.net/mcp/io-github-nirholas-ibm-watsonx)
HTML
<a href="https://clauderules.net/mcp/io-github-nirholas-ibm-watsonx" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-nirholas-ibm-watsonx" alt="Listed on clauderules.net" /></a>