openapi2mcptools and openapi-mcp-generator

openapi2mcptools
52
Established
openapi-mcp-generator
40
Emerging
Maintenance 0/25
Adoption 11/25
Maturity 25/25
Community 16/25
Maintenance 2/25
Adoption 7/25
Maturity 15/25
Community 16/25
Stars: 19
Forks: 7
Downloads: 108
Commits (30d): 0
Language: TypeScript
License: MIT
Stars: 28
Forks: 7
Downloads:
Commits (30d): 0
Language: Python
License: MIT
Stale 6m
Stale 6m No Package No Dependents

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.

Scores updated daily from GitHub, PyPI, and npm data. How scores work