QueryPilot

io.github.nickklos10/querypilot

Safe SQL gateway for AI agents: SELECT-only validation, access policies, masking, audit trail, evals

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "querypilot": {
      "command": "uvx",
      "args": [
        "querypilot"
      ],
      "env": {
        "QUERYPILOT_DATABASE_URL": "<your QUERYPILOT_DATABASE_URL>",
        "QUERYPILOT_DIALECT": "sqlite",
        "QUERYPILOT_MAX_ROWS": "100",
        "QUERYPILOT_TIMEOUT_SECONDS": "10",
        "QUERYPILOT_MCP_TRANSPORT": "stdio"
      }
    }
  }
}
Environment variables
  • QUERYPILOT_DATABASE_URLrequiredsecretSQLAlchemy-style database connection URL, e.g. sqlite:///demo.db or postgresql://user:pass@host:5432/db. Equivalent to --database-url.
  • QUERYPILOT_DIALECTSQL dialect for the connector. Equivalent to --dialect.
  • QUERYPILOT_MAX_ROWSMaximum rows returned per query. Equivalent to --max-rows.
  • QUERYPILOT_TIMEOUT_SECONDSQuery execution timeout in seconds. Equivalent to --timeout-seconds.
  • QUERYPILOT_MCP_TRANSPORTMCP transport used by `querypilot mcp`. Equivalent to --transport. Most MCP clients should leave this at stdio; streamable-http is for clients that speak Streamable HTTP directly.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.1
Registry
active
Published
7/11/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that QueryPilot is listed here — it’s also the link we check for a free listing.

QueryPilot — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-nickklos10-querypilot?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="QueryPilot — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![QueryPilot — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-nickklos10-querypilot?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.