.db files on the connector host. It provides read-only queries, optional mutating SQL (when allow_write is enabled), schema introspection, and row sampling. Use it for local analytics, embedded app data, prototyping, lightweight ETL, and schema exploration before promoting logic to Postgres or MySQL.
Prerequisites
- A SQLite database file (
.db) accessible to the connector runtime - Read access for reporting workflows; write access only when
allow_writeis enabled database_pathmust resolve underdata_rootwhen that constraint is configured- project_contributor access
Connect in AgentRuntime
1
Configure the database path
On Connections, click New custom connection (or edit the MCP instance profile) and set:
default_database_path— absolute or relative path to your.dbfile (e.g./data/app/metrics.db)data_root— optional root directory; alldatabase_pathvalues must resolve under itallow_write— set totrueonly if workflows needsqlite_executeorsqlite_execute_sql
2
Add sqlite MCP instance
Go to MCP, click Add instance for sqlite, set path and write settings on Instance config, then set the profile active.
3
Test with database info
Add a workflow with mcp_call →
sqlite_get_database_info. Run it to confirm the file path and SQLite version before queries.4
Explore schema (optional)
Run mcp_call →
sqlite_list_tables and sqlite_describe_table on a known table to verify schema access.What you can build
- CSV ingest pipeline — Parse uploaded CSV →
sqlite_executebulk INSERT →sqlite_queryvalidation report. - Local dashboard feed — Scheduled
sqlite_queryon metrics tables → LLM summary → Slack notification. - Schema exploration —
sqlite_list_tables+sqlite_describe_table→ Autopilot answers questions with grounded SQL. - Prototype ETL —
sqlite_queryextract → transform in Lua →sqlite_executeload into staging tables.
Tools
Example
Run a read-only report query:database_path to use sqlite_default_database_path from configuration.
Configuration
Troubleshooting
Related
- Integrations quickstart
- Postgres connector — production-grade SQL for hosted databases
- MySQL connector — similar SQL patterns for MySQL
- Connector catalog
- Troubleshooting