MCP directory

IBM watsonx.ai Granite

by github.com/nirholas · v0.2.2 · updated Oct 10, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @three-ws/[email protected]

Environment variables

  • WATSONX_API_KEYrequiredsecret

    IBM Cloud API key (create one at https://cloud.ibm.com/iam/apikeys).

  • WATSONX_PROJECT_ID

    watsonx.ai project id (Project → Manage → General → Project ID). Provide this or WATSONX_SPACE_ID.

  • WATSONX_SPACE_ID

    watsonx.ai deployment space id. Alternative to WATSONX_PROJECT_ID.

  • WATSONX_URL

    Regional inference host. Defaults to https://us-south.ml.cloud.ibm.com.

  • WATSONX_MODEL_ID

    Default chat/generation model id. Defaults to ibm/granite-3-8b-instruct.

  • WATSONX_EMBED_MODEL_ID

    Default embedding model id. Defaults to ibm/granite-embedding-278m-multilingual.

  • WATSONX_API_VERSION

    watsonx.ai REST API version date. Defaults to 2024-05-31.

More from github.com/nirholas

More MCP servers