Openapi To MCP

Communauté Outils de développement

Converts any OpenAPI/Swagger specification into MCP tools automatically.

Installation

Les étapes d'installation sont dans la documentation ci-dessous. Documentation

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

OpenApi MCP Server

OpenApiMCPServer is an MCP server that automatically converts any OpenAPI/Swagger specification into a set of usable MCP tools.

It analyzes all API endpoints, generates structured tool definitions, and routes tool calls to the underlying REST API. This allows AI agents to interact with any OpenAPI-based service instantly, without manual tool coding.

Modules

There are several modules:

  • openapi-mcp-server: the application that is a MCP server providing the tools defined in an OpenAPI definition (provided as a local file or an HTTP endpoint)
    • This server dynamically loads the Swagger content and provides the functions of the API through the MCP protocol, so they can be used in a generative AI architecture without recoding anything
    • At startup:
    • At runtime:
  • openapi-mcp-example: a simple example divided in two parts
    • In api package : a fake infrastructure API for managing virtual machines. The API will be invoked by the OpenAPI MCP Server
    • In assistant package : an assistant with a simple chat that will use the infrastructure API through the MCP server accessing the API

Run

MCP Server

To start the MCP Server

java -jar $PATH_TO_JAR/openapi-mcp-server.jar --openapi.location=<swagger file or URL>
Example

Questions fréquentes

Qu'est-ce que Openapi To MCP ?

Converts any OpenAPI/Swagger specification into MCP tools automatically.

Comment installer Openapi To MCP ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Openapi To MCP est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Openapi To MCP ?

Il est publié par bbonnin. AI.tn le référence sans le maintenir ni le recommander.

Issu des listes communautaires awesome-mcp-servers et du dépôt GitHub du projet. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.