{
  "name": "dbhub",
  "display_name": "DBHub - Universal Database Gateway",
  "description": "Universal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc.",
  "repository": {
    "type": "git",
    "url": "https://github.com/bytebase/dbhub"
  },
  "homepage": "https://github.com/bytebase/dbhub/",
  "author": {
    "name": "bytebase"
  },
  "license": "MIT",
  "categories": [
    "Databases"
  ],
  "tags": [
    "Database Gateway",
    "PostgreSQL",
    "MySQL",
    "SQL Server",
    "SQLite"
  ],
  "installations": {
    "docker": {
      "type": "docker",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "bytebase/dbhub",
        "--transport",
        "stdio",
        "--dsn",
        "${DATABASE_URL}"
      ]
    },
    "npx": {
      "type": "npm",
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub",
        "--transport",
        "stdio",
        "--dsn",
        "${DATABASE_URL}"
      ]
    }
  },
  "arguments": {
    "DATABASE_URL": {
      "description": "The database connection string which includes the user, password, host, port, and database name.",
      "required": true,
      "example": "postgres://user:password@localhost:5432/dbname?sslmode=disable"
    }
  },
  "tools": [
    {
      "name": "list_connectors",
      "description": "Lists all available database connectors and their sample DSNs. Indicates which connector is active based on the current DSN.",
      "inputSchema": {},
      "required": []
    },
    {
      "name": "run_query",
      "description": "Executes a SQL query and returns the results.",
      "inputSchema": {
        "query": {
          "type": "string",
          "description": "SQL query to execute"
        }
      },
      "required": [
        "query"
      ]
    }
  ]
}