MCP Server
MCP
SQL
Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
Install
npx -y @abhishekmcp/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "@abhishekmcp/sql",
"version": "0.1.0",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Connection URL for the 'default' connection (postgres://… or sqlite:/abs/path). Additional connections use DB_CONN_<name>. Carries credentials — treated as secret.",
"format": "string",
"isSecret": true,
"name": "DB_CONN_default"
},
{
"description": "Set to 1 or true to enable the write tools (execute, execute_script).",
"format": "string",
"name": "DB_WRITABLE"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment