DataLink
About
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
DATALINK_ANALYTICS_URL DATALINK_ANALYTICS_READONLYClaude Code
claude mcp add --env DATALINK_ANALYTICS_URL= --env DATALINK_ANALYTICS_READONLY= mcp-datalink -- npx @pilat/mcp-datalink
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-datalink","command":"npx","args":["@pilat/mcp-datalink"],"env":{"DATALINK_ANALYTICS_URL":"","DATALINK_ANALYTICS_READONLY":""}}'
JSON
{
"mcpServers": {
"mcp-datalink": {
"command": "npx",
"args": [
"@pilat/mcp-datalink"
],
"env": {
"DATALINK_ANALYTICS_URL": "",
"DATALINK_ANALYTICS_READONLY": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.