MCP.so
登录

OpenAPI to MCP Server Converter

@zxypro1

关于 OpenAPI to MCP Server Converter

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

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

zxypro1

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

工具是从 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

FAQ from OpenAPI to MCP Server Converter

What are the runtime prerequisites?

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

What transports are supported?

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

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.

What OpenAPI version does it support?

It explicitly supports OpenAPI 3.0 specifications.

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 服务器