Skip to main content

qso-graph-auth

PyPI Python License: GPL v3

Persona and credential management for qso-graph MCP servers.

Provides a shared identity layer so that authenticated MCP servers (eqsl-mcp, qrz-mcp, lotw-mcp, hamqth-mcp) can retrieve credentials from the OS keyring without embedding secrets in configuration files.

Install

uv tool install qso-graph-auth   # the qso-auth command, on your PATH

MCP servers that need it install it themselves. For your own code: pip install qso-graph-auth.

Quick Start

# Create a persona
qso-auth persona add --name default --callsign YOUR_CALL --start 2020-01-01

# Enable providers
qso-auth provider enable default eqsl
qso-auth provider enable default qrz
qso-auth provider enable default lotw
qso-auth provider enable default hamqth
qso-auth provider enable default qrz_logbook

# Set credentials (stored in OS keyring)
qso-auth creds set default eqsl --username YOUR_CALL --password YOUR_PASS
qso-auth creds set default qrz --username YOUR_CALL --password YOUR_PASS
qso-auth creds set default lotw --username YOUR_CALL --password YOUR_PASS
qso-auth creds set default hamqth --username YOUR_CALL --password YOUR_PASS
qso-auth creds set default qrz_logbook --username YOUR_CALL --api-key YOUR_API_KEY

# Check credential health
qso-auth creds doctor

Providers

Provider Auth Type Description
eqsl username + password eQSL.cc electronic QSL
lotw username + password ARRL Logbook of The World
qrz username + password QRZ.com XML subscription
qrz_logbook username + API key QRZ.com Logbook API
hamqth username + password HamQTH.com callsign lookup

Security

  • Credentials are stored only in the OS keyring (macOS Keychain, GNOME Keyring, Windows Credential Locker)
  • Credentials are never written to config files, logs, tool results, or error messages
  • The persona index (~/.config/adif-mcp/personas.json) stores only non-secret metadata (callsign, provider names)
  • All external connections use HTTPS only

For MCP Server Authors

from qso_graph_auth.identity import PersonaManager

pm = PersonaManager()
username, secret = pm.require("default", "eqsl")

The require() method raises typed exceptions (PersonaNotFound, ProviderRefMissing, SecretMissing) with actionable error messages pointing users to the correct qso-auth creds set command.

CLI Reference

qso-auth persona add      Create a new persona
qso-auth persona list     List all personas
qso-auth persona show     Show persona details
qso-auth persona remove   Remove a persona
qso-auth provider list    List supported providers
qso-auth provider enable  Enable a provider for a persona
qso-auth provider disable Disable a provider for a persona
qso-auth creds set        Save credentials to OS keyring
qso-auth creds get        Show redacted credentials
qso-auth creds delete     Delete stored credentials
qso-auth creds doctor     Check credential health
qso-auth creds reset      Factory reset (delete all)

Development

git clone https://github.com/qso-graph/qso-graph-auth.git
cd qso-graph-auth
uv sync --group dev
uv run pytest

Part of QSO-Graph

This package is part of the qso-graph MCP server suite for amateur radio. See qso-graph.io for documentation.

License

GPLv3

Metadata

Release files for qso-graph-auth 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qso-graph-auth 0.1.7
File Size Uploaded Provenance Actions
qso_graph_auth-0.1.7.tar.gz 82.4 kB With provenance Details for qso_graph_auth-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qso-graph-auth 0.1.7
File Interpreter ABI Platform Actions
qso_graph_auth-0.1.7-py3-none-any.whl Python 3 none any Details for qso_graph_auth-0.1.7-py3-none-any.whl

Total release size: 116.5 kB

Release files / qso_graph_auth-0.1.7.tar.gz

Download URL qso_graph_auth-0.1.7.tar.gz
Size 82.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a8cec364f63abf01bc576427ad2edd3e2bee498ff6df70aaa851d78d42934d2d
BLAKE2b-256 checksum
How to use checksums
2a8e3af5c21c4ea1c6a8c42db4b40c9624034d2925b8bddc1468778d2ccef076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / qso_graph_auth-0.1.7-py3-none-any.whl

Download URL qso_graph_auth-0.1.7-py3-none-any.whl
Size 34.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82f5de5359edbc93a3b8ea1c051f132af3324d44c67197ccb68815c37f78eade
BLAKE2b-256 checksum
How to use checksums
4be6bbcb99f3cff9ed3bdee9a7f21603f4c4399bf1f3993d2bdd5899ca447a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for qso-graph-auth 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qso_graph_auth-0.1.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page