Skip to Content
dbmcp

Goose

Add dbmcp to Goose as a command-line extension with goose configure or config.yaml

Run goose configure and choose Add Extension → Command-line Extension, with dbmcp (or npx -y @haymon-ai/dbmcp) as the command. Or edit ~/.config/goose/config.yaml (Windows: %APPDATA%\Block\goose\config\config.yaml):

~/.config/goose/config.yaml
extensions:
  dbmcp:
    type: stdio
    name: dbmcp
    enabled: true
    cmd: dbmcp
    args: []
    envs:
      DBMCP_DB_BACKEND: mysql
      DBMCP_DB_HOST: 127.0.0.1
      DBMCP_DB_USER: root
      DBMCP_DB_PASSWORD: secret
      DBMCP_DB_NAME: mydb
    timeout: 300