WxO Agent MCP

السجل الرسمي الذكاء الاصطناعي والوكلاء

Invoke a Watson Orchestrate agent via MCP. Configure with WO_AGENT_ID.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package wxo-agent-mcp
Claude Code
claude mcp add wxo-agent-mcp -e 'WO_API_KEY=<your wo_api_key>' -e 'WO_INSTANCE_URL=<WO_INSTANCE_URL>' -e 'WO_AGENT_ID=<WO_AGENT_ID>' -- npx -y wxo-agent-mcp@1.0.8
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "wxo-agent-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "wxo-agent-mcp@1.0.8"
            ],
            "env": {
                "WO_API_KEY": "<your wo_api_key>",
                "WO_INSTANCE_URL": "<WO_INSTANCE_URL>",
                "WO_AGENT_ID": "<WO_AGENT_ID>"
            }
        }
    }
}

متغيرات البيئة

  • WO_API_KEY إلزامي سري IBM Cloud API key for Watson Orchestrate
  • WO_INSTANCE_URL إلزامي Watson Orchestrate instance URL (e.g. https://xxx.orchestrate.ibm.com)
  • WO_AGENT_ID إلزامي Agent ID to invoke (or use WO_AGENT_IDs)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. WxO Agent MCP
  2. Tools
  3. Configuration
  4. Quick Start
  5. MCP Client Configuration
  6. vs wxo-builder-mcp-server
  7. Links
  8. License

WxO Agent MCP

Simple MCP (Model Context Protocol) server that invokes a single Watson Orchestrate agent remotely. The agent is defined once via environment variables or MCP config.

Use this when you want a lightweight MCP that only chats with one agent—no tool management, no agent listing, no flows. Just invoke_agent(message) and get_agent().

Full documentation: DOCUMENTATION.md (includes screenshots for VS Code and Langflow).
Publishing: PUBLISHING.md – npm and MCP Registry procedure.

Architecture
                    ┌───────────────────────────────────────┐
                    │  Cursor • VS Code • Langflow • etc.   │
                    │  (MCP clients)                        │
                    └──────────────────┬───────────────────┘
                                       │ stdio / JSON-RPC
                                       ▼
                    ┌───────────────────────────────────────┐
                    │  wxo-agent-mcp                        │
                    │  invoke_agent • get_agent              │
                    └──────────────────┬───────────────────┘
                                       │ HTTP / REST
                                       ▼
                    ┌───────────────────────────────────────┐
                    │  Watson Orchestrate                   │
                    │  agent + tools + LLM                   │
                    └───────────────────────────────────────┘

Tools

ToolDescription
invoke_agentSend a message to the configured Watson Orchestrate agent. The agent responds using its tools and LLM.
get_agentGet details of the configured agent (name, description, tools, instructions).

Configuration

Set these in .env or your MCP client config (e.g. Cursor mcp.json):

WO_API_KEY=your-ibm-cloud-api-key
WO_INSTANCE_URL=https://your-instance-id.orchestrate.ibm.com
WO_AGENT_ID=your-agent-id
# Or WO_AGENT_IDs=id1,id2  (first is used)

Quick Start

npm install
npm run build
cp .env.example .env
# Edit .env with your credentials and agent ID
WO_API_KEY=... WO_INSTANCE_URL=... WO_AGENT_ID=... node dist/index.js
Verify
# Default question ("Hello, who are you?")
WO_API_KEY=... WO_INSTANCE_URL=... WO_AGENT_IDs=... npm run test:verify

# Custom question
npm run test:verify -- -ask "What is the weather in Amsterdam?"

Runs get_agent and invoke_agent to confirm connectivity.

Test in VS Code
  1. Open the wxo-agent-mcp folder in VS Code.
  2. Run npm run build.
  3. .vscode/mcp.json registers the MCP server as wxo-agent and loads .env.
  4. Open Copilot Chat (Ctrl+Shift+I) and ask: Use invoke_agent to ask: What is the weather in Amsterdam?
    For "what can you do", use Use invoke_agent to ask: What can you do? to avoid Copilot calling get_agent first.
  5. Or run npm run test:verify from the terminal (Ctrl+`).

See DOCUMENTATION.md for more prompts and setup.

Question examples: Full list →

invoke_agentget_agent
What is the weather in Amsterdam?Use get_agent to show agent details
Tell me a dad jokeWhat tools does my agent have?
What time is it in Tokyo?
What can you help me with?

Langflow: Add an MCP Tools component, choose STDIO, set Command=node, Args=["/path/to/dist/index.js"], and env vars. See DOCUMENTATION.md.

MCP Client Configuration

One-click install (Cursor Directory)

Add to Cursor — Opens the Cursor Directory page. After adding, set WO_API_KEY, WO_INSTANCE_URL, and WO_AGENT_ID in Cursor MCP settings.

For cursor.directory/mcp/new submission:

FieldValue
Cursor Deep Linkcursor://anysphere.cursor-deeplink/mcp/install?name=WxO%20Agent%20MCP&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInd4by1hZ2VudC1tY3AiXSwiZW52Ijp7IldPX0FQSV9LRVkiOiJ5b3VyLWFwaS1rZXkiLCJXT19JTlNUQU5DRV9VUkwiOiJodHRwczovL3lvdXItaW5zdGFuY2Uub3JjaGVzdHJhdGUuaWJtLmNvbSIsIldPX0FHRU5UX0lEIjoieW91ci1hZ2VudC1pZCJ9fQ==
Install instructionshttps://github.com/markusvankempen/wxo-agent-mcp#mcp-client-configuration
Cursor (.cursor/mcp.json)
{
    "mcpServers": {
        "wxo-agent": {
            "command": "npx",
            "args": ["-y", "wxo-agent-mcp"],
            "env": {
                "WO_API_KEY": "your-api-key",
                "WO_INSTANCE_URL": "https://xxx.orchestrate.ibm.com",
                "WO_AGENT_ID": "your-agent-id"
            }
        }
    }
}
VS Code Copilot (.vscode/mcp.json)

The server is named wxo-agent. Use envFile to load .env:

{
    "servers": {
        "wxo-agent": {
            "type": "stdio",
            "command": "node",
            "args": ["${workspaceFolder}/dist/index.js"],
            "envFile": "${workspaceFolder}/.env"
        }
    }
}

For npx (after publishing), use "command": "npx", "args": ["-y", "wxo-agent-mcp"], and add env with your credentials.

Antigravity

Same config as Cursor. Copy examples/antigravity-mcp.json or add to your MCP config:

{
    "mcpServers": {
        "wxo-agent": {
            "command": "npx",
            "args": ["-y", "wxo-agent-mcp"],
            "env": {
                "WO_API_KEY": "your-api-key",
                "WO_INSTANCE_URL": "https://xxx.orchestrate.ibm.com",
                "WO_AGENT_ID": "your-agent-id"
            }
        }
    }
}

vs wxo-builder-mcp-server

wxo-agent-mcpwxo-builder-mcp-server
PurposeInvoke one agentFull dev toolkit (tools, agents, connections, flows)
AgentSingle WO_AGENT_IDMultiple agents, WO_AGENT_IDs
Toolsinvoke_agent, get_agent30+ tools (list_skills, deploy_tool, etc.)
Use caseChat with a specific agentBuild and manage Watson Orchestrate resources

License

Apache-2.0

الأسئلة الشائعة

ما هو WxO Agent MCP؟

Invoke a Watson Orchestrate agent via MCP. Configure with WO_AGENT_ID.

كيف أثبّت WxO Agent MCP؟

يعمل على جهازك. في Claude Code: claude mcp add wxo-agent-mcp -e 'WO_API_KEY=<your wo_api_key>' -e 'WO_INSTANCE_URL=<WO_INSTANCE_URL>' -e 'WO_AGENT_ID=<WO_AGENT_ID>' -- npx -y wxo-agent-mcp@1.0.8. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج WxO Agent MCP إلى مفتاح API؟

نعم. يتطلب WO_API_KEY, WO_INSTANCE_URL, WO_AGENT_ID، وتضبطها في إعداداته.

هل WxO Agent MCP مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون WxO Agent MCP؟

ينشره markusvankempen. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.