Directories
¶
| Path | Synopsis |
|---|---|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the MCP server resource.
|
Package v1alpha1 contains API Schema definitions for the MCP server resource. |
|
doctor-smoke
command
|
|
|
mcp-runtime
command
|
|
|
operator
command
|
|
|
rbac
Package rbacassets exposes the canonical operator rules to diagnostics, including when the CLI runs outside a source checkout.
|
Package rbacassets exposes the canonical operator rules to diagnostics, including when the CLI runs outside a source checkout. |
|
release/mcp-auth
Package mcpauthpin exposes the pinned default MCP Auth image.
|
Package mcpauthpin exposes the pinned default MCP Auth image. |
|
credential-form-demo
command
This upstream MCP server knows only two credential headers.
|
This upstream MCP server knows only two credential headers. |
|
oauth-example-go-2025-11-25
command
|
|
|
prod-audit/cmd/check
command
|
|
|
prod-audit/cmd/postdeploy
command
|
|
|
prod-audit/cmd/server
command
|
|
|
prod-audit/internal/fixture
Package fixture owns bounded, expiring synthetic test data.
|
Package fixture owns bounded, expiring synthetic test data. |
|
prod-audit/internal/server
Package server exposes a synthetic fixture through the official MCP SDK.
|
Package server exposes a synthetic fixture through the official MCP SDK. |
|
qa/approvalpolicy/csrgen
command
csrgen prints a base64-encoded PEM CSR shaped like the ones the MCP Runtime runtime API submits: ECDSA P-256, no subject, optional URI and DNS SANs.
|
csrgen prints a base64-encoded PEM CSR shaped like the ones the MCP Runtime runtime API submits: ECDSA P-256, no subject, optional URI and DNS SANs. |
|
qa/image-cache
command
Command e2e-image-cache ensures a local Docker image via content-hash GHCR reuse (pull on hit, build+optional push on miss).
|
Command e2e-image-cache ensures a local Docker image via content-hash GHCR reuse (pull on hit, build+optional push on miss). |
|
release/platformmanifest
command
Command platformmanifest prints the platform release component manifest (platform-manifest.json) for a release version, generated from the CLI's component catalog so `mcp-runtime update` and releases stay in sync.
|
Command platformmanifest prints the platform release component manifest (platform-manifest.json) for a release version, generated from the CLI's component catalog so `mcp-runtime update` and releases stay in sync. |
|
adapterservice
Package adapterservice provides the per-user adapter daemon and its protected local management protocol.
|
Package adapterservice provides the per-user adapter daemon and its protected local management protocol. |
|
agentadapter
Package agentadapter implements optional agent-side HTTP adapters that forward MCP traffic to governed MCP Runtime routes.
|
Package agentadapter implements optional agent-side HTTP adapters that forward MCP traffic to governed MCP Runtime routes. |
|
blueprint
Package blueprint is the .mcp server definition used by the authoring flow.
|
Package blueprint is the .mcp server definition used by the authoring flow. |
|
cli/access
Package access owns routing for the access top-level command.
|
Package access owns routing for the access top-level command. |
|
cli/adapter
Package adapter routes the adapter top-level command for the certificate- authenticated HTTP proxy.
|
Package adapter routes the adapter top-level command for the certificate- authenticated HTTP proxy. |
|
cli/admin
Package admin owns operator-only CLI commands that require direct Kubernetes access.
|
Package admin owns operator-only CLI commands that require direct Kubernetes access. |
|
cli/auth
Package auth owns routing for the auth top-level command.
|
Package auth owns routing for the auth top-level command. |
|
cli/authfile
Package authfile stores local platform login credentials for the mcp-runtime CLI (API base URL, token, optional registry host).
|
Package authfile stores local platform login credentials for the mcp-runtime CLI (API base URL, token, optional registry host). |
|
cli/bootstrap
Package bootstrap owns routing for the bootstrap top-level command.
|
Package bootstrap owns routing for the bootstrap top-level command. |
|
cli/clitrace
Package clitrace gives one CLI invocation one trace.
|
Package clitrace gives one CLI invocation one trace. |
|
cli/cluster
Package cluster owns routing for the cluster top-level command.
|
Package cluster owns routing for the cluster top-level command. |
|
cli/cluster/doctor
Package doctor implements cluster readiness diagnostics for the cluster CLI.
|
Package doctor implements cluster readiness diagnostics for the cluster CLI. |
|
cli/core
Package cli contains shared CLI infrastructure used by command packages.
|
Package cli contains shared CLI infrastructure used by command packages. |
|
cli/credential
Package credential owns metadata-only secret broker management.
|
Package credential owns metadata-only secret broker management. |
|
cli/kube
Package kube contains shared kubectl-oriented helpers for CLI commands.
|
Package kube contains shared kubectl-oriented helpers for CLI commands. |
|
cli/manifest
Package manifest provides structured YAML manifest mutation utilities.
|
Package manifest provides structured YAML manifest mutation utilities. |
|
cli/ops
Package ops owns routing for the ops top-level command.
|
Package ops owns routing for the ops top-level command. |
|
cli/registry
Package registry owns routing for the registry top-level command.
|
Package registry owns routing for the registry top-level command. |
|
cli/root
Package root provides the foldered CLI command routing layer for the mcp-runtime binary.
|
Package root provides the foldered CLI command routing layer for the mcp-runtime binary. |
|
cli/runtimeconfig
Package runtimeconfig centralizes per-user MCP Runtime configuration paths.
|
Package runtimeconfig centralizes per-user MCP Runtime configuration paths. |
|
cli/server
Package server owns routing for the server top-level command.
|
Package server owns routing for the server top-level command. |
|
cli/setup
Package setup owns routing for the setup top-level command.
|
Package setup owns routing for the setup top-level command. |
|
cli/setup/assetpath
Package assetpath resolves repository-relative asset paths from the current working directory by walking upward until go.mod, services/, and k8s/ match.
|
Package assetpath resolves repository-relative asset paths from the current working directory by walking upward until go.mod, services/, and k8s/ match. |
|
cli/setup/ingressmanifest
Package ingressmanifest builds YAML for the host-based platform UI Ingress.
|
Package ingressmanifest builds YAML for the host-based platform UI Ingress. |
|
cli/setup/plan
Package plan contains pure setup planning types and default resolution.
|
Package plan contains pure setup planning types and default resolution. |
|
cli/setup/platform
Package platform implements the setup workflow for MCP Runtime platform components.
|
Package platform implements the setup workflow for MCP Runtime platform components. |
|
cli/setup/platform/imagecache
Package imagecache provides content-hash based GHCR reuse for QA E2E and setup platform images.
|
Package imagecache provides content-hash based GHCR reuse for QA E2E and setup platform images. |
|
cli/status
Package status owns the quick platform API readiness check.
|
Package status owns the quick platform API readiness check. |
|
cli/update
Package update owns the `mcp-runtime update` command, which moves an installed MCP Runtime platform to a release through declared images, wiring, configuration and additive platform resources.
|
Package update owns the `mcp-runtime update` command, which moves an installed MCP Runtime platform to a release through declared images, wiring, configuration and additive platform resources. |
|
cli/user
Package user owns administrator platform-account lifecycle commands.
|
Package user owns administrator platform-account lifecycle commands. |
|
errx
Package errx provides structured, code-based errors for MCP runtime and CLI tooling.
|
Package errx provides structured, code-based errors for MCP runtime and CLI tooling. |
|
operator
Package operator provides the Kubernetes operator for MCPServer resources.
|
Package operator provides the Kubernetes operator for MCPServer resources. |
|
platformrelease
Package platformrelease defines the MCP Runtime platform component catalog, the per-release component manifest format, and version/image helpers shared by `mcp-runtime setup` (version stamping) and `mcp-runtime update`.
|
Package platformrelease defines the MCP Runtime platform component catalog, the per-release component manifest format, and version/image helpers shared by `mcp-runtime setup` (version stamping) and `mcp-runtime update`. |
|
Package platformassets exposes selected canonical platform manifests to CLI diagnostics without requiring a source checkout.
|
Package platformassets exposes selected canonical platform manifests to CLI diagnostics without requiring a source checkout. |
|
access
Package access is the Kubernetes-free model of MCP access governance.
|
Package access is the Kubernetes-free model of MCP access governance. |
|
access/specvalidation
Package specvalidation owns the shared structural grant/session contract.
|
Package specvalidation owns the shared structural grant/session contract. |
|
apikit
Package apikit is the shared API layer for the platform's JSON services.
|
Package apikit is the shared API layer for the platform's JSON services. |
|
authgateway
Package authgateway owns the deployment contract for the optional bundled credential gateway.
|
Package authgateway owns the deployment contract for the optional bundled credential gateway. |
|
authzmatrix
Package authzmatrix loads the authn/authz expectation matrix kept in docs/security/authz-matrix.json and applies a role's credentials to a test request.
|
Package authzmatrix loads the authn/authz expectation matrix kept in docs/security/authz-matrix.json and applies a role's credentials to a test request. |
|
clickhouse
Package clickhouse is the analytics store client: connection setup, the event model and the dashboard queries.
|
Package clickhouse is the analytics store client: connection setup, the event model and the dashboard queries. |
|
controlplane
Package controlplane lists, applies and reports on MCPServer resources and their Deployments.
|
Package controlplane lists, applies and reports on MCPServer resources and their Deployments. |
|
credentialbroker
Package credentialbroker defines metadata-only credential management and the private gateway resolution contract.
|
Package credentialbroker defines metadata-only credential management and the private gateway resolution contract. |
|
envcfg
Package envcfg reads process environment values with explicit fallbacks.
|
Package envcfg reads process environment values with explicit fallbacks. |
|
events
Package events defines the platform event envelope shared by the MCP gateway, ingest and the processor.
|
Package events defines the platform event envelope shared by the MCP gateway, ingest and the processor. |
|
httpx
Package httpx provides standard-library HTTP response and path primitives.
|
Package httpx provides standard-library HTTP response and path primitives. |
|
identity
Package identity is the shared identity vocabulary of the platform.
|
Package identity is the shared identity vocabulary of the platform. |
|
k8sclient
Package k8sclient is the shared Kubernetes client wrapper.
|
Package k8sclient is the shared Kubernetes client wrapper. |
|
kubeworkload
Package kubeworkload defines how managed MCP workloads are secured.
|
Package kubeworkload defines how managed MCP workloads are secured. |
|
oidcdiscovery
Package oidcdiscovery reads issuer metadata and validates discovery redirects and signing-key locations.
|
Package oidcdiscovery reads issuer metadata and validates discovery redirects and signing-key locations. |
|
openapi
Package openapi loads OpenAPI documents, serves a spec as YAML, and validates a recorded response against it.
|
Package openapi loads OpenAPI documents, serves a spec as YAML, and validates a recorded response against it. |
|
passport
Package passport is the platform's bearer-authentication contract: who a caller is, how that is proven, and how it is carried between services.
|
Package passport is the platform's bearer-authentication contract: who a caller is, how that is proven, and how it is carried between services. |
|
passport/passporttest
Package passporttest gives tests across the repository ES256 keys and tokens without each one re-deriving how platform tokens are signed.
|
Package passporttest gives tests across the repository ES256 keys and tokens without each one re-deriving how platform tokens are signed. |
|
policy
Package policy is the gateway authorization model: policy documents, compilation and per-request decisions.
|
Package policy is the gateway authorization model: policy documents, compilation and per-request decisions. |
|
registryauth
Package registryauth signs short-lived Distribution registry access tokens.
|
Package registryauth signs short-lived Distribution registry access tokens. |
|
registrypush
Package registrypush pushes a local Docker archive into the in-cluster registry without exposing it publicly.
|
Package registrypush pushes a local Docker archive into the in-cluster registry without exposing it publicly. |
|
registrystaging
Package registrystaging implements durable, atomic staging for OCI/Docker archive uploads prior to queued registry publication.
|
Package registrystaging implements durable, atomic staging for OCI/Docker archive uploads prior to queued registry publication. |
|
resourcehistory
Package resourcehistory exposes bounded, authenticated infrastructure samples for the platform's admin-only Prometheus sizing reports.
|
Package resourcehistory exposes bounded, authenticated infrastructure samples for the platform's admin-only Prometheus sizing reports. |
|
sessionstate
Package sessionstate defines the versioned platform-owned session sync contract.
|
Package sessionstate defines the versioned platform-owned session sync contract. |
|
spiffecert
Package spiffecert reads SPIFFE identities out of X.509 certificates using go-spiffe's x509svid rules: a certificate carries exactly one URI SAN and it must be a valid SPIFFE ID.
|
Package spiffecert reads SPIFFE identities out of X.509 certificates using go-spiffe's x509svid rules: a certificate carries exactly one URI SAN and it must be a valid SPIFFE ID. |
|
svcboot
Package svcboot starts every service the same way: server, request IDs, metrics and tracing.
|
Package svcboot starts every service the same way: server, request IDs, metrics and tracing. |
|
telemetry
Package telemetry owns service tracing, correlated logging, HTTP request metrics and response correlation.
|
Package telemetry owns service tracing, correlated logging, HTTP request metrics and response correlation. |
|
telemetry/kafkatrace
Package kafkatrace carries existing trace context through Kafka headers.
|
Package kafkatrace carries existing trace context through Kafka headers. |
|
telemetry/sqltrace
Package sqltrace opens database/sql handles whose queries join the active trace.
|
Package sqltrace opens database/sql handles whose queries join the active trace. |
|
topology
Package topology is the layout of the platform: what runs where, how it is addressed and which catalogs exist.
|
Package topology is the layout of the platform: what runs where, how it is addressed and which catalogs exist. |
|
transport/httptrace
Package httptrace instruments existing HTTP clients and RoundTrippers without changing their timeouts, redirects, request bodies or connection pools.
|
Package httptrace instruments existing HTTP clients and RoundTrippers without changing their timeouts, redirects, request bodies or connection pools. |
|
transport/tlsconfig
Package tlsconfig loads configured transport trust and certificate material, preserving renewal callbacks and explicit TLS validation failures.
|
Package tlsconfig loads configured transport trust and certificate material, preserving renewal callbacks and explicit TLS validation failures. |
|
analytics-api
command
|
|
|
ingest
command
|
|
|
mcp-gateway
command
Package main implements the MCP gateway service.
|
Package main implements the MCP gateway service. |
|
mcp-gateway/credential
Package credential is the shared credential gateway.
|
Package credential is the shared credential gateway. |
|
platform-api
command
|
|
|
platform-api/internal/accessintent
Package accessintent owns PostgreSQL persistence and transactional River outbox scheduling for durable access-control intents (grants, adapter enrollments, and post-deactivation agent cleanup).
|
Package accessintent owns PostgreSQL persistence and transactional River outbox scheduling for durable access-control intents (grants, adapter enrollments, and post-deactivation agent cleanup). |
|
platform-api/internal/credentialapi
Package credentialapi owns metadata management and private, workload-bound secret delivery.
|
Package credentialapi owns metadata management and private, workload-bound secret delivery. |
|
platform-api/internal/sessionapi
Package sessionapi owns runtime-to-platform session management and the separate, server-scoped gateway read audience.
|
Package sessionapi owns runtime-to-platform session management and the separate, server-scoped gateway read audience. |
|
platform-api/internal/teamintent
Package teamintent records team namespace intent in the platform transaction.
|
Package teamintent records team namespace intent in the platform transaction. |
|
platform-api/internal/workloadintent
Package workloadintent persists durable desired intent, fenced worker execution receipts, independent health observations, and transactional River outbox jobs for MCP servers, raw managed deployments, staged image publications, and imperative component restarts.
|
Package workloadintent persists durable desired intent, fenced worker execution receipts, independent health observations, and transactional River outbox jobs for MCP servers, raw managed deployments, staged image publications, and imperative component restarts. |
|
processor
command
|
|
|
runtime-api
command
|
|
|
runtime-api/internal/accessintentobserver
Package accessintentobserver runs an independent status observer for durable access-control grant intents.
|
Package accessintentobserver runs an independent status observer for durable access-control grant intents. |
|
runtime-api/internal/accessintentworker
Package accessintentworker runs River v0.51.0 workers in runtime-api that reconcile durable access-control intents (grants, adapter enrollments, and post-deactivation agent cleanup) against Kubernetes and Platform API.
|
Package accessintentworker runs River v0.51.0 workers in runtime-api that reconcile durable access-control intents (grants, adapter enrollments, and post-deactivation agent cleanup) against Kubernetes and Platform API. |
|
runtime-api/internal/platformapi
Package platformapi is runtime-api's network client for platform-api.
|
Package platformapi is runtime-api's network client for platform-api. |
|
runtime-api/internal/runtimeapi/k8sprovision
Package k8sprovision owns Kubernetes namespace defaults, namespace-local RBAC, ingress watches and workload isolation.
|
Package k8sprovision owns Kubernetes namespace defaults, namespace-local RBAC, ingress watches and workload isolation. |
|
runtime-api/internal/teamintentobserver
Package teamintentobserver runs the independent Kubernetes status observer for durable team namespace intents.
|
Package teamintentobserver runs the independent Kubernetes status observer for durable team namespace intents. |
|
runtime-api/internal/teamintentworker
Package teamintentworker runs the durable River worker that reconciles Platform API team namespace intents against Kubernetes with fencing and incarnation ownership checks.
|
Package teamintentworker runs the durable River worker that reconciles Platform API team namespace intents against Kubernetes with fencing and incarnation ownership checks. |
|
runtime-api/internal/workloadintentobserver
Package workloadintentobserver independently observes Kubernetes MCPServer CR conditions and raw Deployment readiness, reporting monotonic observer_epoch health transitions back to Platform API without mutating desired intent, execution receipts, or River jobs.
|
Package workloadintentobserver independently observes Kubernetes MCPServer CR conditions and raw Deployment readiness, reporting monotonic observer_epoch health transitions back to Platform API without mutating desired intent, execution receipts, or River jobs. |
|
runtime-api/internal/workloadintentworker
Package workloadintentworker runs River v0.51.0 workers in runtime-api for durable MCPServer apply/retirement, raw managed Deployment/Service sync, staged image publication, and fixed-token imperative component restarts.
|
Package workloadintentworker runs River v0.51.0 workers in runtime-api for durable MCPServer apply/retirement, raw managed Deployment/Service sync, staged image publication, and fixed-token imperative component restarts. |
|
ui
command
|
|
|
ui/internal/assets
Package assets serves bundled UI files.
|
Package assets serves bundled UI files. |
|
ui/internal/auth
Package auth owns the console's platform-authentication client contract.
|
Package auth owns the console's platform-authentication client contract. |
|
ui/internal/proxy
Package proxy owns the UI's fixed upstream routes, browser credential exchange, CSRF checks and response filtering.
|
Package proxy owns the UI's fixed upstream routes, browser credential exchange, CSRF checks and response filtering. |
|
ui/internal/session
Package session owns browser session data, expiry, revocation and encrypted shared persistence.
|
Package session owns browser session data, expiry, revocation and encrypted shared persistence. |
|
spiffe-identity
Package spiffe_identity is a Traefik local (Yaegi) middleware that turns a verified client certificate into a trusted identity header for the MCP gateway, and strips configured client-supplied headers before injection.
|
Package spiffe_identity is a Traefik local (Yaegi) middleware that turns a verified client certificate into a trusted identity header for the MCP gateway, and strips configured client-supplied headers before injection. |
Click to show internal directories.
Click to hide internal directories.