Swagger icon

Swagger

Converts REST APIs with Swagger/OpenAPI documentation into Model Context Protocol (MCP) tools, making them accessible to MCP-compatible clients.

概要

The Swagger server acts as a crucial bridge, automatically transforming existing REST APIs, defined by Swagger or OpenAPI documentation, into a format compatible with the Model Context Protocol (MCP). This enables various MCP-compatible clients, such as AI agents (e.g., those found in Claude or Gemini environments), to seamlessly discover and interact with these APIs as structured tools. It streamlines API integration by handling parameter mapping, type conversion, and provides robust options for custom tool prefixes, base URL overrides, and SSL certificate management.

主な機能

  • 0 GitHub stars
  • Supports both URL and local file-based Swagger/OpenAPI documentation
  • Option to ignore SSL certificate errors for internal or self-signed APIs
  • Automatic conversion of Swagger/OpenAPI endpoints to MCP tools
  • Handles path, query, and body parameters for API calls
  • Maps Swagger types to JSON Schema types for proper validation

ユースケース

  • Automate the generation and organization of API-based tools for AI-driven workflows.
  • Integrate existing REST APIs with MCP-compatible AI agents like Claude or Gemini.
  • Expose internal APIs to MCP clients, even when using self-signed SSL certificates.
Advertisement

Advertisement