Koskamo

DBHub MCP

DBHub is a token-efficient database MCP server supporting PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, and SQLite. It enables agents to execute SQL queries with safety controls, search database schemas, and perform diagnostics. It includes a web workbench and supports local development, non-technical access, and multi-database consolidation.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

DBHub MCP logo, by BytebaseCommunity listingLocal stdioSource reviewed; not executedPublished by Bytebase
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 3,771 GitHub stars

What you can do with it

  • Schema exploration and query validation
  • Execute SQL queries with transaction support
  • Search and explore database schemas
  • Production troubleshooting with read-only diagnostics

Source and maintenance

Community listingRegistry 1.5.0MIT
Last repository push
Latest release
v1.5.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@bytebase/dbhub 1.5.0

npm
@bytebase/dbhub package definition
{
  "version": "1.5.0",
  "transport": "stdio",
  "identifier": "@bytebase/dbhub",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "DSN",
      "format": "string",
      "description": "Database connection string (e.g., postgres://user:pass@host:5432/db)"
    },
    {
      "name": "DB_TYPE",
      "format": "string",
      "description": "Database type: postgres, mysql, mariadb, sqlserver, oracle, sqlite"
    },
    {
      "name": "DB_HOST",
      "format": "string",
      "description": "Database hostname"
    },
    {
      "name": "DB_PORT",
      "format": "number",
      "description": "Database port"
    },
    {
      "name": "DB_USER",
      "format": "string",
      "description": "Database username"
    },
    {
      "name": "DB_PASSWORD",
      "format": "string",
      "description": "Database password"
    },
    {
      "name": "DB_NAME",
      "format": "string",
      "description": "Database name or SQLite file path"
    },
    {
      "name": "TRANSPORT",
      "format": "string",
      "description": "Transport mode: stdio or http"
    },
    {
      "name": "PORT",
      "format": "number",
      "description": "HTTP server port (default: 8080)"
    },
    {
      "name": "ID",
      "format": "string",
      "description": "Instance identifier for tool names"
    },
    {
      "name": "SSH_HOST",
      "format": "string",
      "description": "SSH server hostname"
    },
    {
      "name": "SSH_PORT",
      "format": "number",
      "description": "SSH server port (default: 22)"
    },
    {
      "name": "SSH_USER",
      "format": "string",
      "description": "SSH username"
    },
    {
      "name": "SSH_PASSWORD",
      "format": "string",
      "description": "SSH password"
    },
    {
      "name": "SSH_KEY",
      "format": "string",
      "description": "Path to SSH private key"
    },
    {
      "name": "SSH_PASSPHRASE",
      "format": "string",
      "description": "SSH key passphrase"
    },
    {
      "name": "SSH_AUTH_SOCK",
      "format": "string",
      "description": "Path to SSH agent socket"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "dbhub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub@1.5.0"
      ],
      "env": {
        "DSN": "<YOUR_DSN>",
        "DB_TYPE": "<YOUR_DB_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "ID": "<YOUR_ID>",
        "SSH_HOST": "<YOUR_SSH_HOST>",
        "SSH_PORT": "<YOUR_SSH_PORT>",
        "SSH_USER": "<YOUR_SSH_USER>",
        "SSH_PASSWORD": "<YOUR_SSH_PASSWORD>",
        "SSH_KEY": "<YOUR_SSH_KEY>",
        "SSH_PASSPHRASE": "<YOUR_SSH_PASSPHRASE>",
        "SSH_AUTH_SOCK": "<YOUR_SSH_AUTH_SOCK>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "dbhub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub@1.5.0"
      ],
      "env": {
        "DSN": "<YOUR_DSN>",
        "DB_TYPE": "<YOUR_DB_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "ID": "<YOUR_ID>",
        "SSH_HOST": "<YOUR_SSH_HOST>",
        "SSH_PORT": "<YOUR_SSH_PORT>",
        "SSH_USER": "<YOUR_SSH_USER>",
        "SSH_PASSWORD": "<YOUR_SSH_PASSWORD>",
        "SSH_KEY": "<YOUR_SSH_KEY>",
        "SSH_PASSPHRASE": "<YOUR_SSH_PASSPHRASE>",
        "SSH_AUTH_SOCK": "<YOUR_SSH_AUTH_SOCK>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "dbhub-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub@1.5.0"
      ],
      "env": {
        "DSN": "<YOUR_DSN>",
        "DB_TYPE": "<YOUR_DB_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "ID": "<YOUR_ID>",
        "SSH_HOST": "<YOUR_SSH_HOST>",
        "SSH_PORT": "<YOUR_SSH_PORT>",
        "SSH_USER": "<YOUR_SSH_USER>",
        "SSH_PASSWORD": "<YOUR_SSH_PASSWORD>",
        "SSH_KEY": "<YOUR_SSH_KEY>",
        "SSH_PASSPHRASE": "<YOUR_SSH_PASSPHRASE>",
        "SSH_AUTH_SOCK": "<YOUR_SSH_AUTH_SOCK>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "dbhub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub@1.5.0"
      ],
      "env": {
        "DSN": "<YOUR_DSN>",
        "DB_TYPE": "<YOUR_DB_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "ID": "<YOUR_ID>",
        "SSH_HOST": "<YOUR_SSH_HOST>",
        "SSH_PORT": "<YOUR_SSH_PORT>",
        "SSH_USER": "<YOUR_SSH_USER>",
        "SSH_PASSWORD": "<YOUR_SSH_PASSWORD>",
        "SSH_KEY": "<YOUR_SSH_KEY>",
        "SSH_PASSPHRASE": "<YOUR_SSH_PASSPHRASE>",
        "SSH_AUTH_SOCK": "<YOUR_SSH_AUTH_SOCK>"
      }
    }
  }
}

Let your agent find its tools

Find servers like DBHub MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.