Convert your SOAP or REST API to an MCP server in 60 seconds
说明与用途
legacy2mcp 在60秒内将SOAP或REST API转换为安全的MCP服务器,默认只读、模式验证和审计日志记录。
问题
Legacy systems expose risky operations; a single wrong call can cause serious issues.
结果
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.
工作流
- 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
证据
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
- 记录日期: 2026-10-11T15:56:04.550Z