AgentHubAgentHub

ibm-watsonx

MCP ServerMCP Registry官方收录

io.github.nirholas/ibm-watsonx · v0.1.1

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

概览

ibm-watsonx 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "ibm-watsonx": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/ibm-watsonx-mcp"
      ],
      "env": {
        "WATSONX_API_KEY": "<WATSONX_API_KEY>"
      }
    }
  }
}

环境变量

WATSONX_API_KEY必填secret

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.

相关资源

统一 Manifest

{
  "id": "io.github.nirholas/ibm-watsonx",
  "type": "mcp-server",
  "version": "0.1.1",
  "displayName": "ibm-watsonx",
  "description": "IBM watsonx.ai MCP by three.ws: chat, text generation, embeddings, and tokenization.",
  "repository": {
    "url": "https://github.com/nirholas/three.ws",
    "source": "github",
    "subfolder": "packages/ibm-watsonx-mcp"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@three-ws/ibm-watsonx-mcp",
        "version": "0.1.1",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "WATSONX_API_KEY",
            "description": "IBM Cloud API key (create one at https://cloud.ibm.com/iam/apikeys).",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "WATSONX_PROJECT_ID",
            "description": "watsonx.ai project id (Project → Manage → General → Project ID). Provide this or WATSONX_SPACE_ID."
          },
          {
            "name": "WATSONX_SPACE_ID",
            "description": "watsonx.ai deployment space id. Alternative to WATSONX_PROJECT_ID."
          },
          {
            "name": "WATSONX_URL",
            "description": "Regional inference host. Defaults to https://us-south.ml.cloud.ibm.com."
          },
          {
            "name": "WATSONX_MODEL_ID",
            "description": "Default chat/generation model id. Defaults to ibm/granite-3-8b-instruct."
          },
          {
            "name": "WATSONX_EMBED_MODEL_ID",
            "description": "Default embedding model id. Defaults to ibm/granite-embedding-278m-multilingual."
          },
          {
            "name": "WATSONX_API_VERSION",
            "description": "watsonx.ai REST API version date. Defaults to 2024-05-31."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.nirholas/ibm-watsonx",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.nirholas%2Fibm-watsonx/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
ibm-watsonx — MCP Server 安装与配置 · AgentHub