zijiren 7e8315aae5 chore: bump go mod (#267) il y a 6 mois
..
convert 12d3ad2658 feat: add baidu map mcp server (#246) il y a 6 mois
.golangci.yml 3c884d7b52 feat: streamable http mcp server proxy support use sse endpoint to request (#226) il y a 7 mois
README.md e552c64efa feat: openapi mcp server and sse mcp proxy (#137) il y a 8 mois
go.mod 7e8315aae5 chore: bump go mod (#267) il y a 6 mois
go.sum 7e8315aae5 chore: bump go mod (#267) il y a 6 mois
main.go e552c64efa feat: openapi mcp server and sse mcp proxy (#137) il y a 8 mois

README.md

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