feat(mcp): add MCP module#455
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (16)
📒 Files selected for processing (12)
WalkthroughThis PR introduces a new MCP (Model Context Protocol) module to the Kubebuilder operator. The implementation adds MCP custom resource types with full Kubernetes integration, extends the gateway to support public API routes, and implements reconciliation logic to deploy and manage the MCP service with appropriate configuration. ChangesMCP Module Integration
🎯 3 (Moderate) | ⏱️ ~25 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
MCPstack module backed byghcr.io/formancehq/stack-mcpformance-mcpservice with required env vars, probes, resources, OTEL wiring, and public stack URL/auth issuer config/mcp,/.well-known/oauth-protected-resource, and/_healthcheckValidation
make generatemake manifestsjust helm-updatejust generate-docsjust helm-validateKUBEBUILDER_ASSETS=$(pwd)/$(bin/setup-envtest use 1.32.0 --bin-dir bin -p path -i) go test ./..../bin/chainsaw lint test --file tests/e2e/chainsaw/25-mcp-module/chainsaw-test.yaml