6 Commits

Author SHA1 Message Date
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