aiagent.club
中文
npm

openapi-mcp-generator

#346 of 964 in the AI Agent Index

18 Score
Real usage
40
Momentum
Attention

About

Generate Model Context Protocol (MCP) servers from OpenAPI specifications.

This CLI tool automates the generation of MCP-compatible servers that proxy requests to existing REST APIs—enabling AI agents and other MCP clients to seamlessly interact with your APIs using your choice of transport methods.

You can also use yarn global add openapi-mcp-generator or pnpm add -g openapi-mcp-generator

Configuring the API base URL at runtime: the generated server reads APIBASEURL from the environment (.env), overriding the value baked in from the OpenAPI servers list. The port resolves from --port, then the PORT env var, then 3000.

You can also use this package programmatically in your Node.js…

Across sources

13.5k Downloads / week
  • Downloads / week 13.5k