Skip to main content
DBHub can be integrated with LibreChat using either stdio or Streamable HTTP transport.

Configuration Options

  • stdio
  • Streamable HTTP
librechat.yaml
mcpServers:
  dbhub:
    type: stdio
    command: npx
    args:
      - -y
      - "@bytebase/dbhub"
      - "--dsn"
      - "postgres://user:password@localhost:5432/dbname"
    timeout: 60000
For demo mode:
librechat.yaml
mcpServers:
  dbhub:
    type: stdio
    command: npx
    args:
      - -y
      - "@bytebase/dbhub"
      - "--demo"
    timeout: 60000

References