Back to Guides

How to Convert a SOAP API to an MCP Server

Step-by-step guide to converting legacy SOAP/XML web services into MCP servers for Claude, ChatGPT, and Copilot using AnythingMCP.

Convert Legacy SOAP Services to AI-Ready MCP Servers

Many enterprise systems still use SOAP/XML web services. AnythingMCP can convert these into MCP servers, letting AI agents like Claude and ChatGPT interact with legacy systems through natural language.

What You Need

  • A SOAP/XML web service with a WSDL endpoint
  • Docker installed
  • An MCP-compatible AI client (Claude, ChatGPT, Copilot, etc.)

Step-by-Step Guide

Step 1: Deploy AnythingMCP

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Step 2: Create a SOAP Connector

In the dashboard, create a new SOAP connector. Provide the WSDL URL of your SOAP service. AnythingMCP parses the WSDL and automatically generates MCP tools for each SOAP operation.

Step 3: Configure Authentication

Set up WS-Security, Basic auth, or certificate-based authentication as needed by your SOAP service.

Step 4: Review Generated Tools

AnythingMCP converts each SOAP operation into an MCP tool. XML request/response handling is done automatically — AI agents interact with simple JSON parameters.

Step 5: Connect Your AI Client

{
  "mcpServers": {
    "legacy-soap": {
      "url": "http://localhost:4000/mcp"
    }
  }
}

Common Use Cases

  • SAP ECC — Convert RFC/BAPI SOAP endpoints for AI access
  • Oracle E-Business Suite — Bridge SOAP services to MCP
  • Government APIs — Many public sector APIs still use SOAP
  • Banking systems — Legacy payment and account SOAP services

Next Steps