
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A command-line tool that generates an MCP server from OpenAPI specifications, exposing API operations as MCP tools with Zod-based typed clients.
Open API MCP server generator is cataloged as an MCP server attributed to nexpando-com. A command-line tool that generates an MCP server from OpenAPI specifications, exposing API operations as MCP tools with Zod-based typed clients. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Open API MCP server generator are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · 90f7412e8ba3 · 采集于 2026-11-13 11:29:30 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Open API MCP is a command-line tool that generates an MCP (Model Context Protocol) server based on OpenAPI specifications.
It simplifies the process of creating API clients and servers by leveraging OpenAPI schemas and generating strongly-typed clients using Zod.
Clone the repository:
git clone https://github.com/nexpando-com/open-api-mcp.git
cd open-api-mcp
Install dependencies:
bun install
Prepare an OpenAPI specification:
wget -q -O open-api.json https://fakestoreapi.com/fakestoreapi.json
curl:
curl -o open-api.json https://fakestoreapi.com/fakestoreapi.json
Define environment variables:
cp .env.template .env
Start the MCP server:
bun dev
# or
./cli.sh open-api.json
Console output:
Tool loginUser added to OpenApi MCP server.
Tool getAllCarts added to OpenApi MCP server.
Tool addCart added to OpenApi MCP server.
Tool getCartById added to OpenApi MCP server.
Tool updateCart added to OpenApi MCP server.
Tool deleteCart added to OpenApi MCP server.
Tool getAllProducts added to OpenApi MCP server.
Tool addProduct added to OpenApi MCP server.
Tool getProductById added to OpenApi MCP server.
Tool updateProduct added to OpenApi MCP server.
Tool deleteProduct added to OpenApi MCP server.
Tool getAllUsers added to OpenApi MCP server.
Tool addUser added to OpenApi MCP server.
Tool getUserById added to OpenApi MCP server.
Tool updateUser added to OpenApi MCP server.
Tool deleteUser added to OpenApi MCP server.
[FastMCP info] server is running on HTTP Stream at http://localhost:3000/stream
OpenApi MCP server 0.0.1 running as httpStream
Create a specs directory:
mkdir specs
Add your OpenAPI specification (open-api.json or open-api.yml) to the specs directory.
Create a docker-compose.yml file. Example configuration:
services:
open-api-mcp:
image: nexpando/open-api-mcp
container_name: open-api-mcp
# ports:
# - "3000:3000"
volumes:
- ./specs:/app/specs
environment:
- OPEN_API_FILE=/app/specs/open-api.json
- API_URL= # Example: https://fakestoreapi.com
# - API_KEY
# - MCP_NAME=My MCP Server
# - MCP_VERSION=1.0.0
# - MCP_TRANSPORT_TYPE=httpStream|sse|stdio
Replace API_URL and API_KEY with your data.
Start the MCP server:
docker-compose up
librechat.yamlversion: 1.1.4
cache: true
...
mcpServers:
my-mcp:
type: streamable-http
url: http://my-mcp:3000/stream
mailgun:
type: streamable-http
url: http://mailgun-mcp:3000/stream
.
├── cli.sh # CLI script to start the MCP server
├── generate-client.ts # Script to generate Zod-based API clients
├── get-input-output.ts # Utility functions for input/output paths
├── specs/ # Directory for OpenAPI specifications
├── mcp-servers/ # Example MCP server configurations
├── Dockerfile # Dockerfile for containerized deployment
├── docker-compose.yml # Example Docker Compose configuration
├── README.md # Project documentation
└── ...
The project uses Axios for making HTTP requests, and the default authentication method is configured in the get-axios.ts file. By default, it uses a Bearer token retrieved from the API_KEY environment variable.
If you need to customize the authentication method (e.g., use a different header, token type, or authentication mechanism), you can override the get-axios.ts file. For example:
// filepath: [get-axios.ts](http://_vscodecontentref_/1)
import axios from 'axios'
export const getAxiosInstance = () => {
const options = {
headers: {
'X-Custom-Auth': 'YourCustomAuthValue',
'Content-Type': 'application/json',
},
}
const instance = axios.create(options)
return instance
}
The project uses Axios for making HTTP requests, and the default authentication method is configured in the get-axios.ts file. By default, it uses a Bearer token retrieved from the API_KEY environment variable.
If you are using Docker Compose, you can override the get-axios.ts file by mounting a custom version of the file as a volume. This allows you to customize the authentication method without modifying the original source code.
Create a custom get-axios.ts file with your desired authentication logic. For example:
// filepath: ./custom/get-axios.ts
import axios from 'axios'
export const getAxiosInstance = () => {
const options = {
headers: {
'X-Custom-Auth': 'YourCustomAuthValue',
'Content-Type': 'application/json',
},
}
const instance = axios.create(options)
return instance
}
Update your docker-compose.yml file to override the default get-axios.ts file with your custom version:
services:
open-api-mcp:
image: nexpando/open-api-mcp
container_name: open-api-mcp
volumes:
- ./specs:/app/specs
- ./custom/get-axios.ts:/app/get-axios.ts
environment:
- OPEN_API_FILE=/app/specs/open-api.json
- API_URL= ...
Start the MCP server with Docker Compose:
docker-compose up
By overriding the get-axios.ts file, you can adapt the project to various authentication schemes, such as API keys, or custom headers, while keeping the original source code intact.
This project is licensed under the MIT License. See the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Open API MCP server generator from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/open-api-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.