SQL

io.github.Abhishekkumar2021/sql

Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.

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": {
    "sql": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/sql@0.1.0"
      ],
      "env": {
        "DB_CONN_default": "<your DB_CONN_default>"
      }
    }
  }
}
Environment variables
  • DB_CONN_defaultsecretConnection URL for the 'default' connection (postgres://… or sqlite:/abs/path). Additional connections use DB_CONN_<name>. Carries credentials — treated as secret.

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

Category
Databases
Version
0.1.0
Registry
active
Published
7/4/2026
Browse all Databases →

Add the badge to your site

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

SQL — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-abhishekkumar2021-sql?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="SQL — 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

[![SQL — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-abhishekkumar2021-sql?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.