Skip to content

Conversation

@x-or-b
Copy link

@x-or-b x-or-b commented Dec 7, 2025

Purpose

  • This PR is
    • To add a new MCP server that wraps Microsoft Kiota to generate SDKs from OpenAPI specifications.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] New feature to existing sample
[x] New sample
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

README updated?

The top-level readme for this repo contains a link to each sample in the repo. If you're adding a new sample did you update the readme?

[ ] Yes
[x] No
[ ] N/A

Other Information

  • This sample requires Microsoft Kiota (included in the Dockerfile).

x-or-b and others added 30 commits October 9, 2025 17:24
….Shared and McpSamples.OpenApiToSdk.HybridApp
Initialize McpSamples.OpenApiToSdk.HybridApp project with configurations
- Introduced a new plan.md file outlining the features for OpenAPI-based SDK generation.
- Enhanced OpenApiService to validate URLs and improve logging during OpenAPI spec downloads.
- Updated OpenApiToSdkTool to handle additional options for SDK generation and improved directory management.
- Implemented temporary file handling and ZIP compression for generated SDKs.
OpenapiToSDK - Feat/78-local-config
Add SDK generation and validation prompts
…n in Program.cs; update OpenApiToSdkTool for improved functionality
x-or-b and others added 26 commits December 1, 2025 20:56
Update README.md to include Kiota as a prerequisite for the OpenAPI to SDK Generator
…ttings

- Updated mcp.json to streamline server configuration.
- Improved OpenApiToSdkAppSettings with additional runtime properties.
- Refined OpenApiToSdkResult to better handle SDK generation outcomes.
- Enhanced Program.cs for improved runtime environment detection and settings initialization.
- Updated SdkGenerationPrompt to clarify prompt generation for SDKs.
- Simplified IOpenApiService and OpenApiService interfaces for better clarity and functionality.
- Refactored OpenApiToSdkTool to streamline SDK generation process.
- Change server URL in mcp.json to point to the correct localhost port.
- Enhance Dockerfile to include Kiota tool installation and set up workspace directories.
- Modify mcp.stdio.container.json to use environment variables for volume mapping.
- Update README.md with new Docker run commands reflecting workspace changes.
- Add IHttpContextAccessor to OpenApiService for better HTTP context management.
- Improve error handling in SDK generation process for missing spec files.
- Adjust OpenApiToSdkTool description for additional command line options.
-> Successfully generate zip file using Docker.
…zure handling, and update SDK generation prompts
…ariables and improve error messaging for invalid options
…and consistency in OpenAPI to SDK generation
Refactor SDK generation success message formatting for consistency and clarity
작동을 위하여 wwwroot 폴더를 추가하였습니다.
불필요한 파일을 삭제하였습니다.
@x-or-b
Copy link
Author

x-or-b commented Dec 7, 2025

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant