Convert your SOAP or REST API to an MCP server in 60 seconds
Description and use
legacy2mcp converts a legacy SOAP or REST API into a safe MCP server in 60 seconds, providing read‑only access, schema validation, and audit logging.
Problem
Legacy systems expose risky operations; a single wrong call can cause serious issues.
Outcome
The legacy2mcp tool transforms a legacy SOAP or REST API into a safe MCP server within 60 seconds, providing read‑only access, schema validation, and audit logging.
Workflow
- Install legacy2mcp via pip
- Initialize the MCP server with the legacy endpoint using legacy2mcp init --rest-url or --wsdl-url
- Run legacy2mcp inspect to generate MCP tools and review the config
- Connect an MCP client (e.g., Claude Desktop) to the generated MCP server via the provided JSON configuration
Evidence
legacy2mcp turns a SOAP/WSDL service, REST API or database into an MCP server, and it is safe by default:
Read‑only by default. Write‑like operations stay hidden until you opt in.
Schema‑validated. Every call is checked before it reaches your backend.
Audit‑logged. One JSON line per call.
Try it in 60 seconds
bash
pip install legacy2mcp
legacy2mcp init --rest-url https://petstore.swagger.io
legacy2mcp inspect --config config.yaml
- Record date: 2026-10-11T15:56:04.550Z