Zero-configuration persistent storage, faster than file-based JSON storage. SQLite provides a single-file relational database that is robust and requires no external server process. It is ideal for:Documentation Index
Fetch the complete documentation index at: https://docs.mcp-assistant.in/llms.txt
Use this file to discover all available pages before exploring further.
- Single-instance production apps
- Persistent development state
- Applications that need ACID transactions without a full database server
- Local deployments where Redis or Supabase would be unnecessary
Installation
SQLite support uses the optionalbetter-sqlite3 peer dependency:
Configuration
MCP_TS_STORAGE_TYPE is not set, the storage layer also auto-detects SQLite when MCP_TS_STORAGE_SQLITE_PATH is present.
Features
- Persistent single-file database
- Fast local reads and writes
- ACID compliant transactions
- No external service required
- Automatic database and table setup
Usage
Option 1: Automatic Detection (Recommended)
WhenMCP_TS_STORAGE_TYPE=sqlite or MCP_TS_STORAGE_SQLITE_PATH are present in your environment, the global sessions proxy automatically uses the SQLite backend.

