openapi-mcp

command module
v0.0.0-...-8541306 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 6 Imported by: 0

README

OpenAPI MCP

openapi-mcp is a tool that converts OpenAPI specifications into MCP (Machine Chat Protocol) servers, enabling seamless integration of API definitions with AI assistants.

Features

  • Supports both OpenAPI v2 (Swagger) and OpenAPI v3 specifications
  • Converts API endpoints into MCP tools
  • Provides both StdIO and SSE server modes

How to use

StdIO
go run . --file doc.json
SSE
# serve on http://localhost:3000/sse
go run . --file doc.json --sse 0.0.0.0:3000
Remote File
go run . --file https://converter.swagger.io/api/openapi.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL