
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@frontmcp/storage-sqlite
Advanced tools
SQLite storage backend for FrontMCP - local session, elicitation, and event persistence without Redis
SQLite storage backend for FrontMCP — session, task, elicitation, and event persistence without running Redis.
Reach for SQLite when you need state to survive a restart but do not want a network dependency:
frontmcp dev without losing sessions.Use Redis instead when more than one node has to see the same state — SQLite is a local file, so it cannot coordinate across machines.
npm install @frontmcp/storage-sqlite
better-sqlite3 is a native module and is loaded lazily, so importing
@frontmcp/sdk never pulls it in unless you actually enable SQLite. It does not
work on Edge/V8-isolate runtimes (Cloudflare Workers) — use Redis or Upstash
there.
Most servers never import this package directly. Point a store at SQLite in config and the SDK wires it up:
@FrontMcp({
info: { name: 'my-server', version: '1.0.0' },
apps: [MyApp],
// Persist sessions across restarts.
transport: { persistence: { sqlite: { path: './data/frontmcp.sqlite' } } },
// Persist background tasks (required for the `cli` task runner).
tasks: { enabled: true, sqlite: { path: './data/tasks.sqlite', walMode: true } },
})
class Server {}
import { openDatabase, SqliteSessionStore } from '@frontmcp/storage-sqlite';
const store = new SqliteSessionStore({ path: './data/sessions.sqlite', walMode: true });
await store.set('session-id', { userId: 'u1' }, { ttlSeconds: 3600 });
| Export | Backs |
|---|---|
SqliteSessionStore | MCP transport sessions |
SqliteTaskStore | Background tasks (status, outcome, cancel signalling) |
SqliteElicitationStore | Pending elicitation round trips |
SqliteEventStore | Streamable-HTTP event replay |
SqliteKvStore | Generic key/value with TTL |
SqliteStorageAdapter | The StorageAdapter the SDK's factories accept |
| Option | Default | Notes |
|---|---|---|
path | — | Database file. Parent directories are created for you. |
walMode | true | Write-ahead logging. Leave on for concurrent readers. |
ttlCleanupIntervalMs | 60000 | How often expired rows are swept. |
encryption | — | Encrypt values at rest; pass a key to enable. |
sqlite3 .backup.-wal, -shm). Ship the whole set, or check
point before copying.Full guide: SQLite Setup
Apache-2.0
FAQs
SQLite storage backend for FrontMCP - local session, elicitation, and event persistence without Redis
We found that @frontmcp/storage-sqlite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.