# DBHub Configuration
# Connection String (preferred method)
# Use one of these DSN formats:
# DSN=postgres://user:password@localhost:5432/dbname
# DSN=sqlite:///path/to/database.db
# DSN=sqlite::memory:
# DSN=sqlserver://user:password@localhost:1433/dbname
# DSN=mysql://user:password@localhost:3306/dbname
DSN=
# Transport configuration
# --transport=stdio (default) for stdio transport
# --transport=sse for SSE transport with HTTP server
TRANSPORT=stdio
# Server port for SSE transport (default: 3000)
PORT=3000
# SSH Tunnel Configuration (optional)
# Use these settings to connect through an SSH bastion host
# SSH_HOST=bastion.example.com
# SSH_PORT=22
# SSH_USER=ubuntu
# SSH_PASSWORD=mypassword
# SSH_KEY=~/.ssh/id_rsa
# SSH_PASSPHRASE=mykeypassphrase
# Read-only mode (optional)
# Set to true to restrict SQL execution to read-only operations
# READONLY=false
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bytebase/dbhub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server