MCP Hub › Databases & Data › DataLink

DataLink MCP server

by pilat · io.github.pilat/mcp-datalink

MCP server for secure database access (PostgreSQL, MySQL, SQLite)

🗄 Databases & Datanpmv1.2.4
Open in MCP HubGitHub repository ↗

How to install DataLink

npm

claude mcp add -e DATALINK_ANALYTICS_URL=<your-datalink-analytics-url> mcp-datalink -- npx -y @pilat/[email protected]

Or add it to your MCP config (Claude Desktop, Cursor, VS Code):

{
  "mcpServers": {
    "mcp-datalink": {
      "command": "npx",
      "args": [
        "-y",
        "@pilat/[email protected]"
      ],
      "env": {
        "DATALINK_ANALYTICS_URL": "<your-datalink-analytics-url>"
      }
    }
  }
}

Environment variables:
DATALINK_ANALYTICS_URL (required) – Database connection URL. Pattern: DATALINK_<NAME>_URL where <NAME> identifies the database. Supports postgresql://, mysql://, or file path for SQLite.
DATALINK_ANALYTICS_READONLY – Set to 'true' for read-only access. Pattern: DATALINK_<NAME>_READONLY

Replace placeholders in <angle brackets> with your own values. Review what a server can access before you enable it.

Details

Version
1.2.4
Published
2026-01-04
Updated
2026-01-04
Namespace
io.github.pilat
Source
pilat/mcp-datalink

Similar databases & data servers