├── .cursor └── rules │ └── test-scripts.mdc ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── pr-check.yml │ └── release.yml ├── .gitignore ├── .npmrc ├── .prettierrc.json ├── .releaserc ├── CLAUDE.md ├── Dockerfile ├── LICENSE ├── README.md ├── bin └── mcp-server.js ├── docs ├── auth-provider-guide.md ├── developer-guide.md ├── plans │ ├── AUTHPROVIDER_IMPLEMENTATION.md │ ├── response-validation.md │ └── test-improve.md └── server-parameter-guide.md ├── eslint.config.js ├── example-spec.json ├── example-spec.yaml ├── examples ├── README.md ├── auth-provider-example │ ├── README.md │ ├── package.json │ ├── src │ │ ├── auth-provider.ts │ │ └── index.ts │ └── tsconfig.json ├── basic-library-usage │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ └── tsconfig.json └── beatport-example │ ├── README.md │ ├── package.json │ ├── src │ ├── beatport-auth.ts │ └── index.ts │ └── tsconfig.json ├── mcp-examples.md ├── mcp-specs.d.ts ├── package.json ├── scripts ├── inspect-watch.js ├── inspect.js ├── path-parameters-validation.mjs ├── test-auth-provider.js └── test-http-transport.sh ├── smithery.yaml ├── src ├── api-client.ts ├── auth-provider.ts ├── cli.ts ├── config.ts ├── index.ts ├── openapi-loader.ts ├── server.ts ├── tools-manager.ts ├── transport │ └── StreamableHttpServerTransport.ts └── utils │ ├── abbreviations.ts │ ├── http-methods.ts │ └── tool-id.ts ├── test-docker.sh ├── test ├── api-client.test.ts ├── auth-provider.test.ts ├── cli-execution.test.ts ├── config.test.ts ├── external-server.test.ts ├── openapi-loader.test.ts ├── package-structure.test.ts ├── path-dot-removal.test.ts ├── server.test.ts ├── setup.ts ├── tool-id-utils.test.ts ├── tools-manager.test.ts └── transport-http.test.ts ├── tsconfig.json ├── verify-manual.md └── vitest.config.ts /.cursor/rules/test-scripts.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/.cursor/rules/test-scripts.mdc -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/pr-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/.github/workflows/pr-check.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .aider* 2 | coverage/* 3 | .env 4 | dist/ 5 | node_modules/ 6 | OPENAPI_ISSUE* 7 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | provenance=true 2 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/.releaserc -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/README.md -------------------------------------------------------------------------------- /bin/mcp-server.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import "../dist/cli.js" 3 | -------------------------------------------------------------------------------- /docs/auth-provider-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/docs/auth-provider-guide.md -------------------------------------------------------------------------------- /docs/developer-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/docs/developer-guide.md -------------------------------------------------------------------------------- /docs/plans/AUTHPROVIDER_IMPLEMENTATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/docs/plans/AUTHPROVIDER_IMPLEMENTATION.md -------------------------------------------------------------------------------- /docs/plans/response-validation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/docs/plans/response-validation.md -------------------------------------------------------------------------------- /docs/plans/test-improve.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/docs/plans/test-improve.md -------------------------------------------------------------------------------- /docs/server-parameter-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/docs/server-parameter-guide.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/eslint.config.js -------------------------------------------------------------------------------- /example-spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/example-spec.json -------------------------------------------------------------------------------- /example-spec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/example-spec.yaml -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/auth-provider-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/auth-provider-example/README.md -------------------------------------------------------------------------------- /examples/auth-provider-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/auth-provider-example/package.json -------------------------------------------------------------------------------- /examples/auth-provider-example/src/auth-provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/auth-provider-example/src/auth-provider.ts -------------------------------------------------------------------------------- /examples/auth-provider-example/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/auth-provider-example/src/index.ts -------------------------------------------------------------------------------- /examples/auth-provider-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/auth-provider-example/tsconfig.json -------------------------------------------------------------------------------- /examples/basic-library-usage/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/basic-library-usage/README.md -------------------------------------------------------------------------------- /examples/basic-library-usage/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/basic-library-usage/package.json -------------------------------------------------------------------------------- /examples/basic-library-usage/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/basic-library-usage/src/index.ts -------------------------------------------------------------------------------- /examples/basic-library-usage/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/basic-library-usage/tsconfig.json -------------------------------------------------------------------------------- /examples/beatport-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/beatport-example/README.md -------------------------------------------------------------------------------- /examples/beatport-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/beatport-example/package.json -------------------------------------------------------------------------------- /examples/beatport-example/src/beatport-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/beatport-example/src/beatport-auth.ts -------------------------------------------------------------------------------- /examples/beatport-example/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/beatport-example/src/index.ts -------------------------------------------------------------------------------- /examples/beatport-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/examples/beatport-example/tsconfig.json -------------------------------------------------------------------------------- /mcp-examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/mcp-examples.md -------------------------------------------------------------------------------- /mcp-specs.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/mcp-specs.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/package.json -------------------------------------------------------------------------------- /scripts/inspect-watch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/scripts/inspect-watch.js -------------------------------------------------------------------------------- /scripts/inspect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/scripts/inspect.js -------------------------------------------------------------------------------- /scripts/path-parameters-validation.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/scripts/path-parameters-validation.mjs -------------------------------------------------------------------------------- /scripts/test-auth-provider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/scripts/test-auth-provider.js -------------------------------------------------------------------------------- /scripts/test-http-transport.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/scripts/test-http-transport.sh -------------------------------------------------------------------------------- /smithery.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/smithery.yaml -------------------------------------------------------------------------------- /src/api-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/api-client.ts -------------------------------------------------------------------------------- /src/auth-provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/auth-provider.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/openapi-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/openapi-loader.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/tools-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/tools-manager.ts -------------------------------------------------------------------------------- /src/transport/StreamableHttpServerTransport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/transport/StreamableHttpServerTransport.ts -------------------------------------------------------------------------------- /src/utils/abbreviations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/utils/abbreviations.ts -------------------------------------------------------------------------------- /src/utils/http-methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/utils/http-methods.ts -------------------------------------------------------------------------------- /src/utils/tool-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/src/utils/tool-id.ts -------------------------------------------------------------------------------- /test-docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test-docker.sh -------------------------------------------------------------------------------- /test/api-client.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/api-client.test.ts -------------------------------------------------------------------------------- /test/auth-provider.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/auth-provider.test.ts -------------------------------------------------------------------------------- /test/cli-execution.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/cli-execution.test.ts -------------------------------------------------------------------------------- /test/config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/config.test.ts -------------------------------------------------------------------------------- /test/external-server.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/external-server.test.ts -------------------------------------------------------------------------------- /test/openapi-loader.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/openapi-loader.test.ts -------------------------------------------------------------------------------- /test/package-structure.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/package-structure.test.ts -------------------------------------------------------------------------------- /test/path-dot-removal.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/path-dot-removal.test.ts -------------------------------------------------------------------------------- /test/server.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/server.test.ts -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/setup.ts -------------------------------------------------------------------------------- /test/tool-id-utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/tool-id-utils.test.ts -------------------------------------------------------------------------------- /test/tools-manager.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/tools-manager.test.ts -------------------------------------------------------------------------------- /test/transport-http.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/test/transport-http.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/tsconfig.json -------------------------------------------------------------------------------- /verify-manual.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/verify-manual.md -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivo-toby/mcp-openapi-server/HEAD/vitest.config.ts --------------------------------------------------------------------------------