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. |
|
branding
Package branding owns the resolved-once brand assets behind one Handle: the brand logo SVG, the brand URL, and the implementor logo SVG.
|
Package branding owns the resolved-once brand assets behind one Handle: the brand logo SVG, the brand URL, and the implementor logo SVG. |
|
browserauth
Package browserauth builds the browser-facing authentication stack for the portal and admin web UI: the OIDC login/callback flow and the cookie authenticator, held together behind one Session handle.
|
Package browserauth builds the browser-facing authentication stack for the portal and admin web UI: the OIDC login/callback flow and the cookie authenticator, held together behind one Session handle. |
|
cfgmap
Package cfgmap holds typed accessors for reading values out of the map[string]any config blobs the platform loads from YAML/JSON.
|
Package cfgmap holds typed accessors for reading values out of the map[string]any config blobs the platform loads from YAML/JSON. |
|
connauth
Package connauth assembles the connection-OAuth token lifecycle behind one Handle: the unified connection_oauth_tokens store (pkg/connoauth), the durable connection_auth_events store together with its nil-safe writer and daily 90-day prune routine (pkg/authevents), and the background token-refresh loop.
|
Package connauth assembles the connection-OAuth token lifecycle behind one Handle: the unified connection_oauth_tokens store (pkg/connoauth), the durable connection_auth_events store together with its nil-safe writer and daily 90-day prune routine (pkg/authevents), and the background token-refresh loop. |
|
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). |
|
exportadapters
Package exportadapters adapts the platform's portal stores to the export interfaces consumed by the trino and api-gateway toolkits.
|
Package exportadapters adapts the platform's portal stores to the export interfaces consumed by the trino and api-gateway toolkits. |
|
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). |
|
iam
Package iam builds the platform's authentication and authorization identity layer: the authenticator chain (NewIdentity) and the persona authorizer (NewAuthorizer).
|
Package iam builds the platform's authentication and authorization identity layer: the authenticator chain (NewIdentity) and the persona authorizer (NewAuthorizer). |
|
indexqueue
Package indexqueue assembles the shared background embedding queue (pkg/indexjobs) behind one Handle: the Postgres store, the Source/Sink registry, the worker/reaper/reconciler, the optional retention sweep and LISTEN/NOTIFY adapter, and every enabled consumer (api-catalog, tools, memory, prompts, portal assets/collections/knowledge-pages).
|
Package indexqueue assembles the shared background embedding queue (pkg/indexjobs) behind one Handle: the Postgres store, the Source/Sink registry, the worker/reaper/reconciler, the optional retention sweep and LISTEN/NOTIFY adapter, and every enabled consumer (api-catalog, tools, memory, prompts, portal assets/collections/knowledge-pages). |
|
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. |
|
knowledgelayer
Package knowledgelayer assembles the knowledge-capture layer behind one Handle: the insight store (the memory-backed adapter over memory_records when a memory store is present, else the legacy Postgres store), the changeset store and DataHub writer that back apply_knowledge, and the capture_insight / apply_knowledge toolkit itself.
|
Package knowledgelayer assembles the knowledge-capture layer behind one Handle: the insight store (the memory-backed adapter over memory_records when a memory store is present, else the legacy Postgres store), the changeset store and DataHub writer that back apply_knowledge, and the capture_insight / apply_knowledge toolkit itself. |
|
memorylayer
Package memorylayer assembles the memory layer behind one Handle: the Postgres-backed memory store, the embedding provider that powers vector search, the memory_manage / memory_capture toolkit (with its recall-first checker), the memory↔enrichment middleware adapter, and the background staleness watcher.
|
Package memorylayer assembles the memory layer behind one Handle: the Postgres-backed memory store, the embedding provider that powers vector search, the memory_manage / memory_capture toolkit (with its recall-first checker), the memory↔enrichment middleware adapter, and the background staleness watcher. |
|
mwchain
Package mwchain validates an ordered middleware chain against declared ordering dependencies.
|
Package mwchain validates an ordered middleware chain against declared ordering dependencies. |
|
oauthserver
Package oauthserver assembles the OAuth 2.1 authorization server and its storage behind one Handle: storage selection (Postgres when a database is present, else in-memory), bcrypt-hashed pre-registration of configured clients, the server itself, its authorization-state cleanup, and metrics wiring.
|
Package oauthserver assembles the OAuth 2.1 authorization server and its storage behind one Handle: storage selection (Postgres when a database is present, else in-memory), bcrypt-hashed pre-registration of configured clients, the server itself, its authorization-state cleanup, and metrics wiring. |
|
obs
Package obs owns the platform's observability layer: the metrics recorder, its /metrics HTTP listener, and the (independently-gated) OTel tracer.
|
Package obs owns the platform's observability layer: the metrics recorder, its /metrics HTTP listener, and the (independently-gated) OTel tracer. |
|
personastore
Package personastore persists database-managed persona definitions, independent of the platform assembly.
|
Package personastore persists database-managed persona definitions, independent of the platform assembly. |
|
portalstore
Package portalstore assembles the asset-portal store layer behind one Handle: the five Postgres stores (asset, share, version, collection, thread), the knowledge-page store, the S3 blob backend, and the save/manage-artifact toolkit built on top of them.
|
Package portalstore assembles the asset-portal store layer behind one Handle: the five Postgres stores (asset, share, version, collection, thread), the knowledge-page store, the S3 blob backend, and the save/manage-artifact toolkit built on top of them. |
|
promptlayer
Package promptlayer assembles the prompt subsystem behind one Handle: the Postgres-backed prompt store, the file-based tuning prompt manager, the name-keyed prompt-metadata registry (promptInfos), and every behavior that registers, serves, and manages prompts — the static/workflow/database registration path, the per-viewer dynamic-serving path behind the prompts/list visibility middleware, and the manage_prompt tool.
|
Package promptlayer assembles the prompt subsystem behind one Handle: the Postgres-backed prompt store, the file-based tuning prompt manager, the name-keyed prompt-metadata registry (promptInfos), and every behavior that registers, serves, and manages prompts — the static/workflow/database registration path, the per-viewer dynamic-serving path behind the prompts/list visibility middleware, and the manage_prompt tool. |
|
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. |
|
resourcelayer
Package resourcelayer assembles the managed-resources layer behind one Handle: the Postgres-backed resource store for human-uploaded reference material, the S3 blob client that holds the file bytes, and the MCP-server registration that makes each resource visible in the SDK's native resources/list.
|
Package resourcelayer assembles the managed-resources layer behind one Handle: the Postgres-backed resource store for human-uploaded reference material, the S3 blob client that holds the file bytes, and the MCP-server registration that makes each resource visible in the SDK's native resources/list. |
|
routepolicy
Package routepolicy builds the api-gateway's per-route authorization policy: it resolves a caller's roles and checks a (connection, method, path) tuple against the persona authorizer's APIRoutes rules.
|
Package routepolicy builds the api-gateway's per-route authorization policy: it resolves a caller's roles and checks a (connection, method, path) tuple against the persona authorizer's APIRoutes rules. |
|
searchfed
Package searchfed assembles the universal, topology-free search federation behind one Handle: the knowledge.Router that federates every searchable source a caller can access, and the search toolkit that exposes it as the one discovery entry point (#645).
|
Package searchfed assembles the universal, topology-free search federation behind one Handle: the knowledge.Router that federates every searchable source a caller can access, and the search toolkit that exposes it as the one discovery entry point (#645). |
|
sessionsync
Package sessionsync assembles the session / cross-replica-sync layer behind one Handle: the externalized session store (memory or postgres), the per-session enrichment-dedup cache, the client-facing MCP notification broadcaster, and the dedicated cross-replica reload bus (its own broadcaster channel plus the publish/subscribe machinery).
|
Package sessionsync assembles the session / cross-replica-sync layer behind one Handle: the externalized session store (memory or postgres), the per-session enrichment-dedup cache, the client-facing MCP notification broadcaster, and the dedicated cross-replica reload bus (its own broadcaster channel plus the publish/subscribe machinery). |
|
toolkitcfg
Package toolkitcfg resolves typed per-toolkit connection configuration out of the platform's raw toolkits config (map[string]any decoded from YAML/JSON).
|
Package toolkitcfg resolves typed per-toolkit connection configuration out of the platform's raw toolkits config (map[string]any decoded from YAML/JSON). |
|
userdir
Package userdir assembles the known-users directory (#614) behind one Handle: the Postgres-backed user store and the *user.Directory that wraps it with throttled, asynchronous upserts of authenticated people.
|
Package userdir assembles the known-users directory (#614) behind one Handle: the Postgres-backed user store and the *user.Directory that wraps it with throttled, asynchronous upserts of authenticated people. |
|
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). |
Click to show internal directories.
Click to hide internal directories.