[DX-110047] Helm Chart for Dremio MCP Server Kubernetes Deployment#72
Merged
Merged
Conversation
alex-aidun-dremio
previously approved these changes
Oct 21, 2025
Contributor
alex-aidun-dremio
left a comment
There was a problem hiding this comment.
Left one comment to remove a Cloud reference since we are already hosting the MCP server in Cloud
alex-aidun-dremio
approved these changes
Oct 21, 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.
Overview
This PR implements a production-ready Helm chart for deploying the Dremio MCP Server on Kubernetes with support for OAuth authentication, streaming HTTP mode, and enterprise security features.
Jira Ticket: DX-110047
Parent Epic: DX-107224 - Roll MCP server out to DC
What This PR Does
This PR adds comprehensive Kubernetes deployment support for the Dremio MCP Server through a Helm chart that enables:
Key Features
How It Works
Architecture
The Helm chart deploys the MCP server with a file-based configuration approach:
ConfigMap - Stores
config.yamlwith:Secret (optional) - Stores PAT when provided:
/app/secrets/patDeployment - Runs MCP server with:
dremio-mcp-server run --cfg /app/config/config.yaml --enable-streaming-http --no-log-to-fileAuthentication Flow (OAuth - Recommended)
sequenceDiagram participant User participant ChatFrontend as Chat Frontend participant IdP as OAuth IdP participant Dremio as Dremio API participant MCP as MCP Server User->>ChatFrontend: 1. Initiate chat session ChatFrontend->>IdP: 2. Redirect to OAuth login IdP->>User: 3. Present login page User->>IdP: 4. Authenticate IdP->>ChatFrontend: 5. Return OAuth token ChatFrontend->>Dremio: 6. Exchange token (External Token Provider) Dremio->>ChatFrontend: 7. Return Dremio access token ChatFrontend->>MCP: 8. Send request with Dremio token MCP->>Dremio: 9. Execute operations with user context Dremio->>MCP: 10. Return results MCP->>ChatFrontend: 11. Return response ChatFrontend->>User: 12. Display resultsConfiguration Modes
The chart supports three authentication modes:
1. OAuth + External Token Provider (Production - Recommended)
AUTHENTICATION.mdfor complete implementation guide2. Personal Access Token (Development/Testing)
3. Existing Secret
patkeyFiles Added/Modified
Helm Chart Structure
Tests
tests/test_chart.py- Pytest-based Helm chart tests:Security Features
The Helm chart implements enterprise security best practices:
Pod Security
Configuration Reference
Key Values
dremio.uri""(required)dremio.pat""dremio.existingSecret""dremio.allowDmlfalsemcp.enableStreamingHttptruemcp.port8000tools.serverModeFOR_DATA_PATTERNSmetrics.enabledfalsemetrics.port9091autoscaling.enabledfalseingress.enabledfalseSee
helm/dremio-mcp/values.yamlfor complete reference.Monitoring and Observability
Prometheus Metrics
Exposes metrics at
/metricsendpoint for Prometheus scraping.Health Checks
GET /healthzevery 30sLogging
mcp.logging.enableJsonmcp.logging.level