pair_ledger_solana
Pair a directly-connected Ledger device for Solana signing via USB. Requires unlocked device and Solana app open. Supports multiple accounts via account index.
Instructions
Pair the host's directly-connected Ledger device for Solana signing. REQUIREMENTS: Ledger plugged into the machine running this MCP (USB, not WalletConnect), device unlocked, and the 'Solana' app open on-screen. Ledger Live's WalletConnect integration does NOT expose Solana accounts, so Solana signing goes over USB HID via @ledgerhq/hw-app-solana (same USB path as TRON). Reads the device address at m/44'/501'/<accountIndex>' (default accountIndex=0 — the first Solana account in Ledger Live) and caches it so get_ledger_status can report it under the solana: [...] section. Call multiple times with different accountIndex values to pair additional Solana accounts. Call this once per session (per account) before prepare_solana_* or send_transaction with a Solana handle. If the Solana app isn't open, the device is locked, or the derivation path doesn't match your Ledger Live setup, returns an actionable error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountIndex | No | Ledger Solana account slot (hardened BIP-44 account index at path `44'/501'/<n>'`). 0 = first Solana account in Ledger Live, 1 = second, etc. Omit to pair the default account (index 0). Call multiple times with different indices to expose multiple Solana accounts in `get_ledger_status.solana`. |