Petstore3

Created By
gujorda year ago
Overview

What is OpenAPI-MCP?

OpenAPI-MCP is a proxy server that bridges AI agents and external APIs by translating OpenAPI specifications into standardized Model Context Protocol (MCP) tools, simplifying integration without the need for custom API wrappers.

How to use OpenAPI-MCP?

To use OpenAPI-MCP, clone the repository, install the required dependencies, and configure the environment variables to point to your OpenAPI specification. Then, run the server to start processing API calls.

Key features of OpenAPI-MCP?

  • OpenAPI Integration: Parses OpenAPI operations as callable tools.
  • OAuth2 Support: Handles machine authentication via Client Credentials flow.
  • Dry Run Mode: Simulates API calls without execution for inspection.
  • JSON-RPC 2.0 Support: Fully compliant request/response structure.
  • Auto Metadata: Derives tool names, summaries, and schemas from OpenAPI.
  • Enhanced Parameter Handling: Automatically converts parameters to correct data types.

Use cases of OpenAPI-MCP?

  1. Integrating AI agents with various external APIs seamlessly.
  2. Simplifying API calls for developers using OpenAPI specifications.
  3. Facilitating machine authentication for secure API access.

FAQ from OpenAPI-MCP?

  • What is the purpose of OpenAPI-MCP?

It standardizes communication between AI agents and external APIs, making integration easier.

  • Is OpenAPI-MCP free to use?

Yes! OpenAPI-MCP is open-source and available for free.

  • How does the dry run mode work?

It allows you to inspect outgoing requests without actually executing them.

Server Config

{
  "mcpServers": {
    "petstore3": {
      "command": "full_path_to_openapi_mcp/venv/bin/python",
      "args": [
        "full_path_to_openapi_mcp/src/server.py"
      ],
      "env": {
        "SERVER_NAME": "petstore3",
        "OPENAPI_URL": "https://petstore3.swagger.io/api/v3/openapi.json"
      },
      "transport": "stdio"
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
gujord
Star
-
Language
-
License
-

Recommend Servers

View All
Gpt Scrambler

2 days ago