
Watson Orchestrate
io.github.markusvankempen由 GitHub 帳號 markusvankempen 發布v1.0.4更新於 Oct 24, 2026
Manage IBM Watson Orchestrate tools, agents, connections from Cursor, Copilot, Claude.
概覽
讓助理管理 IBM Watson Orchestrate 的工具、代理、連線與流程,並可在 IDE 中執行工具或與代理對話。
- 可以做什麼
- 作為本機 MCP 伺服器,將請求代理為對 Watson Orchestrate 執行個體的 REST 呼叫。提供工具來列出、建立、更新、複製、部署與刪除工具(技能),包括從 OpenAPI 規格或 URL 部署,以及建立 Python 工具。也可管理代理(建立、更新、指派工具、透過 invoke_agent 對話)、連線(列出、建立、設定認證、刪除)、流程,以及取得 OpenAPI 規格。
- 適用情境
- 適合在建立或管理 Watson Orchestrate 資產時,從 Cursor、VS Code Copilot、Claude Desktop、Antigravity 或 Windsurf 以對話方式操作。可搭配 WxO Builder VS Code 擴充功能,兼顧視覺化編輯與 AI 驅動的工作流程。
- 執行需求
- 透過 stdio 在本機執行,通常使用 npx,因此需要 Node.js 18+。需要 IBM Cloud API 金鑰(WO_API_KEY)與執行個體網址(WO_INSTANCE_URL);選用的 WO_AGENT_IDs 或 WO_AGENT_ID 可設定預設代理。需要能連線至 Watson Orchestrate 執行個體的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Watson Orchestrate,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
WXO Builder MCP Server
[npm version] [npm downloads] [License]
Version 1.0.4 · Author Markus van Kempen · Date 2026-02-20
MCP server for IBM Watson Orchestrate (WXO). Manage tools, agents, connections, flows, and execute tools from Cursor, VS Code Copilot, Claude Desktop, Antigravity, Windsurf, or the WxO Builder extension.
markusvankempen.github.io · WxO Builder extension · CONTRIBUTING · CHANGELOG · PUBLISHING · LICENSE
Architecture & Data Flow
This package has a dual role:
- MCP protocol: It acts as an MCP server — your AI environment (Cursor, Claude Desktop, VS Code Copilot, Antigravity, Windsurf, etc.) is the MCP client that connects to it and calls tools.
- Watson Orchestrate: It acts as an HTTP client — it makes REST requests to your Watson Orchestrate instance. Watson Orchestrate never connects back to this process.
The MCP server exposes tools that proxy operations to Watson Orchestrate. When you invoke a tool (e.g. list_skills, invoke_agent), the server forwards the request to the Watson Orchestrate API and returns the result.
Related: WxO Builder Extension + MCP Server – a perfect combo
The WxO Builder extension and this MCP Server work together to create and administer Watson Orchestrate directly from your IDE. Use the extension for visual editing and the MCP server for AI-powered workflows (Cursor, Claude Desktop, etc.).
The extension provides visual tool creation, drag-and-drop agent editing, and local/remote testing. The MCP server exposes the same Watson Orchestrate capabilities to AI assistants in Cursor, Claude Desktop, Antigravity, Windsurf, and VS Code Copilot.
Directory listing copy (cursor.directory, etc.)
Cursor Deep Link (use this so the install dialog shows "WxO Builder MCP Server"):
Config JSON for Cursor deeplink generator:
When WO_AGENT_IDs (comma-separated list) or WO_AGENT_ID is set, agent-based tools use the first ID as default when the user does not specify an agent.
Short description (≤100 chars):
Manage Watson Orchestrate tools, agents, connections. Pair with WxO Builder extension.
Longer description:
Manage IBM Watson Orchestrate (WXO) tools, agents, connections, and flows from Cursor, Copilot, or Claude. Best used with the WxO Builder VS Code extension for a full IDE experience: visual tool creation, drag-and-drop agents, and local/remote testing.
Distribution options:
- npm – Install
wxo-builder-mcp-server(recommended) - MCP Registry – registry.modelcontextprotocol.io/?q=wxo-builder-mcp-server
- Standalone repo – github.com/markusvankempen/wxo-builder-mcp-server for cloning just the MCP server
- Devkit – This package is also part of the watsonx-orchestrate-devkit at
packages/wxo-builder-mcp-server(shared with the WxO Builder extension)
Install from npm
One-click install in Cursor
Add to Cursor — Click to install (shows "WxO Builder MCP Server"). Then set WO_API_KEY and WO_INSTANCE_URL in Cursor MCP settings.
Quick Start
- Set environment variables (or use
.env):
When WO_AGENT_IDs (comma-separated) or WO_AGENT_ID is set, tools use the first ID as default when the user does not specify an agent.
- Configure your MCP client – use
npxso you never reference.jspaths. Example for Cursor (.cursor/mcp.json):
VS Code Copilot uses servers instead of mcpServers; same command and args:
Example configs
Copy-ready example files are in examples/:
See examples/README.md for details.
Features (Parity with VS Code Extension)
OpenAPI Spec
watson-orchestrate-openapi.json– OpenAPI 3.0 spec describing the Watson Orchestrate REST API used by this MCP server (tools, agents, connections, flows, runs). Useget_api_specto retrieve it.get_api_spec– Returns the OpenAPI spec (full or summary). Use to discover what operations the Watson Orchestrate instance supports.
Tools (Skills)
list_skills– List all tools in the catalog (default limit 100)list_tools_with_connections– List tools grouped by connection status (tools with connections vs standard tools). Matches the extension Tools view. Use for prompts like “list my Watson Orchestrate tools with active connections”.list_standard_tools– List only standard tools (no connections). Returns accurate count and list.get_skill– Get a tool by IDdelete_skill– Delete a tooldeploy_skill– Create a tool from OpenAPI spec. Setopenapi_spec["x-ibm-connection-id"]to bind a connection to the tooldeploy_tool_from_url– Create a tool from a URL. Handles (1) APIs with API key → auto-creates connection, (2) public APIs (REST Countries, Open-Meteo) → no auth.create_python_tool_from_tool_spec_json– Create a Python tool fromtool-spec.jsoncontent. Pass the raw JSON string pluspython_codeandrequirements. Use when user says "create a tool from this tool-spec.json" (e.g. CreatingZipFileBasedonDocuments).create_python_tool_and_upload– Create a Python tool and upload its artifact in one step.tool_spec,python_code, optionalrequirements,python_filename.create_tool_and_assign_to_agent– Create a tool from URL and assign to agent in one step.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.assign_tool_to_agent– Assign a tool to an agent.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.update_skill– Update name, description, permission (binding/connection not editable after creation)copy_skill– Copy a tool. Usenew_name(e.g. "MVKWeatherV2") to name the copy. Keeps connection and parameters. Names: letters, digits, underscores only.execute_tool– Execute a tool by name or ID.agent_idoptional; uses first fromWO_AGENT_IDswhen omitted.
Agents
list_agents– List all agentsget_agent– Get agent by ID or name.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.get_agent_chat_starter_settings– Get welcome message and quick prompts.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.update_agent_chat_starter_settings– Updatewelcome_messageandquick_prompts.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.list_agent_tools– List tools assigned to an agent with display names.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.create_agent– Create an agent. Passtoolsarray to assign tools to the agentupdate_agent– Update an agent.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.update_agent_instructions_from_tools– Auto-generate and set instructions from assigned tools.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.invoke_agent– Chat with an agent.agent_id/agent_nameoptional ifWO_AGENT_IDsis set.delete_agent– Delete an agent
Connections
list_connectors– List available connector cataloglist_connections– List configured connections (scope: draft, live, all)list_active_live_connections– List only active and live connections (not tools), deduplicated. Use for "list all connections which are active and live, just the connections".get_connection– Get connection by app_idcreate_connection– Create a connection entrydelete_connection– Delete a connectionconfigure_connection– Set credentials (api_key, basic, bearer) for a connection
Flows
list_flows,get_flow,create_flow,delete_flow
Client Compatibility
The MCP server is tested and works with:
Langflow: Tool output is normalized to a list of flat dicts (primitive values only) so the MCP Tools component's DataFrame validation passes. Nested objects (e.g. binding, input_schema) are JSON-stringified. Cursor, VS Code, and Antigravity receive the same format and work identically.
Verification: Run npm run test:integration with WO_API_KEY and WO_INSTANCE_URL to validate core functionality. For Cursor/VS Code: add the server, ask "List my Watson Orchestrate tools" or "Which agents do I have?" For Langflow: add MCP server, connect MCP Tools to an Agent, run the flow.
Configuration
Set these environment variables (or use a .env file):
See Quick Start for full details on WO_AGENT_IDs and WO_AGENT_ID.
Troubleshooting
"Process exited with code 2" / "MCP server could not be started"
- Ensure credentials are set –
WO_API_KEYandWO_INSTANCE_URLmust be in your MCP configenvblock or in a.envfile. - Verify the server runs manually – From a terminal: It should start and wait. Press Ctrl+C to exit.
- Check Node version – Requires Node.js 18+.
- WxO Builder extension – Ensure API Key and Instance URL are set in extension settings (search
wxo-builderin VS Code settings).
Running Locally
Integration Tests
The test suite validates MCP parity with the extension using user-style test questions. See tests/README.md for full documentation. Test questions are defined in tests/test-questions.ts – add new ones to extend validation.
Test questions: List live connections | Copy tool | List standard tools | Create MVKWeather from URL | Execute locally/remotely | Agent chat | Exchange rate | REST Countries + assign | List agent tools | Create tool from tool-spec.json (CreatingZipFileBasedonDocuments) | Agent Conversation ZIP | Download tool artifact
Assigning Tools to Agents
Use create_agent or update_agent with a tools array of tool IDs:
Assigning Connections to Tools
When deploying a tool with deploy_skill, include x-ibm-connection-id in the OpenAPI spec (or the connection’s app_id) to bind a connection:
Editor configuration (VS Code, Cursor, Claude Desktop, Antigravity, Windsurf)
Important: MCP config does not go in VS Code settings.json. Use the correct config file for your editor.
VS Code (with GitHub Copilot)
Config file: .vscode/mcp.json (workspace) or run MCP: Open User Configuration for global. Use npx (no .js path needed):
Cursor
Config file: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global). Uses mcpServers (not servers). Same command and args as above.
Antigravity (Google)
Open Manage MCP Servers → View raw config and add the watsonx entry from examples/antigravity-mcp-config.json to your mcp_config.json. Same mcpServers format as Cursor.
Windsurf (Codeium)
Config file: ~/.codeium/windsurf/mcp_config.json (macOS/Linux) or %USERPROFILE%\.codeium\windsurf\mcp_config.json (Windows). Use examples/windsurf-mcp-config.json. Same mcpServers format as Cursor. Restart Windsurf after changes.
Alternative: WxO Builder extension bundled server
If you installed the WxO Builder VSIX and want to use its bundled server (no npm install), use the extension path:
Local build (devkit or standalone repo)
If you clone the devkit or the standalone repo, build and run via npx using the package directory (no .js path):
Publishing (for maintainers)
Publish to npm
From the devkit or standalone repo:
Publish to MCP Registry
- Install the MCP publisher CLI:
brew install mcp-publisher - Log in:
mcp-publisher login github - Update
server.jsonversion to matchpackage.json - Publish:
mcp-publisher publish
The server will appear at registry.modelcontextprotocol.io as io.github.markusvankempen/wxo-builder-mcp-server.
Implementation: TypeScript vs Node.js
This MCP server is written in TypeScript and compiled to JavaScript. It loads an OpenAPI spec (watson-orchestrate-openapi.json) for documentation and discovery.
Why TypeScript for Watson Orchestrate:
- Larger codebase (skills, agents, connections, flows, auth, models)
- Type safety for Watson Orchestrate’s varied API responses
- Easier to maintain and extend across multiple modules
License
Apache-2.0 — See LICENSE. CONTRIBUTING · CHANGELOG
來源:README.md,提交 fefadbd
工具
0版本歷史
1- v1.0.4最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。