zijiren 10c0e0effd chore: bump golang to 1.25.2 (#387) пре 2 месеци
..
convert d78adfd3d4 feat: add wsl v5 linter (#314) пре 6 месеци
README.md e552c64efa feat: openapi mcp server and sse mcp proxy (#137) пре 8 месеци
go.mod 10c0e0effd chore: bump golang to 1.25.2 (#387) пре 2 месеци
go.sum 297f1c5502 feat: aws claude protocol support (#356) пре 4 месеци
main.go d78adfd3d4 feat: add wsl v5 linter (#314) пре 6 месеци

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