19 Commits

Author SHA1 Message Date
iwyrkore
f2a580a0a8 Added passthroughAuth option, --passthrough-auth on the commandline.
If passthroughAuth is true, auth headers in MCP call tool requests are passed through to the API requests as specified by the OpenAPI spec. Scheme types http (bearer or basic), apiKey (header, query param, or cookie), and openIdConnect bearer tokens (passed through) as supported.
2025-08-26 15:56:40 -04:00
copilot-swe-agent[bot]
4bf66d9efd Upgrade package version to 3.2.0 and update CHANGELOG.md
Co-authored-by: harsha-iiiv <31560965+harsha-iiiv@users.noreply.github.com>
2025-08-24 23:14:41 +00:00
Dennis Thompson
b7bc67e444 fix: addresses harsha-iiiv/openapi-mcp-generator#35 2025-08-17 21:26:27 -07:00
Brian,Kun Liu
2cab8aeada style: format the code with the prettier config 2025-06-19 11:31:27 +08:00
Brian,Kun Liu
0ca1310c56 perf: remove the lowercase transfer to make toolName readable 2025-06-16 16:12:00 +08:00
Brian,Kun Liu
9c6fed9beb
Update the version serial No 2025-06-12 19:17:09 +08:00
Brian,Kun Liu
67e06c3c34
fix: cannot find the package after building and the problem during the building 2025-06-12 19:00:34 +08:00
harsha-iiiv
4c84306814 chore: Bump version to 3.1.2 and update changelog 2025-06-08 23:29:13 +05:30
harsha-iiiv
6141d2e8ae chore: Update version to 3.1.1 and modify CLI entry point
- Bumped package version to 3.1.1 in package.json to match the new release.
- Changed the CLI entry point to use the new bin/openapi-mcp-generator.js file.
- Updated build script to ensure the new CLI file has the correct permissions.
- Refactored index.ts to streamline argument parsing and error handling.
2025-05-26 08:43:41 +05:30
harsha-iiiv
83c4e3bba6 chore: Add versioning scripts to package.json for easier version management 2025-05-18 19:23:51 +05:30
harsha-iiiv
5052b00bbe chore: Update version to 3.1.0 and changelog 2025-05-18 18:47:33 +05:30
harsha-iiiv
a4d5e589e6 Fix and add streamable http 2025-04-26 22:31:52 +05:30
harsha-iiiv
f68f8c2c64 update package.json 2025-04-13 23:37:25 +05:30
harsha-iiiv
6f645e06f3 feat: Add parser and type definitions for OpenAPI to MCP generator
- Introduced a new parser module with exports from extract-tools.
- Created core type definitions for CLI options and MCP tool definitions.
- Removed outdated utility functions and replaced them with new code generation utilities.
- Implemented security handling utilities for API key, HTTP, and OAuth2 authentication.
- Added URL handling utilities for base URL determination and query parameter management.
- Updated TypeScript configuration for improved module resolution and output settings.
2025-04-13 23:32:24 +05:30
harsha-iiiv
3b4f716661 Refactor OpenAPI MCP Server Generator to TypeScript
- Removed the old JavaScript implementation of the MCP server generator.
- Introduced a new TypeScript implementation with improved command-line argument parsing using `commander`.
- Replaced the OpenAPI spec loading mechanism with `@apidevtools/swagger-parser` for better handling of references.
- Updated the server generation logic to create TypeScript files with appropriate typings and structure.
- Added utility functions for generating operation IDs and converting strings to TitleCase.
- Created a new `tsconfig.json` for TypeScript compilation settings.
- Removed deprecated files related to the old JavaScript implementation, including `openapi-loader.js`, `server-generator.js`, and `tool-generator.js`.
- Enhanced error handling and logging throughout the new implementation.
2025-04-12 17:21:28 +05:30
Harsha v
2c4f2e4f49 Update version to 1.0.4 2025-03-16 17:26:49 +05:30
Harsha v
08ec115277 Update package.json with repository information for npm 2025-03-16 17:01:23 +05:30
Harshavardhan Surisetty
412d8c7d20 Bump version to 1.0.1 for README update 2025-03-09 16:20:13 +05:30
Harshavardhan Surisetty
335643b45b
init 2025-03-09 14:09:24 +05:30