-
Notifications
You must be signed in to change notification settings - Fork 12
Making the dockerfile and code ready for kagent. #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
simonprovost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much @papagala ! Here are some preliminary comments prior @rafiattrach more important review 🫡
Cheers!
rafiattrach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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!
|
Thanks for the comments! I was on holiday so it took me longer to reply |
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