SQLite MCP Sidecar MCP server
dev.xakpc/sqlite-mcp-sidecar·v0.1.3·1 starsAgent-safe MCP sidecar for one live SQLite database: read-only default, bounded writes.
1 stars
Reviews
Write oneNobody has reviewed SQLite MCP Sidecar yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SQLite MCP Sidecar tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-24 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year; website matches verified namespace10/10
How SQLite MCP Sidecar compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 47% of 802 Databases servers
- GitHub stars
- 1
- more than 45% of 602 Databases servers
Install SQLite MCP Sidecar in Claude Code, Cursor or VS Code
claude mcp add sqlite-mcp-sidecar -- docker run -i --rm ghcr.io/xakpc/sqlite-mcp-sidecar:0.1.3
What the publisher says
From the SQLite MCP Sidecar repository's README, as published. We do not edit it. Read it on GitHub
sqlite-sidecar-mcp
An agent-safe MCP sidecar for one live SQLite database.
It gives an AI agent controlled access to a database that another application already owns, and it limits the damage that an authorized but mistaken agent can cause.
[![ci][ci-shield]][ci-url] [![license][license-shield]][license-url] [![ghcr][ghcr-shield]][ghcr-url] [![dotnet][dotnet-shield]][dotnet-url]
Contents
- About the project
- Built with
- Getting started
- The eight tools
- Permissions
- Configuration
- Deployment
- Security
- Contributing
- License
- Contact
- Acknowledgments
About the project
An application owns a SQLite file. You want an agent to read it, and perhaps to change a few rows. Handing the agent a SQL connection gives it the whole file and one DELETE with a wrong predicate is unrecoverable. sqlite-sidecar-mcp sits next to that application as one more SQLite client and speaks MCP over HTTP. The owning application does not change.
It runs in production next to the MCP Canary API, where it gives the operator's coding agent read-only access to the live database.
flowchart TD
agent[AI / MCP client] -->|HTTPS| proxy[Reverse proxy]
proxy -->|private HTTP| sidecar[sqlite-sidecar-mcp]
sidecar -->|SQLite client| db[(app.db)]
app[Owning application] -->|SQLite client| dbThe product defends against two callers. One is an unauthorized client, which the token and the request budget stop. The other is an authorized client that makes a mistake, and that one is the unusual part: an agent with permission to write can still write the wrong thing. Structured writes, a mandatory predicate, a row limit that counts cascades, and a per-minute write budget exist for it.
[!IMPORTANT]
One sidecar process serves one database. The request budget, the write budget and the
idempotency cache live in process memory. A second replica gives you two independent budgets and
two independent caches, and nothing reports it. Do not scale this service. Run a second sidecar
only for a different database or a different trust boundary.
Built with
- .NET 10, ASP.NET Core
- Model Context Protocol over Streamable HTTP
- Microsoft.Data.Sqlite with the bundled native SQLite
- TOON for row output, which costs fewer tokens than JSON
(back to top)
Getting started
Prerequisites
wrong path and leave an empty database next to the real one.
- Docker
- A SQLite database that already exists. The sidecar never creates one: creation would hide a
Run it
docker run -d --name sqlite-sidecar \
-p 127.0.0.1:8080:8080 \
-v /srv/myapp/data:/data \
-e SQLITE_SIDECAR_DB=/data/app.db \
-e SQLITE_SIDECAR_TOKEN='<a long random string>' \
-e SQLITE_SIDECAR_PERMISSIONS=schema,read \
--read-only --tmpfs /tmp \
--cap-drop=ALL --security-opt=no-new-privileges \
ghcr.io/xakpc/sqlite-mcp-sidecar:latestThe mount must be writable, also for the read-only permission set above. SQLite opens the -shm file read-write for a read-only connection to a WAL database, and a read-only mount fails in a way that reads like a permission fault rather than a configuration mistake.
Connect an agent
The endpoint is /db/mcp and the token goes in an Authorization header:
{
"mcpServers": {
"app-database": {
"url": "https://example.com/db/mcp",
"headers": { "Authorization": "Bearer <the token>" }
}
}
}Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
SQLite MCP Sidecar: common questions
- Is SQLite MCP Sidecar MCP server safe?
- Mostly: it is graded B (78/100). Read the SQLite MCP Sidecar safety report
- How do I install SQLite MCP Sidecar?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SQLite MCP Sidecar need an API key?
- Yes. The registry entry asks for
SQLITE_SIDECAR_TOKEN. - Is SQLite MCP Sidecar maintained?
- The last commit was 11 days ago (2026-10-24). The latest release is v0.1.3.
- What can I use instead of SQLite MCP Sidecar?
- Servers from other publishers that do the same job: Quarry MCP server, DBHub MCP server and Mindwtr MCP server.
- How does SQLite MCP Sidecar compare with other Databases MCP servers?
- safety score 78/100 (higher than 47% of 802 Databases servers); github stars 1 (more than 45% of 602 Databases servers). Full comparison.
Alternatives to SQLite MCP Sidecar
Same job from other publishers: the closest match first, then the best rated.
- QuarrySafety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.not reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
MindwtrTask automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.not reviewedEstablishedA- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.not reviewedEstablishedA
- InfrawiseLive AWS, database & Kafka infrastructure context for AI coding assistants via MCP.not reviewedGrowingA