Skip to content

mcp configuration

Note

This feature is available in dbvr Pro only.

mcp configuration - print an MCP configuration snippet for a datasource.

Synopsis

dbvr mcp configuration [-hV]
                       [-p=<dbPassword>]
                       [--project=<projectIdOrName>]
                       [-u=<dbUser>]
                       [-auth=<authParams>]...
                       [-ext=<providerParams>]...
                       [-prop=<connectionParams>]...
                       [[-net=<handlerParams>]...
                        [-net-save-pwd=<savePassword>]]
                       (-ds=<existDataSourceIdOrName> |
                       -con=<connectionSpec>)

Tip

You can also use global options with this command.

Description

Prints a JSON configuration snippet you can paste into your AI tool's MCP settings. The snippet tells the AI tool how to launch dbvr mcp start for the specified datasource.

Note

Each AI tool has its own way to configure MCP servers - the snippet format and file location may differ. Check your tool's documentation for details.

Example

dbvr mcp configuration -ds=my-postgres

Output:

{
  "mcpServers": {
    "dbvr": {
      "command": "/Applications/dbvr.app/Contents/MacOS/dbvr",
      "args": [
        "mcp",
        "start",
        "-ds",
        "my-postgres"
      ]
    }
  }
}

Paste this into your AI tool's MCP configuration file. The exact location depends on the tool you're using - check its documentation for where MCP servers are configured.