Skip to main content

Credential Setup Guide

How It Works​

QSO Graph uses two layers for credential management: a persona index (non-secret JSON file with your callsign and date range) and the OS keyring (where secrets are stored). A persona is your callsign identity; a provider is a service like eQSL or QRZ. Credentials are never stored in config files — only in your operating system's secure keyring.


Quick Start​

# 1. Install the foundation package
uv tool install qso-graph-auth

# 2. Create a persona (your callsign identity)
qso-graph-auth persona add --name ki7mt --callsign KI7MT --start 2020-01-01

# 3. Enable a service for that persona
qso-graph-auth provider enable ki7mt eqsl

# 4. Store its credentials (prompts for your username, then your password, hidden)
qso-graph-auth creds set ki7mt eqsl

# 5. List what's stored
qso-graph-auth creds doctor

That's it. The MCP servers will find your credentials automatically.

Don't skip provider enable

Credentials stored without it can't be used: the server reports that the persona has no ref for that service, and creds doctor doesn't list them.


Per-Server Credential Setup​

ServerProviderAuth TypeWhat You Need
eqsl-mcpeqslusername + passwordeQSL.cc login
lotw-mcplotwusername + passwordLoTW website login
qrz-mcp (lookup)qrzusername + passwordQRZ.com login (XML subscription for full data)
qrz-mcp (logbook)qrz_logbookusername + API keyQRZ API key from Settings → API
hamqth-mcphamqthusername + passwordHamQTH.com login (free account)
pota-mcp—nonePublic API, no setup needed
sota-mcp—nonePublic API, no setup needed
iota-mcp—nonePublic API, no setup needed
solar-mcp—nonePublic API, no setup needed
wspr-mcp—nonePublic API, no setup needed
QRZ has two providers

The XML API (callsign lookup, DXCC) uses your QRZ password via the qrz provider. The Logbook API (fetch QSOs, logbook status) uses a separate API key via the qrz_logbook provider. You only need qrz_logbook if you want logbook tools. Get your API key from QRZ → Settings → API.

eQSL​

qso-graph-auth provider enable ki7mt eqsl
qso-graph-auth creds set ki7mt eqsl

LoTW​

qso-graph-auth provider enable ki7mt lotw
qso-graph-auth creds set ki7mt lotw

QRZ (Callsign Lookup)​

qso-graph-auth provider enable ki7mt qrz
qso-graph-auth creds set ki7mt qrz

QRZ (Logbook API)​

qso-graph-auth provider enable ki7mt qrz_logbook
qso-graph-auth creds set ki7mt qrz_logbook

HamQTH​

qso-graph-auth provider enable ki7mt hamqth
qso-graph-auth creds set ki7mt hamqth

Verify Your Setup​

Run the doctor command to check all credentials at once:

qso-graph-auth creds doctor
ki7mt:eqsl — stored (username_password)
ki7mt:lotw — stored (username_password)
ki7mt:qrz — stored (username_password)
ki7mt:qrz_logbook — stored (api_key)
ki7mt:hamqth — stored (username_password)

Summary: stored=5, missing=0

To check a single persona:

qso-graph-auth creds doctor --persona ki7mt

CLI Reference​

Persona Commands​

CommandDescription
qso-graph-auth persona add --name NAME --callsign CALL --start YYYY-MM-DDCreate a persona
qso-graph-auth persona listList all personas
qso-graph-auth persona list --verboseList with callsign and date range
qso-graph-auth persona show NAMEShow persona details
qso-graph-auth persona set-active NAMESet the active persona
qso-graph-auth persona remove NAMEDelete a persona

Credential Commands​

CommandDescription
qso-graph-auth creds set PERSONA PROVIDERStore credentials (interactive prompt)
qso-graph-auth creds get PERSONA PROVIDERShow what is stored (secrets shown as •••)
qso-graph-auth creds delete PERSONA PROVIDERRemove credentials from keyring
qso-graph-auth creds doctorCheck all personas for missing credentials

Provider Commands​

CommandDescription
qso-graph-auth provider listList supported providers
qso-graph-auth provider enable PERSONA PROVIDEREnable a provider for a persona
qso-graph-auth provider disable PERSONA PROVIDERDisable a provider for a persona

Multiple Personas​

If you have multiple callsigns (contest calls, special events, club stations), create a persona for each:

# Primary callsign
qso-graph-auth persona add --name ki7mt --callsign KI7MT --start 2020-01-01 --providers eqsl qrz
qso-graph-auth creds set ki7mt eqsl
qso-graph-auth creds set ki7mt qrz

# Contest callsign (with end date)
qso-graph-auth persona add --name k7mt --callsign K7MT --start 2024-06-01 --end 2024-06-30 --providers eqsl
qso-graph-auth creds set k7mt eqsl

# Set your primary as active
qso-graph-auth persona set-active ki7mt

Troubleshooting​

Keyring backend not found (headless Linux)​

On servers or headless Linux systems without a desktop keyring, add the alternative backend. With uv, it has to be in both places that read the keyring: the qso-graph-auth tool, and each server.

uv tool install qso-graph-auth --with keyrings.alt

and in the server's client config:

"command": "uvx",
"args": ["--with", "keyrings.alt", "eqsl-mcp"]

This uses an encrypted file-based keyring instead of GNOME Keyring or KWallet.

"No credentials found" errors​

Run qso-graph-auth creds doctor to see which providers are missing credentials. The fix is always:

qso-graph-auth creds set PERSONA PROVIDER

Wrong username or password​

Delete and re-set the credentials:

qso-graph-auth creds delete ki7mt eqsl
qso-graph-auth creds set ki7mt eqsl

Where are credentials stored?​

OSKeyring Backend
macOSKeychain Access
WindowsCredential Manager
Linux (desktop)GNOME Keyring or KWallet
Linux (headless)keyrings.alt encrypted file

Credentials are stored under the service name adif_mcp with the key format persona:provider. You can view them in your OS keyring manager, but the CLI is the easiest way to manage them.