
Watsonx
io.github.ExpertVagabond由 GitHub 帳號 ExpertVagabond 發布v1.0.1更新於 Oct 24, 2026
IBM watsonx.ai MCP server for Claude integration
概覽
本機 MCP 伺服器,讓助理把文字生成、對話與向量嵌入工作交給 IBM watsonx.ai 的基礎模型(如 Granite、Llama、Mistral)處理。
- 可以做什麼
- 使用 watsonx.ai 基礎模型生成文字
- 與 watsonx.ai 對話模型進行多輪交談
- 產生文字向量嵌入,用於語意搜尋與 RAG
- 列出帳戶中可用的基礎模型
- 適用情境
- 適合希望讓 Claude 把部分工作轉交給 IBM watsonx.ai 模型的情境,例如需要 Granite 專有能力、對企業資料做批次推論,或為 RAG 流程產生向量嵌入,同時由 Claude 負責主要推理。
- 執行需求
- 以本機 Node.js 程序執行,從 npm 套件安裝。需要 IBM Cloud API 金鑰(WATSONX_API_KEY)、服務位址(WATSONX_URL),以及 WATSONX_SPACE_ID 或 WATSONX_PROJECT_ID 其中之一,才能使用生成、對話與嵌入功能。需要能連線至 watsonx.ai API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Watsonx,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
watsonx MCP Server
MCP server for IBM watsonx.ai integration with Claude Code. Enables Claude to delegate tasks to IBM's foundation models (Granite, Llama, Mistral, etc.).
Features
- Text Generation - Generate text using watsonx.ai foundation models
- Chat - Have conversations with watsonx.ai chat models
- Embeddings - Generate text embeddings
- Model Listing - List all available foundation models
Available Tools
Setup
1. Install Dependencies
2. Configure Environment
Set these environment variables:
Note: Either WATSONX_SPACE_ID or WATSONX_PROJECT_ID is required for text generation, embeddings, and chat. Deployment spaces are recommended as they have Watson Machine Learning (WML) pre-configured.
3. Add to Claude Code
The MCP server is already configured in ~/.claude.json:
Usage
Once configured, Claude can use watsonx.ai tools:
Available Models
Some notable models available:
ibm/granite-3-3-8b-instruct- IBM Granite 3.3 8B (recommended)ibm/granite-13b-chat-v2- IBM Granite chat modelibm/granite-3-8b-instruct- Granite 3 instruct modelmeta-llama/llama-3-70b-instruct- Meta's Llama 3 70Bmistralai/mistral-large- Mistral AI large modelibm/slate-125m-english-rtrvr-v2- Embedding model
Use watsonx_list_models to see all available models.
Architecture
Two-Agent System
This enables a two-agent architecture where:
- Claude (Opus 4.5) - Primary reasoning agent, handles complex tasks
- watsonx.ai - Secondary agent for specific workloads
Claude can delegate tasks to watsonx.ai when:
- IBM-specific model capabilities are needed
- Running batch inference on enterprise data
- Using specialized Granite models
- Generating embeddings for RAG pipelines
IBM Cloud Resources
This MCP server uses:
- Service: watsonx.ai Studio (data-science-experience)
- Plan: Lite (free tier)
- Region: us-south
Create your own watsonx.ai project and deployment space in IBM Cloud.
Integration with IBM Z MCP Server
This watsonx MCP server works alongside the IBM Z MCP server:
Demo scripts in the ibmz-mcp-server:
demo-full-stack.js- Full 5-service pipelinedemo-rag.js- RAG with watsonx embeddings + Granite
Document Analyzer
The document analyzer (document-analyzer.js) provides powerful tools for analyzing your external drive data using watsonx.ai:
Commands
Features
- Summarization: Generate concise summaries of any document
- Analysis: Extract document type, topics, entities, and sentiment
- Q&A: Ask natural language questions about document content
- Embeddings: Generate 768-dimensional vectors for semantic search
- Semantic Search: Find similar documents using vector similarity
Demo
Run the full demo:
Embedding Index & RAG
The embedding-index.js tool provides semantic search and RAG (Retrieval Augmented Generation):
Batch Processor
The batch-processor.js tool processes multiple documents at once:
Categories: technical, business, creative, personal, code, legal, marketing, educational, other
Files
index.js- MCP server implementationdocument-analyzer.js- Document analysis CLI toolembedding-index.js- Embedding index and RAG toolbatch-processor.js- Batch document processordemo-external-drive.sh- Demo scriptpackage.json- DependenciesREADME.md- This file
Author
Matthew Karsten
License
MIT
來源:README.md,提交 ce09136
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分