├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.md │ └── feature-request.md ├── pull_request_template.md └── workflows │ └── ci.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── cmd └── openapi-to-mcp │ └── main.go ├── go.mod ├── go.sum ├── pkg ├── converter │ ├── converter.go │ └── converter_test.go ├── models │ └── mcp_config.go └── parser │ └── parser.go └── test ├── allof-params.json ├── array-complex-items.json ├── array-root-response.json ├── cookie-params.json ├── deep-nested-request-body.json ├── deep-nested-test.json ├── expected-allof-params-mcp.yaml ├── expected-array-root-response-mcp.yaml ├── expected-cookie-params-mcp.yaml ├── expected-header-params-mcp.yaml ├── expected-output-schema-test-mcp.yaml ├── expected-path-params-mcp.yaml ├── expected-petstore-mcp.yaml ├── expected-petstore-template-mcp.yaml ├── expected-ref-test.yaml ├── expected-request-body-types-mcp.yaml ├── expected-security-test-mcp.yaml ├── expected-tools-args-array-of-object-mcp.yaml ├── expected-with-ref-chain.yaml ├── expected-with-ref-mcp.yaml ├── header-params.json ├── output-schema-test.json ├── path-params.json ├── petstore-mcp.yaml ├── petstore-template-mcp.yaml ├── petstore.json ├── ref-test.json ├── request-body-types.json ├── security-test.json ├── template-with-output-schema.yaml ├── template.yaml ├── tools-args-array-of-object.json ├── with-ref-chain.json └── with-ref.json /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/README.md -------------------------------------------------------------------------------- /cmd/openapi-to-mcp/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/cmd/openapi-to-mcp/main.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/converter/converter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/pkg/converter/converter.go -------------------------------------------------------------------------------- /pkg/converter/converter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/pkg/converter/converter_test.go -------------------------------------------------------------------------------- /pkg/models/mcp_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/pkg/models/mcp_config.go -------------------------------------------------------------------------------- /pkg/parser/parser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/pkg/parser/parser.go -------------------------------------------------------------------------------- /test/allof-params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/allof-params.json -------------------------------------------------------------------------------- /test/array-complex-items.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/array-complex-items.json -------------------------------------------------------------------------------- /test/array-root-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/array-root-response.json -------------------------------------------------------------------------------- /test/cookie-params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/cookie-params.json -------------------------------------------------------------------------------- /test/deep-nested-request-body.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/deep-nested-request-body.json -------------------------------------------------------------------------------- /test/deep-nested-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/deep-nested-test.json -------------------------------------------------------------------------------- /test/expected-allof-params-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-allof-params-mcp.yaml -------------------------------------------------------------------------------- /test/expected-array-root-response-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-array-root-response-mcp.yaml -------------------------------------------------------------------------------- /test/expected-cookie-params-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-cookie-params-mcp.yaml -------------------------------------------------------------------------------- /test/expected-header-params-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-header-params-mcp.yaml -------------------------------------------------------------------------------- /test/expected-output-schema-test-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-output-schema-test-mcp.yaml -------------------------------------------------------------------------------- /test/expected-path-params-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-path-params-mcp.yaml -------------------------------------------------------------------------------- /test/expected-petstore-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-petstore-mcp.yaml -------------------------------------------------------------------------------- /test/expected-petstore-template-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-petstore-template-mcp.yaml -------------------------------------------------------------------------------- /test/expected-ref-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-ref-test.yaml -------------------------------------------------------------------------------- /test/expected-request-body-types-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-request-body-types-mcp.yaml -------------------------------------------------------------------------------- /test/expected-security-test-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-security-test-mcp.yaml -------------------------------------------------------------------------------- /test/expected-tools-args-array-of-object-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-tools-args-array-of-object-mcp.yaml -------------------------------------------------------------------------------- /test/expected-with-ref-chain.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-with-ref-chain.yaml -------------------------------------------------------------------------------- /test/expected-with-ref-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/expected-with-ref-mcp.yaml -------------------------------------------------------------------------------- /test/header-params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/header-params.json -------------------------------------------------------------------------------- /test/output-schema-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/output-schema-test.json -------------------------------------------------------------------------------- /test/path-params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/path-params.json -------------------------------------------------------------------------------- /test/petstore-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/petstore-mcp.yaml -------------------------------------------------------------------------------- /test/petstore-template-mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/petstore-template-mcp.yaml -------------------------------------------------------------------------------- /test/petstore.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/petstore.json -------------------------------------------------------------------------------- /test/ref-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/ref-test.json -------------------------------------------------------------------------------- /test/request-body-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/request-body-types.json -------------------------------------------------------------------------------- /test/security-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/security-test.json -------------------------------------------------------------------------------- /test/template-with-output-schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/template-with-output-schema.yaml -------------------------------------------------------------------------------- /test/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/template.yaml -------------------------------------------------------------------------------- /test/tools-args-array-of-object.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/tools-args-array-of-object.json -------------------------------------------------------------------------------- /test/with-ref-chain.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/with-ref-chain.json -------------------------------------------------------------------------------- /test/with-ref.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higress-group/openapi-to-mcpserver/HEAD/test/with-ref.json --------------------------------------------------------------------------------