原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

legacy2mcp

作者:bvenkata版本 0.5.1i★ –i在你的电脑上运行
注册名称io.github.bvenkata/legacy2mcp

安装

概览

作者提供的说明(英文原文)

Turn a legacy SOAP/WSDL, database, or REST API into a safe, typed, audit-logged MCP server

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "legacy2mcp": {
      "command": "uvx",
      "args": [
        "legacy2mcp",
        "run",
        "--config"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add legacy2mcp -- uvx legacy2mcp run --config

这个服务器需要在启动命令中填入值,请复制设置后自行填写。

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "legacy2mcp": {
      "command": "uvx",
      "args": [
        "legacy2mcp",
        "run",
        "--config"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器需要在启动命令中填入值,请复制设置后自行填写。

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "legacy2mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "legacy2mcp",
        "run",
        "--config"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 bvenkata 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 1141 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1141 个服务器的 71% 更新
  • 基础检查结果等于或优于此分类中其他 1141 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

legacy2mcp 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.1)于16天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.03天前更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

legacy2mcp

Convert anything to MCP in 60 seconds. Read-only by default, with every call audit-logged.


Quick start

No API key, no cloning — pick whichever matches what you actually have, against live public demo targets:

pip install legacy2mcp

REST API -- tries OpenAPI/Swagger discovery

legacy2mcp init --rest-url "https://petstore3.swagger.io/api/v3"

WSDL / SOAP service -- zeep introspects it live, no scan needed

legacy2mcp init --wsdl-url "http://www.dneonline.com/calculator.asmx?WSDL"

A website with no API docs at all -- crawls it for forms/content

legacy2mcp init --webpage-url "https://legacy2mcp.com/"

Run any one of those from a real terminal and that's the whole thing: it writes config.yaml, opens a local test-chat page with a clickable example question under every discovered tool — click one and see a real response come back from the live source, no AI key needed, just local keyword matching to sanity-check the server works — and prints a ready-to-paste connection snippet for Claude Desktop, Cursor, VS Code, and Claude Code. Wiring it into a real AI client is a copy-paste, not a separate step. (Prefer the raw tool list instead? legacy2mcp inspect --config config.yaml.)

legacy2mcp discover does the same for sources that benefit from a review step first (a Postman collection, a HAR capture, …): write a contract, open the same test chat, print the same connection snippet — one command either way.

Have your own WSDL, REST API, website, or codebase instead? legacy2mcp init (no flags) walks you through it — see Generate a config automatically. More demos (a local SOAP service, Docker, a WSDL served by raw URL) are listed in examples/.

[!NOTE]

legacy2mcp introspects your legacy system live — every WSDL operation, every database table, every REST spec it can find — and builds a real JSON Schema for each tool from it. Every MCP tool call is schema-validated before it reaches your backend, write operations are excluded by default, and every call is audit-logged. No hand-written adapter code, no hand-maintained schemas, no arbitrary SQL from the LLM.

Contents

  • Install
  • Quick start
  • How it works
  • Why not just write an adapter by hand?
  • Point it at your own WSDL
  • Point it at your own database
  • Point it at your own REST API
  • Generate a config automatically
  • Discover a legacy interface before generating a server
  • Teach your AI coding agent about legacy2mcp
  • Common commands
  • Client support
  • What's handled
  • Safety model
  • Data flow and privacy
  • Use cases
  • Real-world usage
  • Configuration reference
  • Documentation
  • Roadmap
  • Development · Contributing · License

Install

# Full install (recommended)

pip install "legacy2mcp[ai]"

Or the identical, scan-only-ready core -- AI-assisted legacy2mcp init

needs no extra package either way, just an API key at runtime; [ai]

above installs nothing extra today, it's just a stable, familiar name

pip install legacy2mcp

or: uv tool install legacy2mcp · pipx install legacy2mcp

Also published to the [MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.bvenkata/legacy2mcp) as io.github.bvenkata/legacy2mcp, so registry-aware MCP clients can discover it directly.

How it works

flowchart LR

WSDL["WSDL / XSD"] --> GEN["legacy2mcp schema generation"] DB["DB schema (allowlisted tables)"] --> GEN GEN --> TOOLS["Typed MCP tools one per operation / table / query"] AGENT["AI agent / MCP client"] -->|tool call| VAL{"schema validation"} TOOLS -. defines .-> VAL VAL -->|invalid args| REJ["rejected, never reaches SOAP/DB"] VAL -->|valid and allowed| BACKEND["SOAP endpoint or database"] BACKEND --> RESP["plain JSON back to the agent"] VAL --> LOG[("audit log")]

SOAP:

  1. Loads the WSDL with zeep, a mature, widely-used Python SOAP client.
  2. For every operation on every port/binding, converts the XSD input type into a JSON Schema (schema/xsd_to_jsonschema.py) — simple types, nested complex types, enums and arrays, recursively, depth-limited for pathological WSDLs.
  3. Registers one MCP tool per operation, named _ .
  4. On a tool call: validates arguments with jsonschema (schemas use additionalProperties: false), calls the operation via zeep, serializes the response to plain JSON, and writes an audit entry.

DB:

  1. Connects with the dialect's driver (psycopg / pyodbc / oracledb, imported lazily) and introspects the live column types for each allowlisted table (adapters/db_dialects.py) into JSON Schema (schema/sql_to_jsonschema.py).
  2. Registers select_ / insert_ per allowlisted table-and-operation, plus query_ per named query in config.
  3. On a tool call: validates arguments, builds SQL from the allowlisted table/columns (or runs the config-supplied named query) using one dialect-neutral :param placeholder convention, executes it, and writes an audit entry. The LLM never sees or writes SQL text.
  4. Operations whose names look like writes are excluded unless allow_write_operations: true.

REST:

  1. There's no live schema to introspect a plain REST API from the way there is a WSDL or a DB catalog, so the endpoint list (method, path, typed params) comes from config -- hand-written, or generated by legacy2mcp init's OpenAPI/Swagger discovery or source-code scan.
  2. Registers one MCP tool per allowlisted endpoint, named _ .
  3. On a tool call: validates arguments, splits them into path/query/body by each param's declared location, substitutes {param} placeholders into the URL, and calls it with requests -- auth applied per the adapter's auth config (basic/bearer/none).
  4. Endpoints marked write: true are excluded unless allow_write_operations: true. legacy2mcp init sets that flag by default on non-GET endpoints and on endpoints whose names look like writes; in a hand-written config, the HTTP method alone does not hide an endpoint.

Why not just write an adapter by hand?

Because a hand-written adapter is a second copy of your system's schema that nobody remembers to update. The first time a WSDL operation's signature shifts or a column changes, your tool's JSON Schema silently drifts from reality — and an LLM calling it finds out by sending arguments that are wrong in a way nothing catches, or by getting a confusing runtime error from deep inside the SOAP/DB client. legacy2mcp builds the schema from the live system every time it starts, so a drifted call fails at validation, before it ever reaches your backend — not after.

Hand-written adapter (FastMCP / raw SDK)Generic OpenAPI-to-MCP proxylegacy2mcp
Schema sourceTyped by hand, per toolThe OpenAPI spec, if one existsThe live WSDL / DB schema, or a discovered OpenAPI spec
Can drift from the real systemYes — nothing re-checks itOnly if the spec itself is staleNo — rebuilt from the live source at startup
Covers SOAP / a databaseYou write that client code yourselfNo — REST/OpenAPI onlyYes, plus REST and plain websites
Write operations hidden by defaultNo — you remember to gate each oneNo — usually exposes everything the spec definesYes — explicit allow_write_operations opt-in
Audit log of every callDIYUsually noBuilt in
Time to a working serverHours to days, per systemMinutes, for a REST API with a specMinutes — legacy2mcp init

Point it at your own WSDL

# config.yaml

server: name: my-legacy-mcp

adapters:

  • id: legacy type: soap config: wsdl_url: "https://service.example.com/LegacyService?wsdl" auth: type: basic username: "svc-account" password_env: "SERVICE_PASSWORD" # value read from the environment, never the file allow_write_operations: false # Create*/Update*/Delete*/… stay hidden include_operations: ["GetRecord", "GetRecordDetails", "SearchRecords"]

security: audit: enabled: true path: "./legacy2mcp-audit.log"

export SERVICE_PASSWORD=...

legacy2mcp inspect --config config.yaml # review the generated tools legacy2mcp run --config config.yaml

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx