Open
Conversation
There was a problem hiding this comment.
Pull request overview
Introduces a new mcp-container-manager MCP server package that exposes the create-a-container REST API as MCP tools (generated from the OpenAPI spec), alongside small OpenAPI and API-docs serving improvements to support that integration.
Changes:
- Added a new Python package (
mcp-container-manager) to run an MCP server backed by the existing OpenAPI spec. - Updated
create-a-containerto serve the OpenAPI spec directly as/api/openapi.jsonand/api/openapi.yamland reorganized Swagger UI setup. - Made small OpenAPI schema/description fixes and added end-user documentation for VS Code MCP setup.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| mie-opensource-landing/docs/users/mcp-server.mdx | Adds user-facing VS Code setup instructions for the MCP server. |
| mcp-container-manager/pyproject.toml | Defines the new Python package metadata, deps, and console script entrypoint. |
| mcp-container-manager/mcp_container_manager/server.py | Implements the MCP server bootstrap and OpenAPI spec URL wiring. |
| mcp-container-manager/README.md | Documents installation/usage and provides MCP client configuration examples. |
| mcp-container-manager/.python-version | Pins Python version for the new package. |
| mcp-container-manager/.gitignore | Ignores local Python build/venv artifacts for the new package. |
| create-a-container/server.js | Adds endpoints to serve OpenAPI as JSON/YAML and relocates Swagger UI setup. |
| create-a-container/openapi.yaml | Tweaks schema nullability and fixes a YAML description formatting issue. |
mcp-container-manager/pyproject.toml
Outdated
| readme = "README.md" | ||
| requires-python = ">=3.13" | ||
| dependencies = [ | ||
| "awslabs-openapi-mcp-server>=0.2.14", |
There was a problem hiding this comment.
The dependency name awslabs-openapi-mcp-server will install due to PyPI name normalization, but the canonical published name is awslabs.openapi-mcp-server. Using the canonical name reduces confusion when searching docs/releases and comparing lockfiles.
Suggested change
| "awslabs-openapi-mcp-server>=0.2.14", | |
| "awslabs.openapi-mcp-server>=0.2.14", |
31e6081 to
44b7b7d
Compare
44b7b7d to
7b4d7f2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new MCP (Model Context Protocol) server,
mcp-container-manager, which exposes thecreate-a-containerREST API as MCP tools for integration with AI assistants like VS Code Copilot or Claude. It also makes minor improvements to the OpenAPI spec and updates the API documentation endpoints. The most significant changes are summarized below.New MCP Server Integration:
mcp-container-managerPython package, which dynamically generates MCP tools from thecreate-a-containerOpenAPI spec and proxies requests to the REST API. This includes new files:README.md,.gitignore,.python-version,pyproject.toml, and the main server implementation inmcp_container_manager/server.py. [1]], [2]], [3]], [4]], [5]])API Documentation and OpenAPI Spec Updates:
create-a-container/server.jsby adding endpoints to serve the OpenAPI spec as both JSON and YAML, and reorganizing Swagger UI setup for clarity. [1]], [2]])templatefield nullable and fixed the description format for exposed ports. [1]], [2]])Documentation: