Open source · Native Rust MCP

Sequel MCP

Database access for coding agents, with the risky parts gated.

Sequel MCP gives Codex, Claude Code, and other MCP clients controlled access to MySQL, MariaDB, and SQLite. Reads can stay quick; writes can require confirmation, a backup, and a clear record.

Get started

cargo install sequel-mcp --lockedcodex mcp add sequel-mcp -- sequel-mcp serve
  • v0.11.2
  • macOS 12+ and Linux
  • MIT licence
  1. Coding agent(done)
  2. MCP policy(done)
  3. Approval if neededwaiting for your yes…
  4. Database
  5. Audit trail
The approval dialog opens for the pending request and closes when you answer.

Set up

One binary, any MCP client.

Install the single Rust binary and register its stdio server with Codex. The README also has setup examples for Claude Code, Claude Desktop, and other MCP clients.

What matters

Policy first

Set a connection baseline and tighter table rules. The strictest rule wins across every table a statement touches.

A prompt when you need it

When your MCP client cannot show an approval, a native dialog opens with the statement and choices. Approve once, approve for the session, or decline; the window disappears as soon as you choose.

A way back

Mutations can create a backup first, restores start as a dry run, and an append-only log records what happened.