An MCP (Model Context Protocol) server that exposes Minder's read operations via streaming HTTP transport.
- Read-only access to Minder resources through MCP tools
- Supports authentication via HTTP header or environment variable
- Streaming HTTP transport with heartbeat support
- Compliance Dashboard: Interactive UI served as an MCP resource for MCP Apps-enabled clients
go install github.com/stacklok/minder-mcp/cmd/minder-mcp@latestOr build from source:
task buildThe server is configured via environment variables:
| Variable | Description | Default |
|---|---|---|
MINDER_AUTH_TOKEN |
Static auth token (fallback) | - |
MINDER_SERVER_HOST |
Minder GRPC host (required) | `` |
MINDER_SERVER_PORT |
Minder GRPC port | 443 |
MINDER_INSECURE |
Allow insecure connections | false |
MCP_PORT |
MCP HTTP server port | 8080 |
MCP_ENDPOINT_PATH |
MCP endpoint path | /mcp |
LOG_LEVEL |
logging level | info |
The server supports two authentication methods (in priority order):
- Authorization Header: Pass a Bearer token in the HTTP
Authorizationheader - Environment Variable: Set
MINDER_AUTH_TOKENas a fallback
minder_list_projects- List projects (all accessible, or children of a specific project)
minder_list_repositories- List repositories registered with Minderminder_get_repository- Get a repository by ID or owner/name
minder_list_profiles- List all profilesminder_get_profile- Get a profile by ID or nameminder_get_profile_status- Get profile evaluation status by ID or name
minder_list_rule_types- List all rule typesminder_get_rule_type- Get a rule type by ID or name
minder_list_data_sources- List all data sourcesminder_get_data_source- Get a data source by ID or name
minder_list_providers- List all providersminder_get_provider- Get a provider by name
minder_list_artifacts- List artifactsminder_get_artifact- Get an artifact by ID or name
minder_list_evaluation_history- List evaluation history with optional filters
minder_show_dashboard- Display the interactive Compliance Dashboard
- URI:
ui://minder/compliance-dashboard - MIME Type:
text/html;profile=mcp-app
An interactive compliance dashboard that displays real-time compliance status across repositories with drill-down capabilities. The dashboard is designed for MCP Apps-enabled clients (VS Code, Claude, etc.) and provides:
- Summary cards showing total repositories, passing/failing counts, and compliance rate
- Profile list with expandable rule evaluation details
- Repository list with filtering
- Real-time data from Minder via MCP tools
# Using environment variable for auth
export MINDER_AUTH_TOKEN="your-token-here"
task run
# Or run the binary directly
./bin/minder-mcp# Run linter
task lint
# Run tests
task test
# Run tests with coverage
task test:coverage
# Format code
task fmt
# Build, lint, and test
task check
# Build UI only
task build:ui
# Lint UI (TypeScript)
task lint:ui
# Build container image (requires ko)
task build:container
# CI pipeline (lint + test coverage + build)
task ci
# Clean build artifacts
task clean
# Clean everything (including node_modules)
task clean:allApache 2.0