Skip to content

Conversation

JAORMX
Copy link
Collaborator

@JAORMX JAORMX commented Oct 17, 2025

Summary

Introduces the MCPRemoteProxy custom resource definition for proxying remote MCP servers in Kubernetes with authentication, authorization, audit logging, and tool filtering capabilities.

This CRD enables organizations to deploy centralized proxies for external SaaS MCP services (e.g., Salesforce MCP, GitHub MCP) with visibility, policy enforcement, and audit trails.

Changes

API Types:

  • New MCPRemoteProxy CRD with comprehensive schema
  • Remote URL configuration with HTTPS validation
  • Configurable transport (SSE or streamable-http)
  • Required OIDC authentication for incoming requests
  • Optional token exchange for remote service authentication
  • Authorization policy support (inline or ConfigMap)
  • Audit logging configuration
  • Tool filtering via MCPToolConfig references
  • OpenTelemetry telemetry integration

Generated artifacts:

  • Deepcopy methods for runtime
  • CRD manifests with OpenAPI v3 schema
  • RBAC permissions for operator
  • API documentation

Related

This is part of the MCPRemoteProxy feature split into multiple PRs for easier review.

Original implementation: #2226

Split PR sequence:

🤖 Generated with Claude Code

Copy link

codecov bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 20.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.44%. Comparing base (30fc0a1) to head (2bc2bfb).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
.../thv-operator/api/v1alpha1/mcpremoteproxy_types.go 20.00% 8 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@ ## main #2240 +/- ## ========================================== - Coverage 53.45% 53.44% -0.02%  ========================================== Files 229 230 +1 Lines 29375 29385 +10 ========================================== + Hits 15703 15705 +2  - Misses 12542 12550 +8  Partials 1130 1130 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@JAORMX JAORMX marked this pull request as draft October 17, 2025 09:26
Introduces the MCPRemoteProxy custom resource definition for proxying remote MCP servers in Kubernetes with authentication, authorization, audit logging, and tool filtering capabilities. This CRD enables organizations to deploy centralized proxies for external SaaS MCP services (e.g., Salesforce MCP, GitHub MCP) with visibility, policy enforcement, and audit trails. Key features: - Remote URL configuration with HTTPS validation - Configurable transport (SSE or streamable-http) - Required OIDC authentication for incoming requests - Optional token exchange for remote service authentication - Authorization policy support (inline or ConfigMap) - Audit logging configuration - Tool filtering and renaming via MCPToolConfig references - OpenTelemetry telemetry integration - Resource requirements and overrides Includes: - CRD type definition with kubebuilder markers - Generated deepcopy methods - Generated CRD manifest with OpenAPI v3 schema - Operator-crds chart version bump (0.0.35 -> 0.0.36) - API documentation Note: RBAC permissions will be added when the controller is implemented. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
@JAORMX JAORMX force-pushed the feature/add-mcpremoteproxy-crd branch from 4c76fd0 to 2bc2bfb Compare October 17, 2025 10:38
@JAORMX JAORMX marked this pull request as ready for review October 17, 2025 10:54
@JAORMX JAORMX merged commit fe957d9 into main Oct 17, 2025
38 checks passed
@JAORMX JAORMX deleted the feature/add-mcpremoteproxy-crd branch October 17, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants