Logo de WxMCPServer

WxMCPServer

Organização
IBM

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

Publicado porIBM
RepositórioWxMCPServer
IdiomaJava
Forks
11
Estrelas
22
Ferramentas disponíveis
0
Tipo de transportestreamable-http
Categorias
LicençaApache-2.0
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    WxMCPServer disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 0 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    22 estrelas e 11 forks no repositório vinculado.

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

Instalação

TypingMind
Pré-requisitos:

Node.js 18+

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

Use o MCP de WxMCPServer com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar WxMCPServer, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP se conecta no TypingMind pela URL de um servidor MCP hospedado remotamente.

Adicione a URL de um servidor MCP

Use esta opção quando WxMCPServer já estiver hospedado remotamente ou quando sua equipe quiser um conector compartilhado que vários usuários possam acessar.

1

Abra Conectores MCP

No TypingMind, vá até Plugins, abra Conectores MCP e selecione Adicionar URL.

  1. Abra o TypingMind no navegador.
  2. Acesse Plugins.
  3. Abra Conectores MCP.
  4. Clique em Adicionar URL.
Formulário do TypingMind para adicionar a URL de um servidor MCP personalizado
2

Cole a URL do servidor

Insira URL do seu servidor no campo URL do servidor. Adicione um nome para a conexão, uma descrição, um ícone, cabeçalhos HTTP personalizados ou configurações do cliente OAuth se o servidor exigir.

  1. Cole URL do seu servidor no campo URL do servidor.
  2. Digite um nome para a conexão de WxMCPServer.
  3. Adicione uma descrição e um ícone para facilitar a identificação.
  4. Adicione cabeçalhos HTTP personalizados ou dados do cliente OAuth se o servidor exigir autenticação.
3

Crie a conexão

Clique em Criar conexão, volte à lista de Plugins e confirme que a nova conexão MCP está ativa.

  1. Clique em Criar conexão.
  2. Volte à lista de conectores MCP.
  3. Confirme que a conexão de WxMCPServer aparece como ativa.
  4. Atualize a lista de plugins se a conexão não aparecer imediatamente.
4

Troque de modelo sem reconectar

Inicie um chat com seu modelo preferido, ative as ferramentas de WxMCPServer em Plugins e mude para outro modelo sempre que necessário. A conexão MCP continua disponível no espaço de trabalho do TypingMind.

  1. Inicie um novo chat no TypingMind.
  2. Selecione o modelo de IA que deseja usar.
  3. Ative as ferramentas de WxMCPServer em Plugins.
  4. Peça ao modelo para usar a ferramenta quando necessário.
  5. Mude para outro modelo de IA e reutilize a mesma conexão MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar WxMCPServer para me ajudar nesta tarefa?
WxMCPServer
Claro. Já li.
Veja o que encontrei usando WxMCPServer.

Perguntas frequentes

Para que serve o servidor MCP WxMCPServer?

WxMCPServer é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP WxMCPServer com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar WxMCPServer com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP WxMCPServer com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com WxMCPServer conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP WxMCPServer ao TypingMind?

É possível conectar WxMCPServer ao TypingMind adicionando a URL do seu servidor MCP hospedado. Isso é útil para ter uma conexão MCP remota disponível no seu espaço de trabalho do TypingMind.

Quais ferramentas o MCP WxMCPServer oferece no TypingMind?

WxMCPServer disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP WxMCPServer?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se WxMCPServer exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇