get_pairing_credentials
Retrieve deep link, websocket URL, and token for browser pairing with the QuestDB MCP bridge. Display these credentials to the user, then call wait_for_pairing to complete the connection.
Instructions
Get the credentials the user needs to pair their browser with this MCP bridge — calling this tool does NOT itself pair anything. It returns a deep_link, ws_url, token, AND a pre-rendered userMessage with the exact text to show the user. REQUIRED FLOW — do all three in the defined: (1) call this tool, (2) write a message to the user containing the userMessage text (or your own equivalent showing deep_link + ws_url + token), (3) call wait_for_pairing. DO NOT skip step (2). Calling wait_for_pairing without first showing the credentials guarantees a timeout — the user has no credentials to enter, so they cannot pair. By default this also auto-opens the deep link in the user's default browser; pass auto_open_browser:false to suppress that and just return the credentials. Returns paired:true if already paired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_open_browser | No | Whether to automatically open the pairing deep link in the user's browser. Defaults to true. Pass false to suppress the auto-open (e.g. headless / CI / background contexts, or when you don't want to steal the user's focus) and just return the credentials for them to open manually. |