14 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]
33220c1e82 Address coderabbitai review feedback: improve docs, error handling, and boolean normalization
Co-authored-by: harsha-iiiv <31560965+harsha-iiiv@users.noreply.github.com>
2025-08-25 04:59:26 +00:00
Fabricio Borgobello
b1e29c22de
feature/endpoint-filtering 2025-08-22 11:00:13 +02:00
Brian,Kun Liu
34a1f6df12 perf: keep code with the same style and format command 2025-06-19 11:28:24 +08:00
harsha-iiiv
5b88b5e58d feat: Add programmatic API documentation and implementation
- Introduced PROGRAMMATIC_API.md to document the usage of the OpenAPI to MCP Generator programmatically.
- Implemented the getToolsFromOpenApi function in src/api.ts for extracting MCP tool definitions from OpenAPI specifications.
- Updated README.md to reference the new programmatic API documentation.
- Exported the programmatic API and related types from src/index.ts for easier access.
2025-05-18 18:37:27 +05:30
Adnan Husain
8f1a6c8529
Update README.md
Fixed MCP documentation link
2025-05-07 12:05:25 +05:30
harsha-iiiv
a4d5e589e6 Fix and add streamable http 2025-04-26 22:31:52 +05:30
Harsha v
258074b2d6
Update README.md
Add star history
2025-04-20 13:06:55 +05:30
harsha-iiiv
bd68adee51 update README 2025-04-13 23:50:50 +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
ec766ed3d9
Update README.md 2025-03-09 20:18:44 +05:30
Harshavardhan Surisetty
108cf950a7 Update command example in README to use openapi-mcp-generator 2025-03-09 14:28:27 +05:30
Harshavardhan Surisetty
7023084ede Update README with npm installation and usage instructions 2025-03-09 14:25:27 +05:30
Harshavardhan Surisetty
335643b45b
init 2025-03-09 14:09:24 +05:30