Making the dockerfile and code ready for kagent.#63
Merged
rafiattrach merged 7 commits intorafiattrach:mainfrom Dec 1, 2025
Merged
Making the dockerfile and code ready for kagent.#63rafiattrach merged 7 commits intorafiattrach:mainfrom
rafiattrach merged 7 commits intorafiattrach:mainfrom
Conversation
simonprovost
reviewed
Nov 9, 2025
Collaborator
simonprovost
left a comment
There was a problem hiding this comment.
Thanks very much @papagala ! Here are some preliminary comments prior @rafiattrach more important review 🫡
Cheers!
rafiattrach
reviewed
Nov 16, 2025
Owner
rafiattrach
left a comment
There was a problem hiding this comment.
I think this needs a rebase first, and the other big PR should get merged faster since it's nearly done. I can test and review this after that merges and after the rebase. Thanks for the addition and contribution!
Collaborator
Author
|
Thanks for the comments! I was on holiday so it took me longer to reply |
rafiattrach
approved these changes
Dec 1, 2025
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.
Add Kubernetes Deployment Support and Build Automation
Summary
This PR adds Kubernetes/Docker deployment capabilities to M3, enabling the MCP server to run in containerized environments with HTTP transport. It also includes build automation via Makefile and comprehensive documentation for AI agent integration.
Changes
🐳 Dockerfile Enhancements
MCP_TRANSPORT=http- enables HTTP mode instead of STDIOMCP_HOST=0.0.0.0- binds to all interfaces for container networkingMCP_PORT=3000- exposes MCP server on port 3000MCP_PATH=/sse- configures server-sent events endpoint🔧 MCP Server Transport Flexibility (src/m3/mcp_server.py)
MCP_TRANSPORTenvironment variablestreamable-httptransport for Kubernetes📦 Build Automation (New Makefile)
DOCKERvariabledownload-db- downloads MIMIC-IV demo database usinguvbuild/build-bigquery- builds lite and BigQuery Docker imagespush/push-bigquery- pushes images to registrytest-image- validates built imageclean- removes downloaded database filesIMAGE_TAG(default: 0.0.3)📚 Documentation (README.md)
Usage Examples
Build and Deploy