For engineers connecting a database, documents or dbt project so agents can read schema and column meaning over MCP.
Updated
BrainBox connectors read your database schema, SQL files, documents or dbt artifacts and turn them into entities, relationships, rules and metrics that agents read over MCP. By default the CLI reads schema metadata only, never rows. Pick a connector by source, run one command, review what ingestion proposes, and your agent can ask what a table or column means.
ingest takes one or more sources, runs the whole pipeline and publishes a new Brain version. Add --review to stop before publishing and get a review link. By default the CLI reads schema metadata only, never rows. Opt-in column profiling (--profile-data, on meta ingest db) samples rows to compute statistics, and full mode also sends enum values and JSON key shapes.
npx -y @brainbox-labs/cli@latest ingest postgres://user:pass@host:5432/mydb ./sql/ --reviewThe schema supplies structure. Meaning comes from documents you add, such as a data dictionary, and from people reviewing what ingestion proposes. Each element keeps its source.
| Source | Command | What is read |
|---|---|---|
| Postgres | ingest postgres://… | Schema metadata: tables, columns, keys, relationships |
| Trino | ingest trino://… | Tables and columns (no enforced keys or indexes) |
| Athena | ingest athena://region/database | Tables and columns (no enforced keys or indexes) |
| SQL files | ingest ./sql/ (with a database source) | Referenced tables, columns, join patterns, named parameters |
| Documents | ingest ./docs/ or sync ./docs | md, txt, html, pdf, docx |
| dbt | meta ingest dbt --artifacts ./target | manifest.json, optional catalog.json and semantic_manifest.json |
| MCP server | meta ingest mcp <url> | The server's tools |
| NoSQL | meta ingest nosql <file> | A JSON file of collections |