openapi2mcptools and openapi-mcp-generator
About openapi2mcptools
2013xile/openapi2mcptools
OpenAPI specifications => MCP (Model Context Protocol) tools
Automatically transforms OpenAPI endpoints into MCP-compatible tools with built-in HTTP client abstraction, enabling MCP servers to expose REST APIs through the protocol's tool interface. The `Converter` class parses specifications and generates both tool definitions and a callable handler for executing requests, while supporting custom HTTP clients (axios, etc.) and configuration like baseURL and headers. Designed to integrate directly with MCP SDK's stdio transport and server patterns for rapid server development.
About openapi-mcp-generator
abutbul/openapi-mcp-generator
A Python tool that automatically converts OpenAPI(Swagger, ETAPI) compatible specifications into fully functional Model Context Protocol (MCP) servers. Generates Docker-ready implementations with support for SSE/IO communication protocols, authentication, and comprehensive error handling. https://pypi.org/project/openapi-mcp-generator/
Converts OpenAPI specs into async-capable MCP servers with modular Python package architecture, supporting both SSE and stdio transports with pluggable authentication schemes. The generator produces Docker multi-stage builds alongside a CLI tool and programmatic API for integration into Python workflows. Built on OpenAPI parsing and Jinja2 templating, it handles rate limiting, comprehensive logging, and generates self-contained server implementations compatible with Claude and other MCP clients.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work