Directories
¶
| Path | Synopsis |
|---|---|
|
backend
|
|
|
api/auth
Package auth handles the auth of gRPC server.
|
Package auth handles the auth of gRPC server. |
|
api/oauth
Package oauth implements the deployment's OAuth 2.1 authorization server, which exists to authorize MCP clients: MCP clients discover it through the protected-resource metadata document, send the user through the authorization-code flow with PKCE, and then present the resulting audience-bound access token to the MCP endpoint.
|
Package oauth implements the deployment's OAuth 2.1 authorization server, which exists to authorize MCP clients: MCP clients discover it through the protected-resource metadata document, send the user through the authorization-code flow with PKCE, and then present the resulting audience-bound access token to the MCP endpoint. |
|
bin/server
command
|
|
|
common
Package common provides common libraries for the service.
|
Package common provides common libraries for the service. |
|
common/crypto
Package crypto encrypts the credentials the server keeps in its own database: the instance and data source credentials, and the LLM provider API keys.
|
Package crypto encrypts the credentials the server keeps in its own database: the instance and data source credentials, and the LLM provider API keys. |
|
common/permission
Package permission defines the metaxisdata permission catalog.
|
Package permission defines the metaxisdata permission catalog. |
|
common/permission/gen
command
Command gen regenerates permission_gen.go from permission.json.
|
Command gen regenerates permission_gen.go from permission.json. |
|
common/version
Package version carries the server binary build metadata.
|
Package version carries the server binary build metadata. |
|
component/audit
Package audit holds the audit-row primitives shared by the Connect interceptors and any other writer of audit records.
|
Package audit holds the audit-row primitives shared by the Connect interceptors and any other writer of audit records. |
|
component/dbfactory
Package dbfactory includes the database driver factory.
|
Package dbfactory includes the database driver factory. |
|
component/iam
Package iam implements the metaxisdata permission-check engine.
|
Package iam implements the metaxisdata permission-check engine. |
|
component/llm
Package llm provides LLM client capabilities.
|
Package llm provides LLM client capabilities. |
|
component/notification
Package notification delivers in-app messages to users: the outcome of a sync operation somebody asked for, and the failures a workspace administrator needs to see.
|
Package notification delivers in-app messages to users: the outcome of a sync operation somebody asked for, and the failures a workspace administrator needs to see. |
|
generated-go/v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
|
mcp
Package mcp is the MCP resource server: the read-only tool table served on /mcp, the adapters that make its authentication and authorization identical to the ConnectRPC path, and the guidance it publishes to clients.
|
Package mcp is the MCP resource server: the read-only tool table served on /mcp, the adapters that make its authentication and authorization identical to the ConnectRPC path, and the guidance it publishes to clients. |
|
migrator
Package migrator applies and upgrades the metaxisdata metadata schema.
|
Package migrator applies and upgrades the metaxisdata metadata schema. |
|
plugin/db
Package db provides the interfaces and libraries for database driver plugins.
|
Package db provides the interfaces and libraries for database driver plugins. |
|
plugin/db/mssql
Package mssql is the plugin for MSSQL driver.
|
Package mssql is the plugin for MSSQL driver. |
|
plugin/db/mysql
Package mysql is the plugin for MySQL driver.
|
Package mysql is the plugin for MySQL driver. |
|
plugin/db/pg
Package pg is the plugin for PostgreSQL driver.
|
Package pg is the plugin for PostgreSQL driver. |
|
plugin/db/starrocks
Package starrocks is the plugin for the StarRocks and Doris drivers.
|
Package starrocks is the plugin for the StarRocks and Doris drivers. |
|
plugin/dmltarget
Package dmltarget answers one question about a DML statement: which table does it write?
|
Package dmltarget answers one question about a DML statement: which table does it write? |
|
plugin/idp
Package idp is the plugin for Identity Provider.
|
Package idp is the plugin for Identity Provider. |
|
plugin/idp/oauth2
Package oauth2 is the plugin for OAuth2 Identity Provider.
|
Package oauth2 is the plugin for OAuth2 Identity Provider. |
|
plugin/lineage/algorithm
Package algorithm holds the parts of lineage analysis that do not depend on the SQL dialect: how a lineage edge is identified for deduplication, how a row-set predicate is attributed to the scope whose rows it decides, and how the arms of a set operation merge.
|
Package algorithm holds the parts of lineage analysis that do not depend on the SQL dialect: how a lineage edge is identified for deduplication, how a row-set predicate is attributed to the scope whose rows it decides, and how the arms of a set operation merge. |
|
plugin/lineage/engines
Package engines assembles the SQL lineage analyzers this build supports.
|
Package engines assembles the SQL lineage analyzers this build supports. |
|
plugin/lineage/mariadb
Package mariadb provides direct lineage analysis for MariaDB queries.
|
Package mariadb provides direct lineage analysis for MariaDB queries. |
|
plugin/lineage/mysql
Package mysql provides direct lineage analysis for MySQL queries.
|
Package mysql provides direct lineage analysis for MySQL queries. |
|
plugin/lineage/mysql/gen
command
Command gen copies the shared MySQL-family analyzer body into the TiDB and MariaDB packages.
|
Command gen copies the shared MySQL-family analyzer body into the TiDB and MariaDB packages. |
|
plugin/lineage/postgresql
Package postgresql provides direct lineage analysis for PostgreSQL queries.
|
Package postgresql provides direct lineage analysis for PostgreSQL queries. |
|
plugin/lineage/starrocks
Package starrocks provides direct lineage analysis for StarRocks queries.
|
Package starrocks provides direct lineage analysis for StarRocks queries. |
|
plugin/lineage/testutil
Package testutil provides common test utilities for lineage analysis tests.
|
Package testutil provides common test utilities for lineage analysis tests. |
|
plugin/lineage/tidb
Package tidb provides direct lineage analysis for TiDB queries.
|
Package tidb provides direct lineage analysis for TiDB queries. |
|
plugin/sqlsanitize
Package sqlsanitize turns one application SQL statement into the two forms the application-SQL ingest path keeps: a literal-free text that is safe to store, and a canonical form whose hash is the statement's deduplication key.
|
Package sqlsanitize turns one application SQL statement into the two forms the application-SQL ingest path keeps: a literal-free text that is safe to store, and a canonical form whose hash is the statement's deduplication key. |
|
runner/lineageanalyzer
Package lineageanalyzer is a runner that analyzes SQL definitions to produce column-level lineage.
|
Package lineageanalyzer is a runner that analyzes SQL definitions to produce column-level lineage. |
|
runner/lineagevalidation
Package lineagevalidation re-checks ingested lineage whose endpoints the metadata registry did not know when it was stored.
|
Package lineagevalidation re-checks ingested lineage whose endpoints the metadata registry did not know when it was stored. |
|
runner/maintenance
Package maintenance runs the periodic housekeeping pass: it prunes rows that are already invisible (expired caches) or that a retention window explicitly bounds (the LLM debug log, OpenLineage runs).
|
Package maintenance runs the periodic housekeeping pass: it prunes rows that are already invisible (expired caches) or that a retention window explicitly bounds (the LLM debug log, OpenLineage runs). |
|
runner/schemasync
Package schemasync is a runner that synchronize database schemas.
|
Package schemasync is a runner that synchronize database schemas. |
|
test/integration/dockerutil
Package dockerutil centralizes how the integration harnesses decide whether a Docker-compatible container runtime is reachable.
|
Package dockerutil centralizes how the integration harnesses decide whether a Docker-compatible container runtime is reachable. |
|
Command mxd is a client for a metaxisdata server, built for agents: every command writes one JSON document to stdout and reports progress on stderr.
|
Command mxd is a client for a metaxisdata server, built for agents: every command writes one JSON document to stdout and reports progress on stderr. |
|
authflow
Package authflow drives the device login: it asks the server for a request, tells the person where to approve it, and polls until the server has an answer.
|
Package authflow drives the device login: it asks the server for a request, tells the person where to approve it, and polls until the server has an answer. |
|
client
Package client builds the ConnectRPC clients the CLI talks through and maps failures onto the exit codes an agent branches on.
|
Package client builds the ConnectRPC clients the CLI talks through and maps failures onto the exit codes an agent branches on. |
|
cmd
Package cmd wires the mxd command tree.
|
Package cmd wires the mxd command tree. |
|
config
Package config reads and writes the CLI's credentials file.
|
Package config reads and writes the CLI's credentials file. |
|
env
Package env reads the METAXISDATA_* environment, which is where a project's analysis scopes come from.
|
Package env reads the METAXISDATA_* environment, which is where a project's analysis scopes come from. |
|
output
Package output renders command results.
|
Package output renders command results. |
|
skill
Package skill carries the agent-facing skill that ships inside the mxd binary.
|
Package skill carries the agent-facing skill that ships inside the mxd binary. |
Click to show internal directories.
Click to hide internal directories.

