- How you use it
- Your agent calls its tools
- What it can do
- installs software · writes files · network · secrets access · runs shell
- What's inside
The option
| Option | AMCP server · v0.1.1mcp-sqlite-tools |
|---|---|
| How you use it | Your agent calls its tools |
| What it can do | installs software · writes files · network · secrets access · runs shell |
| What's inside |
What this thread does
What it is. mcp-sqlite-tools exposes local SQLite operations through separate read, write, schema, transaction, and maintenance tools. It uses Node's built-in SQLite driver without a native addon dependency.
Do first: Run claude mcp add --scope project sqlite-tools --transport stdio -- npx -y mcp-sqlite-tools@0.1.1 to register the stdio server in the project's MCP configuration (registry record).
Use it when / not
- Use when: Inspect tables and columns, then run paginated reads with named or positional parameters.
- Use when: Import or export headered CSV files, back up a database, or move schemas as SQL or JSON.
- Use when: Apply writes and schema changes with separate approval rules and nested savepoints.
- Not for: Administering a hosted database service.
- Not for: Querying PostgreSQL databases.
Setup
1. Install Node.js >=24.12.0 (registry record) and use an MCP client with stdio server support. 2. Launch through npx -y mcp-sqlite-tools@0.1.1; a global installation is not required (registry record). The pinned version 0.1.1 is the registry record: registry record. 3. Register with the command above, or use codex mcp add sqlite-tools -- npx -y mcp-sqlite-tools@0.1.1. For manual MCP configuration, set command to npx and args to ["-y","mcp-sqlite-tools@0.1.1"] under mcpServers (registry record). 4. Set SQLITE_DEFAULT_PATH to the database directory. Set SQLITE_ALLOW_ABSOLUTE_PATHS=false to require database and CSV paths to remain inside that directory, including through symbolic links.
Limits
execute_read_queryrejects writes, schema changes, unsafe PRAGMAs, attachment, and multiple statements. Destructive operations use separate tools; review SQL and file paths before approval.- The server can create files, import data, change schemas, and drop tables. Back up important databases before schema changes, imports, or large writes.
SQLITE_ALLOW_ABSOLUTE_PATHSdefaults totrue. Set path restrictions deliberately.- Use
SQLITE_JOURNAL_MODE=deletein file-synchronized directories. The modesmemoryandoffare rejected. SQLITE_MAX_QUERY_TIMEis a deprecated alias forSQLITE_BUSY_TIMEOUT, not a wall-clock query runtime limit.- License: MIT (registry record).
Sources
- README by spences10.
- registry record for version 0.1.1.
Started from a post by @spences10, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.