A Model Context Protocol server for MySQL/MariaDB and SQLite that lets AI agents run SQL queries with policy-gated action sets (allow/confirm/deny per category), pre-mutation backups, immutable audit log, macOS Keychain credential storage for MySQL/MariaDB, and optional Sequel Ace import. Current version is 0.8.0, with active development and monthly releases. Key differentiators: two-layer permissions (connection-level + per-database overrides), session-scoped confirm grants, built-in backup/restore, SSH tunnel support, and Docker exec bridge. Fully standalone; Sequel Ace integration is optional bootstrap convenience. Ships TypeScript types, requires Node >=20.0.0. Primarily designed for Claude Code, Codex CLI, or any MCP client.
npm install sequel-mcpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Starts a sequel-mcp server with a SQLite connection, policy-gated permissions, and audit logging.
Either add host keys to ~/.ssh/known_hosts or explicitly set hostKeyPolicy: 'lenient' in connection config.
Update your MCP client to handle the new structured prompt format (4 options).
Use structuredContent format: each result is an array of objects with {type, text} fields.Use `import_from_sequel_ace` instead.
Ensure you're using Node 20+; use add_sqlite_connection tool without password.
Export credentials before migration using the export tool (if available) or re-add manually.
Add sslServerName: 'actual-db-hostname.com' to the connection config.
Check that the SQLite database file exists at the specified path and the table name is correct.
Update the policy for that connection to 'allow' or 'confirm' for the write category, or switch to a read-only query.
Either set hostKeyPolicy: 'lenient' in connection config, or add the remote host's key to ~/.ssh/known_hosts.
Ensure MySQL/MariaDB is running on the remote server and listening on the expected port (default 3306).
Set NODE_OPTIONS=--openssl-legacy-provider or upgrade to a compatible MySQL client library.