WxMCPServer 标志

WxMCPServer

组织
IBM

**WxMCPServer** is an IBM webMethods Hybrid Integration (IWHI) based MCP server, that enables existing APIs to be used as MCP tools.

发布者IBM
代码仓库WxMCPServer
语言Java
复刻数
11
星标数
22
可用工具
0
传输类型streamable-http
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    WxMCPServer 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 22 个星标和 11 个复刻。

WxMCPServer

WxMCPServer is a webMethods Integration Server (IS) package that implements an MCP Server (current as of 2025-06-18) for IBM webMethods Hybrid Integration (IWHI). It requires either webMethods Integration Server or webMethods Microservices Runtime for hosting.

What's New

v1.3.2 (February 2, 2026)

v1.3.1 (January 6, 2026)

  • Introduced new header names, please refer to latest WxMCPServer 1.5 API specification
  • Introduced new webMethods IS endpoint https://<server>:<port>/v1_5_0/mcp
  • Introduced on-demand loading of tools. If tools are not presented in local cache (i.e. due to refreshing the package), they are loaded even without enforcing "tools/list"

Table of Contents


1. Overview

WxMCPServer enables you to expose your existing APIs, including their existing API policies, as MCP Tools through an enterprise-grade integration platform.

It leverages your existing API management infrastructure:

  • API Catalog
    Introspect API Management applications or Developer Portals for APIs to be exposed as MCP tools
  • API Gateway
    Enforce policies such as logging, authentication, and authorization

Screenshot

In the current solution approach, the MCP Tool Catalog API is grouped together with business APIs into an API product. This API product is then used to retrieve metadata (including the OpenAPI specification) for all APIs in the product.


2. Key Benefits

  • Reuse existing corporate APIs as AI-accessible MCP tools
  • Retain existing API Gateway security and policy enforcement
  • Integrate seamlessly with API catalogs for API discovery
  • One API key or access token can access the MCP Tool Catalog API and all business APIs in the same API product

3. Requirements

WxMCPServer requires IBM webMethods Integration Server or IBM webMethods Microservices Runtime as the server (tested with v11.1).
To integrate with API Management solutions, you must implement the MCP Tool Catalog API.

Instructions are provided (along with pre-configured assets) on how to implement this API on various systems:

3.1 Implementing Tool Catalog on webMethods API Management

Detailed description for webMethods API Management

3.2 Implementing Tool Catalog on Azure API Management

Detailed description for Azure API Management

3.3 Implementing Tool Catalog on IBM API Connect

Detailed description for IBM API Connect

The approach is generally open for 3rd party API Management solutions ("Federated API Management").


4. Roles and Responsibilities

  • MCP Host and MCP Client External components (not part of this solution) essential for using the tools; examples include Claude Desktop or Langflow
  • WxMCPServer webMethods IS package implementing the MCP Server
  • API Gateway Hosts business APIs (to be exposed as MCP tools) and the MCP Tool Catalog API to extract API metadata from the API Catalog
  • API Catalog Allows AI developers to request access to API products and retrieve API keys or OAuth credentials

The following graphic provides an overview of the architecture:

Screenshot


5. Quick Start

5.1 MCP Tool Catalog API

  • First thing to do is to decide from which API management solution you want to fetch the tools (aka APIs from existing API product). Follow these instructions.
  • Test the API isolated before continuing with WxMCPServer

5.2 webMethods Integration Server

  • If you are a webMethods Integration Server customer, you can re-use your existing Integration Server runtime
  • If you do not have a webMethods Integration Server yet, you can download webMethods Service Designer together with the embedded development runtime of Integration Server.
  • If you are working with IBM webMethods Hybrid Integration in SaaS, you can re-use Cloud runtime or register a new Edge Runtime

5.3 Installing package WxMCPServer on webMethods Integration Server

  • If you are running locally you can use webMethods Service Designer and the webMethods Package Registry to load the package WxMCPServer Screenshot

  • If you are running inside IBM webMethods Hybrid Integration (SaaS) you can add this GitHub repository as external package to your IBM webMethods Hybrid Integration project

5.4 Configuring WxMCPServer

  • Use the global variables to define MCP server-wide settings. Use the API specific configuration headers to overwrite these settings per MCP client.

5.5 Protecting WxMCPServer implementation

If you do not run a local MCP server, but a shared one used for enterprise scenarios, you should put the WxMCPServer API on the API Gateway in front of the WxMCPServer implementation. Ideally you put it into the same API product as the MCP Tool Catalog API, so that all APIs share the same credentials ("Invoke what you can list and vice versa"). See full enterprise architecture below:

Screenshot

There is a pre-configured archive for webMethods API Gateway, that implements WxMCPServer API for webMethods API Gateway

5.5 Running WxMCPServer in Container / Kubernetes

If you want to run WxMCPServer in a container, you can use the Dockerfile and README-k8s.md as a starting point. The example Kubernetes deployment is based on Microservice Runtime v11.1.

Step-by-step (more instructions can be found in README-k8s.md):

bash
# Pull base image from wM container registry
docker pull ibmwebmethods.azurecr.io/webmethods-microservicesruntime:11.1
# Build custom Docker image
docker build -t wxmcpserver .
# start your kubernetes cluster
# execute k8s script
k8s/deploy-local.sh

Connect IBM Bob to the MCP server:

json
"wxmcp-http-server": {
    "url": "http://mcp.k8s.orb.local/wxmcp/mcp",
    "type": "streamable-http",
    "headers": {
        "x-auth-type": "API_KEY",
        "x-tool-catalog-base-url": "http://apigw1015-apigateway-admin.apigateway.svc.cluster.local:5555/gateway/WxMCP-Tool-Catalog/1.1",
        "x-api-key": "x-Gateway-APIKey",
        "Content-Type": "application/json",
        "x-api-key-headername": "x-Gateway-APIKey"
    }
}

6. Integration Server Global Variables

You can set default values for WxMCPServer, which are used if no corresponding HTTP headers are sent.

Note: MCP client HTTP headers always take precedence over default values.

Variable NameRequiredDefault ValueDescription
wxmcp.cache.manager.nameNoWxMCP_Cache_Manager_DefaultThe name of the Cache Manager to be used.
wxmcp.auth.typeYesINTERNAL (none)Authentication type: "OAUTH" or "API_KEY" for API Management solutions. "INTERNAL" for Integration Server flows with Integration Server as Auth Server, "THIRD_PARTY" for external Auth Server
wxmcp.tool.catalog.base.urlYes(none)Base URL of your MCP Tool Catalog API on API Gateway, e.g., https://<myWebMethodsAPIGateway>/gateway/WxMCP-Tool-Catalog-wMAPIGW/1.1
wxmcp.api.key.headernameConditional(none)Used only when wxmcp.auth.type = "API_KEY". Specifies the API key header name.
wxmcp.tool.header.prefixNoheader_Default prefix for tool header properties.
wxmcp.tool.query.prefixNoquery_Default prefix for tool query parameter properties.
wxmcp.tool.path.prefixNopath_Default prefix for tool path parameter properties.
wxmcp.tool.response.modeNobothTool response format: text, structured, or both.
wxmcp.response.codeNostdioResponse mode: "stdio" (always HTTP 200) or "http" (actual status codes).
wxmcp.jwks.uriConditional(none)Mandatory when wxmcp.auth.type = "THIRD_PARTY". Specifies the valid JWKS URI to external Auth Server.
wxmcp.jwt.audienceNowxmcpserverChecked when wxmcp.auth.type = "THIRD_PARTY". If your JWT audience claim returns a different audience, please adapt this value accordingly.

7. Configuration Examples

7.1 Claude Desktop — stdio | npx | API Key

json
{
  "mcpServers": {
    "mcp-iwhi-apikey-demo": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://<Integration Server Host>:<Integration Server Port>/mcp",
        "--header",
        "x-auth-type:API_KEY",
        "--header",
        "x-api-key:<The API Key>",
        "--header",
        "x-tool-catalog-base-url:https://<webMethods API Gateway Host>:<webMethods API Gateway Port>/gateway/WxMCP-Tool-Catalog/1.1",
        "--header",
        "x-api-key-headername:<Your API Key header - i.e. x-Gateway-APIKey for webMethods>",
        "--header",
        "x-tool-header-prefix:header_",
        "--header",
        "x-tool-query-prefix:query_",
        "--header",
        "x-tool-path-prefix:path_",
        "--header",
        "x-tool-response-mode:structured",
        "--header",
        "x-response-code:http"
      ]
    }
  }
}

7.2 Claude Desktop — stdio | npx | OAUTH Style

json
{
  "mcpServers": {
    "mcp-iwhi-oauth-demo": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://<Integration Server Host>:<Integration Server Port>/mcp",
        "--header",
        "x-auth-type:OAUTH",
        "--header",
        "x-tool-catalog-base-url:https://<webMethods API Gateway Host>:<webMethods API Gateway Port>/gateway/WxMCP-Tool-Catalog/1.1",
        "--header",
        "x-oauth-bearer-token:<The bearer token>",
        "--header",
        "x-tool-header-prefix:header_",
        "--header",
        "x-tool-query-prefix:query_",
        "--header",
        "x-tool-path-prefix:path_",
        "--header",
        "x-tool-response-mode:structured",
        "--header",
        "x-response-code:http"
      ]
    }
  }
}

7.3 IBM watsonx Orchestrate | Langflow - stdio | uvx | API Key

bash
uvx mcp-proxy 
--headers x-api-key <Your API Key header - i.e. x-Gateway-APIKey for webMethods>
--headers x-tool-catalog-base-url https://<webMethods API Gateway Host>:<webMethods API Gateway Port>/gateway/WxMCP-Tool-Catalog/1.1
http://<Integration Server Host>:<Integration Server Port>/mcp --transport streamablehttp

7.4 VS Code MCP Server - Streamable HTTP

json
{
  "servers": {
    "my-wxmcp-http-server": {
      "url": "http://<Integration Server Host>:<Integration Server Port>/mcp",
      "type": "http",
      "headers": {
        "x-auth-type": "API_KEY",
        "x-tool-catalog-base-url": "https://<webMethods API Gateway Host>:<webMethods API Gateway Port>/gateway/WxMCP-Tool-Catalog/1.1",
        "x-api-key": "<Your API Key header - i.e. x-Gateway-APIKey for webMethods>",
        "Content-Type": "application/json",
        "x-api-key-headername": "x-Gateway-APIKey"
      }
    }
  },
  "inputs": []
}

8. Limitations

  • Only "Content-Type": "application/json" is supported for sending and receiving data to APIs.
  • The Token-Passtrough anti-pattern will be addressed shortly by introducing token swapping capabilities

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "ibm-wxmcpserver": {
      "command": "",
      "args": []
    }
  }
}

将 WxMCPServer MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 WxMCPServer 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 在 TypingMind 中,您可以使用远程托管的 MCP 服务器的 URL 连接此 MCP 服务。

添加 MCP 服务器 URL

如果 WxMCPServer 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 您的服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 您的服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 WxMCPServer 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 WxMCPServer 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 WxMCPServer 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 WxMCPServer 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 WxMCPServer 帮我完成这项任务吗?
WxMCPServer
当然,我看过了。
以下是我使用 WxMCPServer 得到的结果。

常见问题

WxMCPServer MCP 服务器有什么用途?

WxMCPServer 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 WxMCPServer MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 WxMCPServer。

为什么在 TypingMind 中使用 WxMCPServer MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 WxMCPServer 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 WxMCPServer MCP 连接到 TypingMind?

要连接 WxMCPServer,请在 TypingMind 中添加该远程 MCP 服务器的 URL。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

WxMCPServer MCP 在 TypingMind 中提供哪些工具?

WxMCPServer 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 WxMCPServer MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 WxMCPServer 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇