SQL MCP
A read-first SQL MCP server that allows agents to query and introspect Postgres and SQLite databases. It supports listing connections, schemas, tables, and indexes, as well as executing read-only SELECT queries and optional write operations when explicitly enabled via environment variables. It uses pure-JS drivers for Postgres and SQLite, ensuring no native dependencies are required.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List database connections and schemas
- Query tables and views in a database
- Describe table columns and constraints
- Execute read-only SELECT statements
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@abhishekmcp/sql 0.1.0
{
"version": "0.1.0",
"transport": "stdio",
"identifier": "@abhishekmcp/sql",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "DB_CONN_default",
"format": "string",
"description": "Connection URL for the 'default' connection (postgres://… or sqlite:/abs/path). Additional connections use DB_CONN_<name>. Carries credentials — treated as secret."
},
{
"name": "DB_WRITABLE",
"format": "string",
"description": "Set to 1 or true to enable the write tools (execute, execute_script)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"sql-mcp": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql@0.1.0"
],
"env": {
"DB_CONN_default": "<YOUR_DB_CONN_DEFAULT>",
"DB_WRITABLE": "<YOUR_DB_WRITABLE>"
}
}
}
}Cline
{
"mcpServers": {
"sql-mcp": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql@0.1.0"
],
"env": {
"DB_CONN_default": "<YOUR_DB_CONN_DEFAULT>",
"DB_WRITABLE": "<YOUR_DB_WRITABLE>"
}
}
}
}VS Code
{
"servers": {
"sql-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql@0.1.0"
],
"env": {
"DB_CONN_default": "<YOUR_DB_CONN_DEFAULT>",
"DB_WRITABLE": "<YOUR_DB_WRITABLE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"sql-mcp": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql@0.1.0"
],
"env": {
"DB_CONN_default": "<YOUR_DB_CONN_DEFAULT>",
"DB_WRITABLE": "<YOUR_DB_WRITABLE>"
}
}
}
}Let your agent find its tools
Find servers like SQL MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.