OpenAPI Bridge

•
1
•

Converts an OpenAPI 3.x specification into an MCP server, enabling REST API operations to be called as MCP tools.

MCP OpenAPI transforms any OpenAPI 3.x specification into a fully functional Model Context Protocol (MCP) server. It intelligently converts each OpenAPI operation into an MCP tool, providing a seamless bridge to existing REST APIs. The tool handles proxying requests to the original API, complete with robust runtime validation using Zod and AJV, and comprehensive authentication mechanisms like API keys, HTTP Bearer, Basic, and OAuth2. It offers multiple transport options and includes observability features and a policy engine for fine-grained control.

Características Principales

01OpenAPI 3.x Specification to MCP Server Conversion
02Runtime Request and Response Validation (Zod, AJV)
03Comprehensive Authentication Handling (API Key, Bearer, Basic, OAuth2)
04Multiple Transport Options (stdio, StreamableHTTP, SSE)
05Configurable Policy Engine for Access Control
061 GitHub stars

Casos de Uso

01Exposing existing REST APIs as MCP tools for AI agents or other MCP clients
02Adding a layer of runtime validation and authentication to proxied API calls
03Streamlining the integration of diverse APIs into an MCP-centric ecosystem