MCP.so
登录

OpenAPI to MCP Server Converter

@zxypro1

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

zxypro1

关于 OpenAPI to MCP Server Converter

A tool for automatically converting OpenAPI into Model Context Protocol (MCP) Server instance

OpenAPI to MCP Server Converter 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

OpenAPI to MCP Server Converter 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is OpenAPI to MCP Server Converter?

A tool for automatically converting OpenAPI specifications into Model Context Protocol (MCP) server instances. It is intended for developers who want to expose REST APIs as MCP-compatible tools for AI assistants.

How to use OpenAPI to MCP Server Converter?

Install via npm install openapi-mcp-converter. Import OpenApiMCPSeverConverter, pass an OpenAPI document and optional configuration (timeout, security), then call getServer() to obtain an MCP server. Connect the server via an MCP transport (stdio, SSE, or Streamable HTTP) and run it. Sample tests can be executed with npm run test.

Key features of OpenAPI to MCP Server Converter

  • Auto-parses OpenAPI 3.0 specifications
  • TypeScript‑based strong type validation
  • Automatically maps tool call parameters
  • Supports stdio, SSE, and Streamable HTTP transports
  • Configurable request timeout and API key security

Use cases of OpenAPI to MCP Server Converter

  • Convert an existing REST API (OpenAPI) into MCP tools for LLMs
  • Run an MCP server locally using stdio transport
  • Host an MCP server over SSE or Streamable HTTP for remote access
  • Automate API integration with AI assistants by generating MCP tools on the fly

常见问题

1

What are the runtime prerequisites?

Node.js 18+ and TypeScript 5.x are required.

2

What transports are supported?

The server can run over stdio, SSE (Server-Sent Events), and Streamable HTTP transports.

3

How can I configure authentication for API calls?

Pass a `security` option to the converter constructor, for example `{ security: { apiKey: 'my-api-key' } }`. The converter forwards this in tool call requests.

4

What OpenAPI version does it support?

It explicitly supports OpenAPI 3.0 specifications.

5

Where does the converted server code live?

The converter produces a server object in memory; no files are generated. Users implement the transport and run the server manually.

评论

其他 分类下的更多 MCP 服务器