{"_id":"openapi-mcp-generator","_rev":"24-d7e6ffaed3efb6f84d8039c424639463","name":"openapi-mcp-generator","dist-tags":{"latest":"5.0.1"},"versions":{"1.0.0":{"name":"openapi-mcp-generator","version":"1.0.0","keywords":["openapi","mcp","model-context-protocol","generator","llm"],"author":"","license":"MIT","_id":"openapi-mcp-generator@1.0.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"bin":{"openapi-mcp-generator":"src/index.js"},"dist":{"shasum":"910657b9bf7c86a92782cc336489d53f3ab42bfa","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-1.0.0.tgz","fileCount":18,"integrity":"sha512-QpM0NoG+FqStWx2F9N2gpT7uQuKra+3dowY//Io1royMtoQqx5PYSDansdyfq8XYnYwlV3Vj5XsebJnR6S/SVg==","signatures":[{"sig":"MEQCIB/Ryg2kCiwbMEXDNsBIcBWCTVo/LHZ5nApYVaatkZjwAiAu4Phsvk2wEh+nQXL95cqrOwHbv2Ufd9jdDJIa3hI3SQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1773156},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node src/index.js"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"_npmVersion":"10.9.0","description":"Generate MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"23.3.0","dependencies":{"axios":"^1.6.0","minimist":"^1.2.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_1.0.0_1741510294065_0.8864290615562265","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"openapi-mcp-generator","version":"1.0.3","keywords":["openapi","mcp","model-context-protocol","generator","llm"],"author":"","license":"MIT","_id":"openapi-mcp-generator@1.0.3","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"bin":{"openapi-mcp-generator":"src/index.js"},"dist":{"shasum":"8d963d9be6dd42ddd864e79daf3d8b275c024576","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-1.0.3.tgz","fileCount":8,"integrity":"sha512-M77cN7EvO2HTGhgR0qMyEXGRPtpyo3Vd1LzG9/gBbGWIqTfM+nmZL8YBLuNRcUhGiWMDm5gS4bHm2HVnK+vgDA==","signatures":[{"sig":"MEQCIF+SgnKAFGGUYBvEIgfkkB2NXK/PQdh+UNzHAIa8u1/PAiBaDOJxifUmQ+Z5/+kT7O0DesTxnnTyQFgzgTUfj09LIQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53353},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node src/index.js"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"_npmVersion":"10.9.0","description":"Generate MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"23.3.0","dependencies":{"axios":"^1.6.0","minimist":"^1.2.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_1.0.3_1741517927869_0.21947018979115973","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"openapi-mcp-generator","version":"1.0.4","keywords":["openapi","mcp","model-context-protocol","generator","llm"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@1.0.4","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"src/index.js"},"dist":{"shasum":"d44b74db0ced5408f525e6693b0ff7eb0990b10c","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-1.0.4.tgz","fileCount":9,"integrity":"sha512-jBnBWGV/YJhxi86s0ls/ZokzVeTr2fKao8KtXCkSv8i+cyMdQ8BDP9e6DoGpqMG/DZJYxACaIdWcPfcAireCwg==","signatures":[{"sig":"MEQCID7mylXtBRF8WoawndlJ4m0kEsMsOvkKOisdk28ZA0WVAiAFhnvt/Xhp6WnIHafKR+E/4QUyyeQQpCmNs77rLUKQHg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53108},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"2c4f2e4f49db2c0d4b88f72ea35c24a57e99ed6b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node src/index.js"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.9.0","description":"Generate MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"23.3.0","dependencies":{"axios":"^1.6.0","minimist":"^1.2.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_1.0.4_1742126264164_0.17991200501615","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"openapi-mcp-generator","version":"2.0.0","keywords":["openapi","mcp","model-context-protocol","generator","llm"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@2.0.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"build/index.js"},"dist":{"shasum":"d74e76d22acbba2efc4e883658beb1a63611d67c","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-2.0.0.tgz","fileCount":5,"integrity":"sha512-QYOh3xn4qp5dsMu9ajhS/1IcjFRIyv8lNVwm3wznMGBbIVhJL2h/4A08ZCEK8Lerd1XV3P0zPyBntsFP8O8p8Q==","signatures":[{"sig":"MEYCIQDKXgV5U22E6qm9APHZA5JuVtLWo6+Arnd5IVSkLpupUAIhAOtxElIhV63l98dbR9ujaLivags20L65kOqJ1auoejMe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37646},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"04cd82fa53aa8cd2c3b32185cc911044e71234ee","scripts":{"build":"tsc && chmod 755 build/index.js","start":"node build/index.js","typecheck":"tsc --noEmit"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.7.0","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"18.20.4","dependencies":{"zod":"^3.24.2","axios":"^1.8.4","commander":"^13.1.0","@modelcontextprotocol/sdk":"^1.9.0","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_2.0.0_1744458897627_0.1655559430556921","host":"s3://npm-registry-packages-npm-production"}},"2.5.0-beta.0":{"name":"openapi-mcp-generator","version":"2.5.0-beta.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@2.5.0-beta.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"dist/index.js"},"dist":{"shasum":"93bd68599dc689c02b60838d2fdaa628ac710109","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-2.5.0-beta.0.tgz","fileCount":50,"integrity":"sha512-+OxI0P9VQfq1RgguQ4U8LZy7akVMWTt/rRXXQM9XBimZ5EGwEMluDGSWqMcoIDYPELs3GkCs0OqmPzHGkRZ7ug==","signatures":[{"sig":"MEYCIQCdlJ/jCKRPBoV9Sqwjk+vzP/1bjXC0nIb8juZE4O3yYgIhAPs788lO0Hn5YuT1I4NfGWBjsldIjG0ZrBq3Fs7g0e4K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141901},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"f68f8c2c64981aa3668ae653d47826b772c7de52","scripts":{"build":"tsc && chmod 755 dist/index.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.7.0","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"18.20.4","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.24.0","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.14.1","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"zod":"^3.24.2","json-schema-to-zod":"^2.4.1","@modelcontextprotocol/sdk":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_2.5.0-beta.0_1744567674129_0.4049151919385803","host":"s3://npm-registry-packages-npm-production"}},"2.5.1-beta.1":{"name":"openapi-mcp-generator","version":"2.5.1-beta.1","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@2.5.1-beta.1","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"dist/index.js"},"dist":{"shasum":"10fb17ad32f01a062298d4f7966cf12177031512","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-2.5.1-beta.1.tgz","fileCount":50,"integrity":"sha512-ebzTna2aiy52+DvEwupvIvrSQMvgZvLn9WhHcKCstAgh8zmd/hTlnbHO7mXdHFBjklcxC5dtl0I2ToHBVfJiPQ==","signatures":[{"sig":"MEUCIHp6xVvbZFM6fP26DxAgJ98qdMjZanAc+yxd40bfpFt9AiEA+6Bswc2t9Eky8iftL1WQi598pq5xsK3N7Ga3k104qwQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142067},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"6bea0f104e369436bb1af3ec1a1aaec400cfc434","scripts":{"build":"tsc && chmod 755 dist/index.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.7.0","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"18.20.4","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.24.0","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.14.1","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"zod":"^3.24.2","json-schema-to-zod":"^2.4.1","@modelcontextprotocol/sdk":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_2.5.1-beta.1_1744568642895_0.24066534280309226","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"openapi-mcp-generator","version":"3.0.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.0.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"dist/index.js"},"dist":{"shasum":"c71953d193fcc117f8a6fb96232591dcad1dc0a1","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.0.0.tgz","fileCount":53,"integrity":"sha512-rIwmMwb/HmYYP9QfXmCrS+lu+QAzD9UPM0y9QziMq0NcXbhSmAGNBbcmz90yOPmdK798FR5XRQ35ayXirY1Piw==","signatures":[{"sig":"MEYCIQDjeng1s0yzIVT9guThH18K+vqvV2778Qsf4OI4E6R4jAIhAI30YZFKtKlpe+jkBJ4JAafQxQBzub/JUqJ9Hhli76db","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175489},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"a4d5e589e62c0b13d6758f62bf4dd47e93bc79ff","scripts":{"build":"tsc && chmod 755 dist/index.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.7.0","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"18.20.4","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.2","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.0.0_1745687113921_0.47554221445416833","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"openapi-mcp-generator","version":"3.1.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.1.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"dist/index.js"},"dist":{"shasum":"e01a3218576feb59c80acf26bcefdcd397eccb2d","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.1.0.tgz","fileCount":56,"integrity":"sha512-dlDNWcQFE8tGlmVcPw1rPEo8mZ1aciqer6jzqn6/lbC6MlfKxvdigd+/NYgmG4Yck746gsremhaiNLlMkTY7PA==","signatures":[{"sig":"MEQCIFlPP5gDBMkVPbwTFktTzWgbb2oqrKVDL37oS1cLZSlpAiBw2DHXm7MDFzGxHTDefm50+QxJO/0VMuDYmWDVifZY2Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":181673},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"83c4e3bba62d45d79558340a05820d407c8343f7","scripts":{"build":"tsc && chmod 755 dist/index.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.17.0","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.2","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.1.0_1747576778053_0.378896697367024","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"openapi-mcp-generator","version":"3.1.1","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.1.1","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"0e84f38d96fc29b0ffd53ab9485ce9773b0f2b36","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.1.1.tgz","fileCount":57,"integrity":"sha512-Gk9yrpNo49a3FY/g9UmgysLvAkbgRImXuXtG9AP+YwF5vW3K1eILXMZjGQgFKDZUm7sPAmqNEfja4dkk/J/2Qw==","signatures":[{"sig":"MEYCIQCsgAQMPfjo8gvHL3Is5DlgVvHbW8mPr4ZOMh9v7Pc5+QIhAKcSHCyueB10Ya2pd0bOPYAdWKUulgEmtnsHvz0CYWVF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":181620},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"6141d2e8ae03ee7d46e6a624542b862f51c94f70","scripts":{"build":"tsc && chmod 755 dist/index.js && chmod 755 bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.7.0","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"18.20.4","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.2","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.1.1_1748231493595_0.8808129907077287","host":"s3://npm-registry-packages-npm-production"}},"3.1.2":{"name":"openapi-mcp-generator","version":"3.1.2","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.1.2","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"0e0cd3fe568d49cb5089a308d8c2e65dd3ab8bb5","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.1.2.tgz","fileCount":58,"integrity":"sha512-VFKrOrofQPENRMidIkbfLiN2f0pBo7A1QdYtz0NmIPJUWaaGUGUcNjLJZlRO9qJV1V8hXXRrV+y2AULvkVAmCA==","signatures":[{"sig":"MEUCIQCxMqHourXMTGJ8sdD5u+U+j3HucFxhlQZl+r1PRZOjaQIgBC85SHWahKmEzFTqZVH6rXhXGR614jkMy4TelJvbQYE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183841},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"78c3d91ec2692e84d553d3c3219750ed0b887c78","scripts":{"build":"tsc && chmod 755 dist/index.js && chmod 755 bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.2","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.1.2_1749406797007_0.004003793230398012","host":"s3://npm-registry-packages-npm-production"}},"3.1.3":{"name":"openapi-mcp-generator","version":"3.1.3","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.1.3","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"672219cfd0c2fa9dd9a54ea96d0e8057e7a55c28","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.1.3.tgz","fileCount":58,"integrity":"sha512-VsLz4D///jTokYcSzWNemLghioqJ6Y/LCvRDWuZxJV0MIEsMSNOGy8l/qqIUrw3ZkyyyZBnZbgwBADeMjmo3CA==","signatures":[{"sig":"MEQCIF6bwbfmzkfLAv2Mt82D9wwDyXy5tEqIkU685a3XLf0EAiB22gusU26sYA8pRIXdFcnYIC2xiUQTknv3gUuQPV+Qag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183904},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"c98d652933dca72aeda1b890cef667bc479e86a3","scripts":{"build":"tsc && chmod 755 dist/index.js && chmod 755 bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.19.2","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.2","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.1.3_1749926963200_0.4339925837671319","host":"s3://npm-registry-packages-npm-production"}},"3.1.4":{"name":"openapi-mcp-generator","version":"3.1.4","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.1.4","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"7fc09a301fb3054cea1fa9883a7ffa2918aa547a","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.1.4.tgz","fileCount":58,"integrity":"sha512-i4tQjooPXY5zFJr56+mNBz33AnvgU6IpQaqDwW8Y8RQROq0bQD3jcpnQ1u6XTLDJZf7I1vXKaO2qE94yN1cUiQ==","signatures":[{"sig":"MEUCIQCAfJIL07E/N0GTKECSVIsth/zGMbvLCA6NRXyNgKBPbwIgEEB4TQO9aZ1hIR1duNqrl7sK/3w0zLYd5oeCmv9drX0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183749},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"e17ab1a3d06ca81199bb1b7358771c7040da7aa3","scripts":{"build":"tsc && chmod 755 dist/index.js && chmod 755 bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","actor":{"name":"harshasurisetty","type":"user","email":"harsha19990226@gmail.com"},"email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.19.2","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","rimraf":"^6.0.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.2","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.1.4_1750240876770_0.8522992050708715","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"openapi-mcp-generator","version":"3.2.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.2.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"ac9eeea20af63697399f575b71ee0f8b1aeea727","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.2.0.tgz","fileCount":58,"integrity":"sha512-IXa1zfN+Lpq0FSovvBMfI2X8FiJYr6a9zJwHKD4i9fNGaE9g1nV261xBmXletRYU5cHYmOZMEt0P/NosHNyuLw==","signatures":[{"sig":"MEUCICNDQ5T+gEv0tHHItxXUzTllLoMopNYbmy8MdwzhjCJXAiEAjIkxrFJQHo7ELxZxPaN6oL3izAWu2TyMe4tHWhXgdVQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193612},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"f29c2778607fc409c9cb2c89a536b493eeeb525c","scripts":{"build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.19.4","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.33.0","rimraf":"^6.0.1","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^22.17.2","@typescript-eslint/parser":"^8.39.1","@typescript-eslint/eslint-plugin":"^8.39.1"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.2.0_1756098253998_0.1861520459024788","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"openapi-mcp-generator","version":"3.3.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@3.3.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"e1b4577edbd36062e2499d97699eecc7ca16f360","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-3.3.0.tgz","fileCount":58,"integrity":"sha512-RXS0QjqtgmNiq9DA/euPA+LFVwg5dRkyhOEYxf4WFGOhgfyoeDKdUsTA8PKJYWTB0lkmUkl5/9dqK+Lhn94LjQ==","signatures":[{"sig":"MEYCIQCkD/yQDJ5nakjb+acxb+RiPHgRzOjGcmoqtF75JfsNgAIhALZyKazq8QdtOz7VdTy8A4lueDzVWM/AWld2gx6Sv+Gu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195784},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"d591b8415683b7004ff7ae26c3ff784a45a1bba8","scripts":{"build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.20.0","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.33.0","rimraf":"^6.0.1","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^22.17.2","@typescript-eslint/parser":"^8.39.1","@typescript-eslint/eslint-plugin":"^8.39.1"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_3.3.0_1772582965970_0.9118263988819018","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"openapi-mcp-generator","version":"4.0.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@4.0.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"eeaf57a7bd26d8838a7055835b0daf4d2a21eb79","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-4.0.0.tgz","fileCount":61,"integrity":"sha512-bq4/vTmQVG2u3GdZyZqfn8Y2GewwgGYv8Hi+HIvGRF8vchhy/+GnPuSBxmMQt2IuagMIoT2l8PFLIAju2U5Djw==","signatures":[{"sig":"MEUCICtPyJxMiGWFyY2y44R2iTGduzRkVN/7iVJwhKdW6RUkAiEAmvn0aiWxh9K6oKNRzkddGpgHo5Uhh3HhJwYw5hZg/90=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":246442},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"ee1d7bedefd7610a3ada67943a2e2cd5536fc756","scripts":{"test":"vitest run","build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","test:watch":"vitest","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.33.0","rimraf":"^6.0.1","vitest":"^2.1.9","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^22.17.2","@typescript-eslint/parser":"^8.39.1","@typescript-eslint/eslint-plugin":"^8.39.1"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_4.0.0_1781477226715_0.16072224393464118","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"name":"openapi-mcp-generator","version":"4.0.1","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@4.0.1","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"36b192ac0708a60a61ac8e48d3ab23675c9ecd13","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-4.0.1.tgz","fileCount":61,"integrity":"sha512-1rnHNFgc/nK2Dd/yJP7byTS2LJK966quKt314gfUYp7LXwEDszb+uQENbedlSKhJlo61/TvNNfGNCtbJtTAbzQ==","signatures":[{"sig":"MEYCIQCKLRVcrh+oPCC8PL1mGHgGsFgXDlTGn6BWakoc7grBKgIhAJQgdHKtYNhO3qOlZl3sf+6OLrzDZ8sRJcvmEiPR6YNG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":248818},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"8f6714ffcdeefbcddea25d8143dc610e4cbbc5f3","scripts":{"test":"vitest run","build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","test:watch":"vitest","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.33.0","rimraf":"^6.0.1","vitest":"^2.1.9","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^22.17.2","@typescript-eslint/parser":"^8.39.1","@typescript-eslint/eslint-plugin":"^8.39.1"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_4.0.1_1781479535321_0.08640226010433327","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"openapi-mcp-generator","version":"4.1.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@4.1.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"30b4a3b8c1a5a4e839d0c26d83ff059e3a7e7c8f","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-4.1.0.tgz","fileCount":64,"integrity":"sha512-rDzZIKDo7GWgHHXogVLuBXmRQPtFxtk1eMPXEV637flkFbAFJTlnt96xsbSZrxLvUiAJjIHWyeYI9wpEXFM5WA==","signatures":[{"sig":"MEYCIQDRV+19An8DN85QWrg6ZCH3AjLrtZxUlMNIwFmiNs1uDwIhAI1P/N5aTSkxWKJ+30lFUNaBZ1iM8+uCcmhDFet+kCXb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHz7yRgwxAU66YmRxwLcIlDv7NU2te2aaPlRWRlVvQrIAiEA5tb2JzSpL8tpG8HyprrBxq0wDaJIGoGqfpY0kM1uAWc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":290958},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"8aafae3aaa6ac31af2faceeb19978e0288241b70","scripts":{"test":"vitest run","build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","test:watch":"vitest","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.33.0","rimraf":"^6.0.1","vitest":"^2.1.9","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^22.17.2","@typescript-eslint/parser":"^8.39.1","@typescript-eslint/eslint-plugin":"^8.39.1"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_4.1.0_1790277620534_0.12868429270951154","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"openapi-mcp-generator","version":"4.2.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@4.2.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"fafc96529eb19398b297c227dbe27a0e29189e52","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-4.2.0.tgz","fileCount":67,"integrity":"sha512-sp/HMCiWeCx8rGHE7fsxWAtPPngVOv8NA6k0U/b6fFHQEJ7KHJAjjyZon2OAi4YWfMpSJ47gUArEMLv2BerxWQ==","signatures":[{"sig":"MEYCIQDFgfUZnaBw14oHZ8Ju6LH/uO2cqNpQt626huqjySpHjwIhAJE0fvPCmlNt5X8MZdftwF3ZWCHziYGSOYOR06rviGLB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFbmDyumdqqEGZ0g9ECfCucbTGaaFl+kmtsMAf/PFAAVAiEAsjsLA/2W3xXuZW1gn2uHuPW3irfwVr9GhuT6DpKIb48=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":339082},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"d63a2955ddc830d3885be42033619694d2b8e53a","scripts":{"test":"vitest run","build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","test:watch":"vitest","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^13.1.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"hono":"^4.13.13","uuid":"^11.1.1","axios":"^1.20.0","dotenv":"^16.6.1","eslint":"^9.33.0","rimraf":"^6.0.1","vitest":"^2.1.9","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^22.17.2","@types/uuid":"^10.0.0","@hono/node-server":"^1.19.17","@cloudflare/workers-types":"^5.20261024.1","@modelcontextprotocol/sdk":"^1.32.2","@typescript-eslint/parser":"^8.39.1","@typescript-eslint/eslint-plugin":"^8.39.1"},"peerDependencies":{"zod":"^3.24.3","json-schema-to-zod":"^2.6.1","@modelcontextprotocol/sdk":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_4.2.0_1792815259392_0.2453890660630471","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"openapi-mcp-generator","version":"5.0.0","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"author":{"name":"Harsha"},"license":"MIT","_id":"openapi-mcp-generator@5.0.0","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"homepage":"https://github.com/harsha-iiiv/openapi-mcp-generator#readme","bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"dist":{"shasum":"3a589239cfceb56ffd5805f35df8abe4b5031213","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-5.0.0.tgz","fileCount":74,"integrity":"sha512-uKTHpkuhTgzJfd4/8A9dhztUfSbMSWVINfp/hTw6WcaH0Uv7BxsWO2uOlSbo1xvWXmVlOBS7+SD4gUeHFGBR1w==","signatures":[{"sig":"MEUCIQDm267sEoDCs86mpuggxE1/ly7P+Re/uwyMtsvnFG/XtwIgYUQcyaPqIsq1KYzxJOaBG90XORX73eafvWl0S99jftM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDmrCtJx/dXMwb5VBK6EsMYRgi0FfS58EnYgIwRAuwCzQIhAI2rqlBAYvFrwuGce0xk717QZLX0/3BaoKALHbNd1m9K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":456186},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.19.0"},"gitHead":"32bafc64e5fa753b4ee1769a2651744369db27a0","scripts":{"test":"vitest run","build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","test:watch":"vitest","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^15.0.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^13.1.0"},"_hasShrinkwrap":false,"devDependencies":{"hono":"^4.13.13","axios":"^1.20.0","rimraf":"^6.0.1","vitest":"^2.1.9","prettier":"^3.6.2","typescript":"^6.0.3","@types/node":"^22.17.2","@hono/node-server":"^2.1.5","@cfworker/json-schema":"^4.1.1","@cloudflare/workers-types":"^5.20261024.1","@modelcontextprotocol/sdk":"^1.32.2","@modelcontextprotocol/client":"^2.4.0","@modelcontextprotocol/server":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-mcp-generator_5.0.0_1792827719580_0.011725799477777077","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"_id":"openapi-mcp-generator@5.0.1","bin":{"openapi-mcp-generator":"bin/openapi-mcp-generator.js"},"bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"dist":{"shasum":"8408496839f40bf2a59b24b5c90d2dc80699dd32","tarball":"https://registry.npmjs.org/openapi-mcp-generator/-/openapi-mcp-generator-5.0.1.tgz","fileCount":74,"integrity":"sha512-hGqHgunoQHajfCC5l/CjRXYMxh6O9Fjz2yD8DONdzL9WwCHyI33EsibgSyMBf8YrOOe10GfMDm0fj/LH8fMong==","signatures":[{"sig":"MEQCIBhSGf0WczvNiT4OzzTePuHR5d911Xj2DAWK7XcMxFf+AiAliMlt7pYTQNPhq/mDzHHxaRzSpZtBNZk/8dbarugvYg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAKt7g6tABFBDAMe2Sfpbbin+RVhBPFCkSMsEVLUsQ9TAiAooORgV6tGdrNeh7/08XNnUHYCCiLoQ2ggdHo9exxaiQ=="}],"unpackedSize":480602},"main":"dist/index.js","name":"openapi-mcp-generator","type":"module","types":"./dist/index.d.ts","author":{"name":"Harsha"},"engines":{"node":">=22.19.0"},"gitHead":"5ffef6bea6878d8b0eb4efee495d9ad7c1010a01","license":"MIT","scripts":{"test":"vitest run","build":"tsc && chmod 755 dist/index.js bin/openapi-mcp-generator.js","clean":"rimraf dist","start":"node dist/index.js","typecheck":"tsc --noEmit","test:watch":"vitest","format.check":"prettier --check .","format.write":"prettier --write .","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch"},"version":"5.0.1","_npmUser":{"name":"harshasurisetty","email":"harsha19990226@gmail.com"},"homepage":"https://mcp.pidata.tech","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"Generates MCP server code from OpenAPI specifications","directories":{},"maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"_nodeVersion":"20.20.2","dependencies":{"commander":"^15.0.0","openapi-types":"^12.1.3","@apidevtools/swagger-parser":"^13.1.0"},"_hasShrinkwrap":false,"devDependencies":{"hono":"^4.13.13","axios":"^1.20.0","rimraf":"^6.0.1","vitest":"^2.1.9","prettier":"^3.6.2","typescript":"^6.0.3","@types/node":"^22.17.2","@hono/node-server":"^2.1.5","@cfworker/json-schema":"^4.1.1","@cloudflare/workers-types":"^5.20261024.1","@modelcontextprotocol/sdk":"^1.32.2","@modelcontextprotocol/client":"^2.4.0","@modelcontextprotocol/server":"^2.4.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openapi-mcp-generator_5.0.1_1792878821638_0.7789318296077163"}}},"time":{"created":"2025-03-09T08:51:34.064Z","modified":"2026-10-24T21:53:41.894Z","1.0.0":"2025-03-09T08:51:34.327Z","1.0.1":"2025-03-09T10:51:24.708Z","1.0.2":"2025-03-09T10:53:09.861Z","1.0.3":"2025-03-09T10:58:48.048Z","1.0.4":"2025-03-16T11:57:44.380Z","2.0.0":"2025-04-12T11:54:57.841Z","2.5.0-beta.0":"2025-04-13T18:07:54.372Z","2.5.1-beta.1":"2025-04-13T18:24:03.095Z","3.0.0":"2025-04-26T17:05:14.148Z","3.1.0":"2025-05-18T13:59:38.250Z","3.1.1":"2025-05-26T03:51:33.785Z","3.1.2":"2025-06-08T18:19:57.200Z","3.1.3":"2025-06-14T18:49:23.431Z","3.1.4":"2025-06-18T10:01:16.937Z","3.2.0":"2025-08-25T05:04:14.302Z","3.3.0":"2026-03-04T00:09:26.147Z","4.0.0":"2026-06-14T22:47:06.858Z","4.0.1":"2026-06-14T23:25:35.456Z","4.1.0":"2026-09-24T19:20:20.618Z","4.2.0":"2026-10-24T04:14:19.513Z","5.0.0":"2026-10-24T07:41:59.690Z","5.0.1":"2026-10-24T21:53:41.738Z"},"bugs":{"url":"https://github.com/harsha-iiiv/openapi-mcp-generator/issues"},"author":{"name":"Harsha"},"license":"MIT","homepage":"https://mcp.pidata.tech","keywords":["openapi","mcp","model-context-protocol","generator","llm","ai","api"],"repository":{"url":"git+https://github.com/harsha-iiiv/openapi-mcp-generator.git","type":"git"},"description":"Generates MCP server code from OpenAPI specifications","maintainers":[{"name":"harshasurisetty","email":"harsha19990226@gmail.com"}],"readme":"# OpenAPI to MCP Generator (openapi-mcp-generator)\n\n[![npm version](https://img.shields.io/npm/v/openapi-mcp-generator.svg)](https://www.npmjs.com/package/openapi-mcp-generator)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![GitHub repository](https://img.shields.io/badge/GitHub-harsha--iiiv/openapi--mcp--generator-blue.svg)](https://github.com/harsha-iiiv/openapi-mcp-generator)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/harsha-iiiv/openapi-mcp-generator)\n\n**openapi-mcp-generator is a free, MIT-licensed CLI and library that turns an OpenAPI 3.x\nspecification into a ready-to-run [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)\nserver for stdio, SSE, Streamable HTTP or Cloudflare Workers.** You own the generated TypeScript\ncode, and tool inputs are validated against JSON Schema before any request reaches your API.\n\n**[Docs](https://mcp.pidata.tech/docs)** · **[Quickstart](https://mcp.pidata.tech/docs/quickstart)** ·\n**[Browser playground](https://mcp.pidata.tech/playground/)** ·\n[Changelog](https://mcp.pidata.tech/docs/changelog)\n\n```bash\nnpx openapi-mcp-generator --input ./openapi.json --output ./my-mcp\n```\n\n---\n\n## ✨ Features\n\n- 🔧 **OpenAPI 3.x Support**: Converts any OpenAPI 3.0 or 3.1 spec into an MCP-compatible server (convert Swagger 2.0 first).\n- 🔁 **Proxy Behavior**: Proxies calls to your original REST API while validating request structure and security.\n- 🔐 **Authentication Support**: API keys, Bearer tokens, Basic auth, and OAuth2 supported via environment variables; calls fail closed when required credentials are missing.\n- 🧪 **JSON Schema Validation**: Arguments are validated against each tool's JSON Schema 2020-12 input schema (no code generation, no `eval`).\n- 🏷️ **Annotations and Structured Output**: Tools carry titles and read-only/destructive/idempotent hints, and JSON object responses come back as `structuredContent` (optionally with a declared `outputSchema`).\n- ⚙️ **Typed Server**: Fully typed, maintainable TypeScript code output.\n- 🔌 **Multiple Transports**: Communicate over stdio, SSE via Hono, StreamableHTTP, or a deployable Cloudflare Worker.\n- 🧰 **Project Scaffold**: Generates a complete Node.js project with `tsconfig.json`, `package.json`, and entry point.\n- 🧪 **Built-in HTML Test Clients**: Test API interactions visually in your browser (for web-based transports).\n\n---\n\n## 🚀 Installation\n\n```bash\nnpm install -g openapi-mcp-generator\n```\n\n> You can also use `yarn global add openapi-mcp-generator` or `pnpm add -g openapi-mcp-generator`\n\n---\n\n## ⬆️ Upgrading to 5.0\n\n5.0 generates servers on the MCP TypeScript SDK v2 and supports MCP 2026-07-28 alongside 2025-era clients. Generated projects change, so upgrade deliberately:\n\n1. Commit your generated project, then regenerate with the same flags: `npx openapi-mcp-generator@5 -i ./openapi.json -o ./my-mcp --force`. `--force` overwrites generated files, including your edits.\n2. Use Node.js 22.19 or later to run the generator (generated projects need Node.js 22 or later), then run `npm install`. `@modelcontextprotocol/sdk` is replaced by `@modelcontextprotocol/server` (`^2.4.0`), and `zod`, `json-schema-to-zod`, `dotenv` and `uuid` by `@cfworker/json-schema`.\n3. Update customized code to import from `@modelcontextprotocol/server` (stdio helpers from `@modelcontextprotocol/server/stdio`).\n4. Streamable HTTP and Worker servers are stateless: no `mcp-session-id`, and `GET` and `DELETE` on `/mcp` return `405`. Tool calls over `POST` are unaffected.\n5. Missing upstream credentials now fail closed with an error naming the variables to set; `MCP_ALLOW_MISSING_CREDENTIALS=true` restores the old behavior.\n6. An unknown tool name is now a JSON-RPC `-32602` error. Integers stay integers, `readOnly` properties leave request inputs, and schema defaults are no longer injected.\n7. Swagger 2.0 specs are refused: convert them with `npx swagger2openapi swagger.json -o openapi.json`.\n8. Credential variables, Worker secret names, `--inbound-auth`, `--header-passthrough` and `MCP_ALLOWED_ORIGINS` are unchanged.\n\nNot ready yet? Stay on 4.x with `npx openapi-mcp-generator@4`. Full notes: [CHANGELOG.md](./CHANGELOG.md).\n\n---\n\n## 🛠 Usage\n\n```bash\n# Generate an MCP server (stdio)\nopenapi-mcp-generator --input path/to/openapi.json --output path/to/output/dir\n\n# Generate an MCP web server with SSE\nopenapi-mcp-generator --input path/to/openapi.json --output path/to/output/dir --transport=web --port=3000\n\n# Generate an MCP StreamableHTTP server\nopenapi-mcp-generator --input path/to/openapi.json --output path/to/output/dir --transport=streamable-http --port=3000\n\n# Generate a deployable Cloudflare Worker MCP server\nopenapi-mcp-generator --input path/to/openapi.json --output path/to/output/dir --transport=cloudflare-worker\n```\n\nThe [`examples/`](./examples) folder holds the Swagger Petstore generated with 5.0 for stdio\n(`petstore-mcp`), web (`pet-store-sse`) and StreamableHTTP (`pet-store-streamable-http`).\n\n### CLI Options\n\n| Option                   | Alias | Description                                                                                                                                    | Default                           |\n| ------------------------ | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- |\n| `--input`                | `-i`  | Path or URL to OpenAPI specification (YAML or JSON)                                                                                            | **Required**                      |\n| `--output`               | `-o`  | Directory to output the generated MCP project                                                                                                  | **Required**                      |\n| `--server-name`          | `-n`  | Name of the MCP server (`package.json:name`)                                                                                                   | OpenAPI title or `mcp-api-server` |\n| `--server-version`       | `-v`  | Version of the MCP server (`package.json:version`)                                                                                             | OpenAPI version or `1.0.0`        |\n| `--base-url`             | `-b`  | Base URL for API requests. Required if OpenAPI `servers` missing or ambiguous.                                                                 | Auto-detected if possible         |\n| `--transport`            | `-t`  | Transport mode: `\"stdio\"` (default), `\"web\"`, `\"streamable-http\"`, or `\"cloudflare-worker\"`                                                    | `\"stdio\"`                         |\n| `--port`                 | `-p`  | Port for web-based transports                                                                                                                  | `3000`                            |\n| `--default-include`      |       | Default behavior for x-mcp filtering. Accepts `true` or `false` (case-insensitive). `true` = include by default, `false` = exclude by default. | `true`                            |\n| `--allow-external-refs`  |       | Allow resolving external `http(s)` `$ref` references in the spec. Disabled by default to prevent SSRF during parsing.                          | `false`                           |\n| `--max-tool-name-length` |       | Maximum length for generated tool names (Claude Desktop caps at 64). Longer names are truncated with a hash suffix.                            | `64`                              |\n| `--header-passthrough`   |       | Comma-separated inbound header names to forward to the upstream API (web, streamable-http, cloudflare-worker). Enables per-user API keys.      | _(none)_                          |\n| `--inbound-auth`         |       | Inbound auth for HTTP transports: `none` or `bearer`. With `bearer`, clients must send `Authorization: Bearer <token>` (`MCP_AUTH_TOKEN`).     | `none`                            |\n| `--insecure`             | `-k`  | Allow insecure HTTPS connections (skip TLS certificate verification) in the generated server.                                                  | `false`                           |\n| `--generate-lib`         |       | Generate library-style output: export `main()` instead of auto-invoking it, omitting signal/cleanup wiring.                                    | `false`                           |\n| `--custom-auth`          |       | Generate an editable `src/auth.ts` hook (`applyCustomAuth`) called before built-in auth; return `true` to skip built-in auth.                  | `false`                           |\n| `--oauth-creds-in-body`  |       | Send OAuth2 client credentials in the token request body instead of the Basic `Authorization` header.                                          | `false`                           |\n| `--include-tags`         |       | Comma-separated tags: generate only operations with one of them (case-insensitive).                                                            | _(all)_                           |\n| `--exclude-tags`         |       | Comma-separated tags: skip operations with any of them. Exclusions win over inclusions.                                                        | _(none)_                          |\n| `--include-operations`   |       | Comma-separated operationIds or tool names to generate. Combined with `--include-tags` as a union.                                             | _(all)_                           |\n| `--exclude-operations`   |       | Comma-separated operationIds or tool names to skip. Exclusions win over inclusions.                                                            | _(none)_                          |\n| `--output-schema`        |       | Declare each tool's `outputSchema` from its 2xx JSON response schema (objects only) and reject responses that do not match it.                 | `false`                           |\n| `--force`                |       | Overwrite existing files in the output directory without confirmation                                                                          | `false`                           |\n\n> **Configuring the API base URL at runtime:** the generated server reads\n> `API_BASE_URL` from the environment (`.env`), overriding the value baked in\n> from the OpenAPI `servers` list. The port resolves from `--port`, then the\n> `PORT` env var, then `3000`.\n>\n> **Per-operation and per-path servers:** an operation's `servers[0]` wins over its path item's,\n> which wins over the root server, with server variables set to their defaults. An absolute\n> operation or path server is used even when `API_BASE_URL` is set; a relative one resolves\n> against the active base URL (`\"v2\"` appends a segment, `\"/v2\"` replaces the path).\n\n## 📦 Programmatic API\n\nThe package also exports the parser the CLI uses, so you can turn an OpenAPI document into MCP tool\ndefinitions inside your own Node.js code:\n\n```typescript\nimport { getToolsFromOpenApi } from 'openapi-mcp-generator';\n\n// From a local file or a URL\nconst tools = await getToolsFromOpenApi('./petstore.json', { dereference: true });\n\n// With options\nconst readOnlyPetTools = await getToolsFromOpenApi(\n  'https://petstore3.swagger.io/api/v3/openapi.json',\n  {\n    baseUrl: 'https://petstore3.swagger.io/api/v3',\n    dereference: true,\n    includeTags: ['pet'],\n    excludeOperations: ['deletePet'],\n    filterFn: (tool) => tool.annotations?.readOnlyHint === true,\n  }\n);\n\nfor (const tool of readOnlyPetTools) {\n  console.log(`${tool.name}: ${tool.method.toUpperCase()} ${tool.pathTemplate}`);\n}\n```\n\n### `getToolsFromOpenApi(spec, options?)`\n\n`spec` is a file path, an http(s) URL or an already parsed `OpenAPIV3.Document`. The function\nreturns `Promise<McpToolDefinition[]>`. Swagger 2.0 documents are rejected; convert them first\n(`npx swagger2openapi swagger.json -o openapi.json`).\n\n| Option                                    | Description                                                                                                                    | Default |\n| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ------- |\n| `baseUrl`                                 | Override the base URL from the spec's `servers`                                                                                |         |\n| `dereference`                             | Resolve `$ref`s before extracting tools. Without it, referenced schemas stay unresolved and a warning is logged for each one   | `false` |\n| `includeTags` / `excludeTags`             | Keep only, or drop, operations with these tags (case-insensitive)                                                              |         |\n| `includeOperations` / `excludeOperations` | Keep only, or drop, these operations (operationId or tool name). Same rules as the CLI flags: includes combine, exclusions win |         |\n| `excludeOperationIds`                     | Drop these operationIds (older option, applied after the filters above)                                                        |         |\n| `filterFn`                                | Custom predicate `(tool) => boolean`, applied last                                                                             |         |\n| `defaultInclude`                          | Whether operations without an `x-mcp` extension are included                                                                   | `true`  |\n| `allowExternalRefs`                       | Allow external http(s) `$ref`s. Off by default so parsing cannot be used for SSRF                                              | `false` |\n| `maxToolNameLength`                       | Maximum generated tool name length (Claude Desktop allows 64)                                                                  | `64`    |\n\nFilters apply after `x-mcp` filtering. To parse the document yourself, pass the result in:\n\n```typescript\nimport SwaggerParser from '@apidevtools/swagger-parser';\nimport type { OpenAPIV3 } from 'openapi-types';\nimport { getToolsFromOpenApi } from 'openapi-mcp-generator';\n\nconst api = (await SwaggerParser.dereference('./openapi.yaml')) as OpenAPIV3.Document;\nconst tools = await getToolsFromOpenApi(api);\n```\n\n### Tool definitions\n\n```typescript\ninterface McpToolDefinition {\n  name: string; // unique tool name\n  title?: string; // x-mcp-title, else the operation summary\n  description: string;\n  inputSchema: JSONSchema7 | boolean; // JSON Schema 2020-12 for the tool arguments\n  method: string; // get, post, ...\n  pathTemplate: string; // e.g. /pet/{petId}\n  parameters: OpenAPIV3.ParameterObject[];\n  executionParameters: { name: string; in: string }[];\n  requestBodyContentType?: string;\n  serverUrl?: string; // operation or path-item server, variables resolved\n  baseUrl?: string; // set by getToolsFromOpenApi: the baseUrl option or root server, else ''\n  securityRequirements: OpenAPIV3.SecurityRequirementObject[];\n  operationId: string;\n  tags?: string[];\n  deprecated?: boolean;\n  annotations?: McpToolAnnotations; // readOnlyHint, destructiveHint, idempotentHint, openWorldHint\n  outputSchema?: JSONSchema7; // lowest 2xx application/json response, when it is an object\n}\n```\n\n`inputSchema` keeps `integer` types, turns `example` into `examples` and leaves out `readOnly`\nproperties. Annotations come from the HTTP method (GET and HEAD are read-only, DELETE is\ndestructive, PUT and DELETE are idempotent) and can be overridden per operation with\n`x-mcp-annotations`. Each tool returned by `getToolsFromOpenApi` carries `baseUrl`: the `baseUrl`\noption, else the spec's root server, else an empty string. An operation or path-item server is in\n`serverUrl` and takes precedence when calling the API.\n\nMore filters:\n\n```typescript\nconst spec = './petstore.json';\n\n// Only GET operations\nawait getToolsFromOpenApi(spec, { dereference: true, filterFn: (tool) => tool.method === 'get' });\n\n// Only operations that require authentication\nawait getToolsFromOpenApi(spec, {\n  dereference: true,\n  filterFn: (tool) => tool.securityRequirements.length > 0,\n});\n\n// Read-only user endpoints, without two specific operations\nawait getToolsFromOpenApi(spec, {\n  dereference: true,\n  excludeOperationIds: ['deleteUser', 'updateUser'],\n  filterFn: (tool) =>\n    tool.pathTemplate.startsWith('/user') && tool.annotations?.readOnlyHint === true,\n});\n```\n\n---\n\n## 🧱 Project Structure\n\nThe generated project includes:\n\n```\n<output_directory>/\n├── .gitignore\n├── package.json\n├── tsconfig.json\n├── .env.example\n├── src/\n│   ├── index.ts\n│   └── [transport-specific-files]\n└── public/          # web and streamable-http: the browser playground\n    ├── index.html, playground.js, playground.css, mcp-client.js\n    └── playground.config.json\n```\n\nCore dependencies:\n\n- `@modelcontextprotocol/server` - MCP protocol implementation (SDK v2)\n- `@cfworker/json-schema` - JSON Schema 2020-12 validation of tool arguments (and outputs with `--output-schema`)\n- `axios` - HTTP client for API requests\n- Transport-specific deps (`hono`, `@hono/node-server`)\n\n`.env` is loaded with Node's built-in `process.loadEnvFile()`; no `dotenv` dependency.\n\n---\n\n## 📡 Transport Modes\n\nGenerated servers speak **MCP 2026-07-28** (stateless requests, `server/discover`) and keep\nserving **2025-era clients** that open with `initialize`, using the MCP TypeScript SDK v2. The\n`web` (SSE) transport stays on the 2025-era protocol because the specification deprecates\nHTTP+SSE; prefer `streamable-http` for new deployments.\n\n### Stdio (Default)\n\nCommunicates with MCP clients via standard input/output. Ideal for local development or integration with LLM tools.\n\n### Web Server with SSE\n\nLaunches a fully functional HTTP server with:\n\n- Server-Sent Events (SSE) for bidirectional messaging\n- REST endpoint for client → server communication\n- Browser playground at `/`\n- Multi-connection support\n- Built with lightweight Hono framework\n\n### StreamableHTTP\n\nImplements the MCP StreamableHTTP transport which offers:\n\n- Stateless JSON-RPC over HTTP: every request gets a fresh server, so it scales behind any load\n  balancer\n- Serves MCP 2026-07-28 and 2025-era clients (2025-era clients run without sessions; GET and\n  DELETE answer `405`)\n- Proper HTTP response status codes\n- Built-in error handling\n- Compatibility with MCP StreamableHTTPClientTransport\n- Browser playground at `/`\n- Built with lightweight Hono framework\n\n### Cloudflare Worker\n\nGenerates a complete, deployable [Cloudflare Workers](https://developers.cloudflare.com/workers/) project that serves the MCP server over **Streamable HTTP at `/mcp`** using `createMcpHandler` from `@modelcontextprotocol/server` (no extra framework dependency). Deploy it to your own Cloudflare account with one command:\n\n```bash\nopenapi-mcp-generator --input ./openapi.json --output ./my-mcp-worker --transport cloudflare-worker\ncd my-mcp-worker\nnpm install\nnpx wrangler secret put API_KEY   # set upstream API secrets (see .dev.vars.example)\nnpx wrangler deploy               # Wrangler logs into YOUR Cloudflare account and deploys\n```\n\nHighlights:\n\n- Stateless, runs on the free Workers tier (no Durable Objects or KV). A fresh MCP server is created per request.\n- Lean dependencies: just `@modelcontextprotocol/server` and `@cfworker/json-schema` — no extra agent framework.\n- Non-secret config (e.g. `API_BASE_URL`) lives in `wrangler.jsonc` under `vars`; secrets are set with `wrangler secret put` and read from the `env` binding — never committed.\n- Workers-native runtime: global `fetch` (no Node `https`), and arguments are validated against the JSON Schema with `@cfworker/json-schema` (no code generation, no `eval`).\n- Auth is scheme-aware: API key (header/query/cookie), HTTP basic/bearer, OpenID Connect tokens, and OAuth2 client-credentials are derived from `env` secrets, following OpenAPI security requirement semantics (see [Securing HTTP servers](#-securing-http-servers)).\n- `--inbound-auth bearer` protects `/mcp` with a token from `wrangler secret put MCP_AUTH_TOKEN`; `--header-passthrough` forwards per-user upstream keys from the client.\n- `--custom-auth`, `--port`, `--insecure`, `--generate-lib`, and `--oauth-creds-in-body` do not apply to this target and are ignored with a warning.\n\nLocal development: `cp .dev.vars.example .dev.vars`, uncomment and fill in the secrets you use, then `npm run dev` (serves `http://localhost:8787/mcp`). Connect with the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) or, from Claude Desktop, via [mcp-remote](https://www.npmjs.com/package/mcp-remote).\n\n### Transport Comparison\n\n| Feature            | stdio               | web (SSE)         | streamable-http    | cloudflare-worker       |\n| ------------------ | ------------------- | ----------------- | ------------------ | ----------------------- |\n| Protocol           | JSON-RPC over stdio | JSON-RPC over SSE | JSON-RPC over HTTP | Streamable HTTP at /mcp |\n| Connection         | Persistent          | Persistent        | Request/response   | Request/response        |\n| Bidirectional      | Yes                 | Yes               | Yes (stateless)    | Yes                     |\n| Multiple clients   | No                  | Yes               | Yes                | Yes                     |\n| Browser compatible | No                  | Yes               | Yes                | Yes                     |\n| Firewall friendly  | No                  | Yes               | Yes                | Yes                     |\n| Load balancing     | No                  | Limited           | Yes                | Yes (edge)              |\n| Status codes       | No                  | Limited           | Full HTTP codes    | Full HTTP codes         |\n| Headers            | No                  | Limited           | Full HTTP headers  | Full HTTP headers       |\n| Browser playground | No                  | Yes               | Yes                | Yes                     |\n| Hosting            | Local               | Self-hosted       | Self-hosted        | Cloudflare (serverless) |\n\n---\n\n## 🔐 Environment Variables for Authentication\n\nConfigure auth credentials in your environment:\n\n| Auth Type  | Variable Format                                                                                                                    |\n| ---------- | ---------------------------------------------------------------------------------------------------------------------------------- |\n| API Key    | `API_KEY_<SCHEME_NAME>`                                                                                                            |\n| Bearer     | `BEARER_TOKEN_<SCHEME_NAME>`                                                                                                       |\n| Basic Auth | `BASIC_USERNAME_<SCHEME_NAME>`, `BASIC_PASSWORD_<SCHEME_NAME>`                                                                     |\n| OAuth2     | `OAUTH_TOKEN_<SCHEME_NAME>`, or `OAUTH_CLIENT_ID_<SCHEME_NAME>`, `OAUTH_CLIENT_SECRET_<SCHEME_NAME>`, `OAUTH_SCOPES_<SCHEME_NAME>` |\n| OpenID     | `OPENID_TOKEN_<SCHEME_NAME>`                                                                                                       |\n\nFor OAuth2, `OAUTH_TOKEN_<SCHEME_NAME>` is a token you already have and works for every flow.\nOtherwise the server fetches a token: with the client ID and secret when the scheme has a client\ncredentials flow or, when it has only a password flow, with `OAUTH_USERNAME_<SCHEME_NAME>` and\n`OAUTH_PASSWORD_<SCHEME_NAME>` (plus the client ID, and the secret for a confidential client, when\nthe token endpoint needs them).\n\nWhen an operation lists several security requirements, the first one whose schemes are all\nconfigured is used. If none can be satisfied (a forwarded `--header-passthrough` header counts)\nand the operation does not allow anonymous access with an empty `{}` requirement, the tool\n**fails closed**: it does not call the API and returns an error naming what to set, for example\n`Missing credentials for 'getPet': set API_KEY_PETSTORE_AUTH.` Set\n`MCP_ALLOW_MISSING_CREDENTIALS=true` (a Worker var for Workers) to send such requests without\ncredentials instead. OAuth2 tokens are requested with the operation's scopes unless\n`OAUTH_SCOPES_<SCHEME_NAME>` overrides them. The Cloudflare Worker target reads the same\ncredentials from Wrangler secrets named `<SCHEME_NAME>_API_KEY`, `<SCHEME_NAME>_TOKEN`,\n`<SCHEME_NAME>_USERNAME`/`_PASSWORD` and `<SCHEME_NAME>_CLIENT_ID`/`_CLIENT_SECRET` (see the\ngenerated `.dev.vars.example`). For OAuth2, `<SCHEME_NAME>_TOKEN` holds a token you already have\nand works for every flow; the Worker fetches a token from the client ID and secret only when the\nscheme declares a client credentials flow.\n\n---\n\n## 🧩 Generated tools\n\n- **Input schemas** are JSON Schema 2020-12 mapped from your OpenAPI schemas: `integer`, `format`,\n  `pattern`, enums and `allOf`/`anyOf`/`oneOf` are kept, `nullable` becomes a `null` type, `example`\n  becomes `examples`, and `readOnly` properties are left out of request inputs.\n- **Validation:** arguments are checked against that schema before any request is sent. Problems come\n  back as a tool error the model can fix, for example\n  `Invalid arguments for tool 'getPet': /petId: Instance type \"string\" is invalid. Expected \"integer\".`\n  Arguments are passed through as given: schema defaults are not injected.\n- **Errors:** invalid arguments, missing credentials and upstream failures are tool errors\n  (`isError: true`); an unknown tool name is a JSON-RPC `-32602` protocol error, as the MCP\n  2026-07-28 specification requires.\n- **Titles and annotations:** the title is the operation's `x-mcp-title`, else its summary. Hints follow\n  the HTTP method: `GET`/`HEAD`/`OPTIONS` are read-only; `POST` is not destructive and not idempotent;\n  `PUT` and `DELETE` are destructive and idempotent; `PATCH` is destructive and not idempotent; all are\n  open-world. Override individual hints per operation:\n\n  ```yaml\n  paths:\n    /pets/{id}:\n      delete:\n        x-mcp-title: Remove a pet\n        x-mcp-annotations:\n          destructiveHint: false # a soft delete\n  ```\n\n- **Structured output:** a JSON response that is an object is also returned as `structuredContent`.\n  With `--output-schema`, each tool declares the schema of its lowest 2xx `application/json` response\n  as `outputSchema` (object schemas only, `writeOnly` properties removed) and every response is\n  validated against it; a response that does not match becomes a tool error that still shows the raw\n  body. Leave it off if your spec does not describe real responses accurately.\n- **Server instructions:** the spec's `info.description` (trimmed, up to 2000 characters) is sent to\n  clients as the server instructions.\n\n---\n\n## 🔒 Securing HTTP servers\n\nGenerated `web`, `streamable-http` and `cloudflare-worker` servers expose a network endpoint.\nIf they also hold upstream credentials, anyone who reaches the endpoint can spend them, so the\ngenerator warns when you generate such a server without protection.\n\n**Require a token** with `--inbound-auth bearer`:\n\n```bash\nopenapi-mcp-generator -i openapi.json -o my-mcp -t streamable-http --inbound-auth bearer\nopenssl rand -hex 32   # put the value in .env as MCP_AUTH_TOKEN (Workers: wrangler secret put MCP_AUTH_TOKEN)\n```\n\n- Every MCP request must send `Authorization: Bearer <token>`; others get `401` before any tool\n  runs. `/health` stays public.\n- Tokens are read at runtime, never written into generated files, and compared in constant time.\n  Rotate without downtime with `MCP_AUTH_TOKENS=new-token,old-token`.\n- With no token configured the server fails closed with `503`.\n- SSE sessions are bound to the token that opened them; replaying a session ID with another\n  token is answered `404`. Streamable HTTP is stateless and checks the token on every request.\n- Clients that accept custom headers (Claude Code, Cursor, VS Code, MCP Inspector, `mcp-remote`)\n  send the token directly. Claude.ai and ChatGPT connectors use OAuth or no auth; put those\n  behind an OAuth-capable gateway.\n\n**Let each user bring their own upstream key** with `--header-passthrough X-API-Key`: the listed\nheaders are forwarded per request, so the server stores no shared secret. A forwarded header\nsatisfies the security scheme whose credential travels in it, so the other schemes of an AND\nrequirement are still applied from server configuration. Passthrough cannot forward\n`Authorization` while `--inbound-auth bearer` is on, because that header carries the MCP token.\n\n**Browser origins.** Node HTTP servers reject browser requests whose `Origin` is not loopback\nor listed in `MCP_ALLOWED_ORIGINS` (comma-separated), which blocks DNS-rebinding attacks on\nservers running on your machine. MCP clients that send no `Origin` header are unaffected.\n\n`--inbound-auth` has no effect on `stdio`: a stdio server has no network endpoint, and only the\nprocess that launches it can talk to it.\n\nFound a vulnerability? See [SECURITY.md](./SECURITY.md).\n\n---\n\n## 🔎 Filtering Endpoints with OpenAPI Extensions\n\nYou can control which operations are exposed as MCP tools using a vendor extension flag `x-mcp`. This extension is supported at the root, path, and operation levels. By default, endpoints are included unless explicitly excluded.\n\n- Extension: `x-mcp: true | false`\n- Default: `true` (include by default)\n- Precedence: operation > path > root (first non-undefined wins)\n- CLI option: `--default-include false` to change default to exclude by default\n\nExamples:\n\n```yaml\n# Optional root-level default\nx-mcp: true\n\npaths:\n  /pets:\n    x-mcp: false # exclude all ops under /pets\n    get:\n      x-mcp: true # include this operation anyway\n\n  /users/{id}:\n    get:\n      # no x-mcp -> included by default\n```\n\nThis uses standard OpenAPI extensions (x-… fields). See the [OpenAPI Extensions guide](https://swagger.io/docs/specification/v3_0/openapi-extensions/) for details.\n\nNote: `x-mcp` must be a boolean or the strings `\"true\"`/`\"false\"` (case-insensitive). Other values are ignored in favor of higher-precedence or default behavior.\n\n### Filtering from the command line\n\nLarge APIs can be curated without editing the spec:\n\n```bash\nopenapi-mcp-generator -i openapi.json -o my-mcp \\\n  --include-tags pets,store --exclude-operations deletePet\n```\n\n- `--include-tags` / `--exclude-tags` match operation tags case-insensitively.\n- `--include-operations` / `--exclude-operations` match the operationId or the generated tool name.\n- Filters apply after `x-mcp` and `--default-include`, so they never bring back an excluded\n  operation. Include lists combine (an operation is kept if it matches any), and exclusions always win.\n- The programmatic API accepts the same filters: `includeTags`, `excludeTags`, `includeOperations`,\n  `excludeOperations`.\n\n---\n\n## ▶️ Running the Generated Server\n\n```bash\ncd path/to/output/dir\nnpm install\n\n# Run in stdio mode\nnpm start\n\n# Run in web server mode\nnpm run start:web\n\n# Run in StreamableHTTP mode\nnpm run start:http\n```\n\n### 🧪 Browser playground\n\nServers generated for `web`, `streamable-http` and `cloudflare-worker` serve a playground at `/`\n(`http://localhost:<port>/`, or `http://localhost:8787/` with `npm run dev` for a Worker). It lists\nthe tools, builds a form for each one from its input schema, runs it and shows every JSON-RPC\nmessage, with copy-as-curl and ready-made configs for Claude Code, Cursor and VS Code. If the server\nwas generated with `--inbound-auth bearer`, paste the value of `MCP_AUTH_TOKEN`; it stays in the\nbrowser tab.\n\n- The page is served from the server's own origin with a strict Content-Security-Policy, so local\n  testing needs no CORS or `MCP_ALLOWED_ORIGINS` changes. Server output is always rendered as text.\n- The same open-source page is hosted at [mcp.pidata.tech/playground](https://mcp.pidata.tech/playground)\n  for deployed servers. Generated Workers answer CORS so it (and other browser clients) can reach\n  them; for Node servers, add the page's origin to `MCP_ALLOWED_ORIGINS`.\n- Set `MCP_PLAYGROUND=off` (Node) or the `MCP_PLAYGROUND` var to `\"off\"` (Worker) to stop serving it,\n  for example in production.\n- stdio servers have no HTTP endpoint; test them with the\n  [MCP Inspector](https://github.com/modelcontextprotocol/inspector).\n\n---\n\n## ⚠️ Requirements\n\n- Node.js 22.19 or later to run the generator; generated projects require Node.js 22 or later (Node 20 reached end of life in April 2026)\n\n---\n\n## Star History\n\n<a href=\"https://star-history.dera.page/#harsha-iiiv/openapi-mcp-generator&Date\">\n <picture>\n   <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://star-history.dera.page/svg?repos=harsha-iiiv/openapi-mcp-generator&type=Date&theme=dark\" />\n   <source media=\"(prefers-color-scheme: light)\" srcset=\"https://star-history.dera.page/svg?repos=harsha-iiiv/openapi-mcp-generator&type=Date\" />\n   <img alt=\"Star History Chart\" src=\"https://star-history.dera.page/svg?repos=harsha-iiiv/openapi-mcp-generator&type=Date\" />\n </picture>\n</a>\n\n## 🤝 Contributing\n\nContributions are welcome!\n\n1. Fork the repo\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\n3. Run `npm run format.write` to format your code\n4. Commit your changes: `git commit -m \"Add amazing feature\"`\n5. Push and open a PR\n\n📌 Repository: [github.com/harsha-iiiv/openapi-mcp-generator](https://github.com/harsha-iiiv/openapi-mcp-generator)\n\n---\n\n## 📄 License\n\nMIT License — see [LICENSE](./LICENSE) for full details.\n","readmeFilename":"README.md"}