Skip to content
Cursor

IBM watsonx.ai Granite for Cursor

io.github.nirholas/ibm-watsonx

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

client:Cursor transport:stdio runtime:npm

Install IBM watsonx.ai Granite in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "ibm-watsonx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/ibm-watsonx-mcp"
      ],
      "env": {
        "WATSONX_API_KEY": "<WATSONX_API_KEY>",
        "WATSONX_PROJECT_ID": "<WATSONX_PROJECT_ID>",
        "WATSONX_SPACE_ID": "<WATSONX_SPACE_ID>",
        "WATSONX_URL": "<WATSONX_URL>",
        "WATSONX_MODEL_ID": "<WATSONX_MODEL_ID>",
        "WATSONX_EMBED_MODEL_ID": "<WATSONX_EMBED_MODEL_ID>",
        "WATSONX_API_VERSION": "<WATSONX_API_VERSION>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

IBM watsonx.ai Granite in other clients