Serversio.github.stucchi/db
D

DB MCP Server

io.github.stucchi/db · v1.2.1
▦ pypi
v1.2.1pypi pypi: db-mcp-server↗ Repository
{}server.json

The full server descriptor as registered with IndusMCP.

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.stucchi/db",
  "description": "Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.",
  "title": "DB MCP Server",
  "repository": {
    "url": "https://github.com/stucchi/db-mcp-server",
    "source": "github"
  },
  "version": "1.2.1",
  "icons": [
    {
      "src": "https://raw.githubusercontent.com/stucchi/db-mcp-server/master/assets/icon.png",
      "mimeType": "image/png",
      "sizes": [
        "1024x1024"
      ]
    }
  ],
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "db-mcp-server",
      "version": "1.2.1",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Database type",
          "isRequired": true,
          "choices": [
            "mysql",
            "postgresql",
            "mongodb",
            "sqlite"
          ],
          "name": "DB_TYPE"
        },
        {
          "description": "Database name",
          "isRequired": true,
          "name": "DB_DATABASE"
        },
        {
          "description": "Access mode",
          "default": "read-only",
          "choices": [
            "read-only",
            "read-write"
          ],
          "name": "DB_MODE"
        },
        {
          "description": "Database host (MySQL/PostgreSQL)",
          "default": "localhost",
          "name": "DB_HOST"
        },
        {
          "description": "Database port (MySQL: 3306, PostgreSQL: 5432)",
          "format": "number",
          "name": "DB_PORT"
        },
        {
          "description": "Database user (MySQL default: root, PostgreSQL default: postgres)",
          "name": "DB_USER"
        },
        {
          "description": "Database password (MySQL/PostgreSQL, optional)",
          "isSecret": true,
          "name": "DB_PASSWORD"
        },
        {
          "description": "MongoDB connection URL (required for MongoDB, e.g. mongodb://...)",
          "isSecret": true,
          "name": "DB_URL"
        },
        {
          "description": "SSH bastion host for tunneling (MySQL/PostgreSQL only)",
          "name": "SSH_HOST"
        },
        {
          "description": "SSH port",
          "format": "number",
          "default": "22",
          "name": "SSH_PORT"
        },
        {
          "description": "SSH username (default: current OS user)",
          "name": "SSH_USER"
        },
        {
          "description": "Path to SSH private key (e.g. ~/.ssh/id_rsa)",
          "format": "filepath",
          "name": "SSH_KEY"
        },
        {
          "description": "SSH password (if no key provided)",
          "isSecret": true,
          "name": "SSH_PASSWORD"
        }
      ]
    }
  ],
  "_meta": {
    "dev.indusmcp/source": "official-registry-mirror",
    "dev.indusmcp/synced": "2026-05-12"
  }
}