pkg/

directory
v1.98.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: Apache-2.0

Directories

Path Synopsis
Package admin provides REST API endpoints for administrative operations.
Package admin provides REST API endpoints for administrative operations.
Package audit provides audit logging for the platform.
Package audit provides audit logging for the platform.
postgres
Package postgres provides PostgreSQL storage for audit logs.
Package postgres provides PostgreSQL storage for audit logs.
Package auth provides authentication support for the platform.
Package auth provides authentication support for the platform.
Package authevents provides durable audit history for the OAuth lifecycle of every connection — connect, refresh, rotation, revocation, and admin deletion — keyed on (connection_kind, connection_name).
Package authevents provides durable audit history for the OAuth lifecycle of every connection — connect, refresh, rotation, revocation, and admin deletion — keyed on (connection_kind, connection_name).
Package browsersession provides browser-based OIDC authentication and cookie-managed sessions for the portal UI.
Package browsersession provides browser-based OIDC authentication and cookie-managed sessions for the portal UI.
Package configstore provides granular key/value storage for platform configuration entries.
Package configstore provides granular key/value storage for platform configuration entries.
postgres
Package postgres provides a PostgreSQL-backed granular config entry store.
Package postgres provides a PostgreSQL-backed granular config entry store.
Package connbackfill seeds connection_instances with a credential-free row for every file-configured connection, so knowledge-page references of the form mcp:connection:(kind,name) — which FK to connection_instances — resolve for connections defined only in platform.yaml.
Package connbackfill seeds connection_instances with a credential-free row for every file-configured connection, so knowledge-page references of the form mcp:connection:(kind,name) — which FK to connection_instances — resolve for connections defined only in platform.yaml.
Package connoauth provides a single shared implementation of the OAuth 2.1 authorization_code flow for outbound connections (MCP gateways, HTTP API gateways, future connection kinds).
Package connoauth provides a single shared implementation of the OAuth 2.1 authorization_code flow for outbound connections (MCP gateways, HTTP API gateways, future connection kinds).
Package connview builds the list_connections view: the configured connections across toolkits, each enriched with the canonical knowledge pages that reference it (#634).
Package connview builds the list_connections view: the configured connections across toolkits, each enriched with the canonical knowledge pages that reference it (#634).
database
migrate
Package migrate provides database migration support using golang-migrate.
Package migrate provides database migration support using golang-migrate.
Package embedding provides text embedding generation for memory vector search.
Package embedding provides text embedding generation for memory vector search.
Package gatewayhttp exposes the apigateway toolkit's invoke operation over plain REST so non-MCP HTTP clients (e.g.
Package gatewayhttp exposes the apigateway toolkit's invoke operation over plain REST so non-MCP HTTP clients (e.g.
Package health provides readiness state tracking and HTTP health check handlers.
Package health provides readiness state tracking and HTTP health check handlers.
Package indexjobs is the Postgres-backed, source-kind-agnostic embedding-index job queue the platform's semantic-search consumers share.
Package indexjobs is the Postgres-backed, source-kind-agnostic embedding-index job queue the platform's semantic-search consumers share.
Package knowledge is the unified read path for platform knowledge (#632).
Package knowledge is the unified read path for platform knowledge (#632).
federation
Package federation adapts the platform's live toolkit registry to the knowledge package's source interfaces, so the universal search router can federate API endpoints and connections without the knowledge engine depending on any concrete toolkit.
Package federation adapts the platform's live toolkit registry to the knowledge package's source interfaces, so the universal search router can federate API endpoints and connections without the knowledge engine depending on any concrete toolkit.
Package mcpapps provides MCP Apps support for interactive UI components.
Package mcpapps provides MCP Apps support for interactive UI components.
Package mcpcontext provides context helpers for MCP session state.
Package mcpcontext provides context helpers for MCP session state.
Package memory provides persistent memory storage for agent and analyst sessions.
Package memory provides persistent memory storage for agent and analyst sessions.
memoryindex
Package memoryindex is the memory consumer of the shared indexjobs framework (#507).
Package memoryindex is the memory consumer of the shared indexjobs framework (#507).
Package middleware provides the middleware chain for tool handlers.
Package middleware provides the middleware chain for tool handlers.
Package oauth provides OAuth 2.1 server capabilities.
Package oauth provides OAuth 2.1 server capabilities.
postgres
Package postgres provides PostgreSQL storage for OAuth 2.1 data.
Package postgres provides PostgreSQL storage for OAuth 2.1 data.
Package observability provides OpenTelemetry-based metrics for the mcp-data-platform server.
Package observability provides OpenTelemetry-based metrics for the mcp-data-platform server.
proxy
Package proxy implements an authenticated PromQL query proxy.
Package proxy implements an authenticated PromQL query proxy.
Package persona provides persona-based access control and customization.
Package persona provides persona-based access control and customization.
Package pkcestore holds in-flight PKCE state across the oauth-start → /oauth/callback round trip for the platform's outbound OAuth flows.
Package pkcestore holds in-flight PKCE state across the oauth-start → /oauth/callback round trip for the platform's outbound OAuth flows.
Package platform provides the main platform orchestration.
Package platform provides the main platform orchestration.
connsource
Package connsource maps connections to their DataHub URN components (platform name and catalog mapping), with forward and reverse lookups.
Package connsource maps connections to their DataHub URN components (platform name and catalog mapping), with forward and reverse lookups.
dedup
Package dedup holds the session-level metadata deduplication config, split out of pkg/platform to keep that package under its size budget (#594).
Package dedup holds the session-level metadata deduplication config, split out of pkg/platform to keep that package under its size budget (#594).
fieldcrypt
Package fieldcrypt provides AES-256-GCM encryption of sensitive fields within connection-config maps, plus the RestFieldEncryptor adapter used by sub-package stores (gateway OAuth tokens, PKCE state).
Package fieldcrypt provides AES-256-GCM encryption of sensitive fields within connection-config maps, plus the RestFieldEncryptor adapter used by sub-package stores (gateway OAuth tokens, PKCE state).
instructions
Package instructions owns the agent-facing instruction text the platform presents through platform_info: the platform-owned "how to operate" baseline (#646), the full instruction composition (baseline beneath the admin business context, persona tuning, and runtime notes), and the platform_info tool's own title and description.
Package instructions owns the agent-facing instruction text the platform presents through platform_info: the platform-owned "how to operate" baseline (#646), the full instruction composition (baseline beneath the admin business context, persona tuning, and runtime notes), and the platform_info tool's own title and description.
reflexivecapture
Package reflexivecapture wires reflexive knowledge activation (#635) into the platform: it observes Trino query errors and mints a "misconception + fix" correction memory when a later related query succeeds in the same session.
Package reflexivecapture wires reflexive knowledge activation (#635) into the platform: it observes Trino query errors and mints a "misconception + fix" correction memory when a later related query succeeds in the same session.
Package portal provides the asset portal data layer for persisting AI-generated artifacts (JSX dashboards, HTML reports, SVG charts).
Package portal provides the asset portal data layer for persisting AI-generated artifacts (JSX dashboards, HTML reports, SVG charts).
assetindex
Package assetindex is the saved-asset consumer of the shared indexjobs framework (#550).
Package assetindex is the saved-asset consumer of the shared indexjobs framework (#550).
collectionindex
Package collectionindex is the curated-collection consumer of the shared indexjobs framework (#550).
Package collectionindex is the curated-collection consumer of the shared indexjobs framework (#550).
datahubapi
Package datahubapi serves the portal's DataHub Catalog and Context Docs REST surface (#718): browse/search/read over DataHub connections plus catalog metadata edits and context-document CRUD, gated per-persona.
Package datahubapi serves the portal's DataHub Catalog and Context Docs REST surface (#718): browse/search/read over DataHub connections plus catalog metadata edits and context-document CRUD, gated per-persona.
knowledgepage
Package knowledgepage is the store and ranked-search backend for canonical business/domain knowledge pages (#633): org-shared markdown documents stored inline in Postgres so their content is vector- and full-text searchable.
Package knowledgepage is the store and ranked-search backend for canonical business/domain knowledge pages (#633): org-shared markdown documents stored inline in Postgres so their content is vector- and full-text searchable.
knowledgepageindex
Package knowledgepageindex is the knowledge-page consumer of the shared indexjobs framework (#633).
Package knowledgepageindex is the knowledge-page consumer of the shared indexjobs framework (#633).
s3adapter
Package s3adapter adapts an mcp-s3 client to the portal.S3Client interface used by the portal handler for blob storage.
Package s3adapter adapts an mcp-s3 client to the portal.S3Client interface used by the portal handler for blob storage.
threads
Package threads holds the portal feedback-thread data layer: the Thread types and constants, the ThreadStore interface, its PostgreSQL implementation, and the filter/query helpers.
Package threads holds the portal feedback-thread data layer: the Thread types and constants, the ThreadStore interface, its PostgreSQL implementation, and the filter/query helpers.
Package prompt provides prompt management for the MCP data platform.
Package prompt provides prompt management for the MCP data platform.
postgres
Package postgres provides PostgreSQL storage for prompts.
Package postgres provides PostgreSQL storage for prompts.
promptindex
Package promptindex is the prompt-library consumer of the shared indexjobs framework (#557, epic #525 phase 4).
Package promptindex is the prompt-library consumer of the shared indexjobs framework (#557, epic #525 phase 4).
Package query provides abstractions for query execution providers.
Package query provides abstractions for query execution providers.
trino
Package trino provides a Trino implementation of the query provider.
Package trino provides a Trino implementation of the query provider.
Package registry provides toolkit registration and management.
Package registry provides toolkit registration and management.
Package resource provides the data layer for human-uploaded reference material (samples, playbooks, templates, references).
Package resource provides the data layer for human-uploaded reference material (samples, playbooks, templates, references).
Package searchgate stores, per discovery scope, whether a discovery tool has been called — the signal the search-first gate (middleware.MCPWorkflowGateMiddleware) blocks query tools on.
Package searchgate stores, per discovery scope, whether a discovery tool has been called — the signal the search-first gate (middleware.MCPWorkflowGateMiddleware) blocks query tools on.
postgres
Package postgres provides a PostgreSQL-backed searchgate.Store so the search-first gate's discovery signal is shared across replicas.
Package postgres provides a PostgreSQL-backed searchgate.Store so the search-first gate's discovery signal is shared across replicas.
Package semantic provides semantic layer abstractions.
Package semantic provides semantic layer abstractions.
datahub
Package datahub provides a DataHub implementation of the semantic provider.
Package datahub provides a DataHub implementation of the semantic provider.
Package session provides session management for the MCP data platform.
Package session provides session management for the MCP data platform.
postgres
Package postgres provides PostgreSQL storage and pub/sub plumbing for the platform's session layer.
Package postgres provides PostgreSQL storage and pub/sub plumbing for the platform's session layer.
Package storage provides abstractions for storage providers.
Package storage provides abstractions for storage providers.
s3
Package s3 provides an S3 implementation of the storage provider.
Package s3 provides an S3 implementation of the storage provider.
Package toolkit provides shared types for toolkit implementations and the platform layer.
Package toolkit provides shared types for toolkit implementations and the platform layer.
toolkits
apigateway
Package apigateway provides an HTTP API gateway toolkit that proxies authenticated REST API calls through the platform's auth, persona, and audit pipeline.
Package apigateway provides an HTTP API gateway toolkit that proxies authenticated REST API calls through the platform's auth, persona, and audit pipeline.
apigateway/catalog
Package catalog models versioned, globally-owned OpenAPI spec bundles that api-gateway connections reference.
Package catalog models versioned, globally-owned OpenAPI spec bundles that api-gateway connections reference.
apigateway/catalogindex
Package catalogindex is the api-catalog adapter onto the generic indexjobs framework.
Package catalogindex is the api-catalog adapter onto the generic indexjobs framework.
datahub
Package datahub provides a DataHub toolkit adapter for the MCP data platform.
Package datahub provides a DataHub toolkit adapter for the MCP data platform.
gateway
Package gateway provides an MCP gateway toolkit that proxies tools from an upstream MCP server through the platform's auth, persona, and audit pipeline.
Package gateway provides an MCP gateway toolkit that proxies tools from an upstream MCP server through the platform's auth, persona, and audit pipeline.
gateway/enrichment
Package enrichment implements the cross-enrichment rule engine for the gateway toolkit.
Package enrichment implements the cross-enrichment rule engine for the gateway toolkit.
gateway/sources
Package sources provides concrete enrichment Source adapters for the platform's built-in toolkits (Trino, DataHub).
Package sources provides concrete enrichment Source adapters for the platform's built-in toolkits (Trino, DataHub).
knowledge
Package knowledge provides a knowledge capture toolkit for the MCP data platform.
Package knowledge provides a knowledge capture toolkit for the MCP data platform.
memory
Package memory provides the memory_manage and memory_capture MCP tools.
Package memory provides the memory_manage and memory_capture MCP tools.
portal
Package portal provides the MCP toolkit for saving and managing AI-generated artifacts (JSX dashboards, HTML reports, SVG charts).
Package portal provides the MCP toolkit for saving and managing AI-generated artifacts (JSX dashboards, HTML reports, SVG charts).
s3
Package s3 provides an S3 toolkit adapter for the MCP data platform.
Package s3 provides an S3 toolkit adapter for the MCP data platform.
search
Package search exposes the universal, topology-free discovery entry point (#645) as the search MCP tool.
Package search exposes the universal, topology-free discovery entry point (#645) as the search MCP tool.
tools/toolsindex
Package toolsindex is the tools-discovery consumer of the indexjobs framework (#440).
Package toolsindex is the tools-discovery consumer of the indexjobs framework (#440).
trino
Package trino provides a Trino toolkit adapter for the MCP data platform.
Package trino provides a Trino toolkit adapter for the MCP data platform.
Package tuning provides AI tuning capabilities for the platform.
Package tuning provides AI tuning capabilities for the platform.
Package urnbuild is the single home of the DataHub dataset URN grammar
Package urnbuild is the single home of the DataHub dataset URN grammar
Package user provides a directory of known people keyed by email (#614).
Package user provides a directory of known people keyed by email (#614).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL