Sign in to DNSimple (OAuth)
dnsimple_auth_loginStarts DNSimple OAuth sign-in by returning an authorize URL for the user to open and approve; use it when no browser is available, then pass the redirect URL to the completion tool.
Instructions
Sign in to DNSimple with OAuth, step 1 of 2. This server runs where no browser can be opened, so this returns an authorize_url right away instead of opening one. Give that URL to the user to open in a browser on any computer and approve. Their browser then lands on an address starting with http://127.0.0.1 that fails to load (expected). Step 2: ask the user to copy that whole address and pass it to dnsimple_auth_complete as redirect_url. No token is typed, shown or stored by this server. The new context becomes the active one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dnsimple_auth_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the stored context (default: "production" or "sandbox"). | |
| sandbox | No | Sign in to the DNSimple sandbox environment instead of production. | |
| wait_seconds | No | Ignored here: the link is returned immediately. |