fldigi-mcp
v0.4.2Control fldigi (amateur-radio digital modes) over XML-RPC: modem, frequency, rig, log, transmit.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
status
Snapshot: version, modem, frequency (Hz), TX/RX state, transmit gate, region, band.
diagnostics
Host + network diagnostics for troubleshooting connectivity. Does NOT connect to fldigi. Reports the resolved FLDIGI_HOST/PORT, this process's Python and hostname, the transmit-gate state, and the host's network interfaces — so you can tell whether the process can even see the target's network (e.g. when running host-side vs. sandboxed). If a LAN host fails, ask again once (macOS checks the Local Network permission on the first connection), then see docs/INSTALL.md; mcp-host-bridge is the fallback for clients that cannot reach LAN addresses.
application
The fldigi program and its process. Info operations: version, version_struct, name, name_version, config_dir, list_methods. Process operations: launch, stop, terminate, is_running. `launch` starts fldigi pointed at the configured XML-RPC endpoint; `stop`/ `terminate` ask it to quit (saving options; optionally the log/macros) and fall back to ending a process this server started.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
save_log | boolean | |
save_macros | boolean |
modem
Operating mode (the fldigi "Op Mode" menu) and modem settings. operations: get, list, get_id, get_max_id, set (value=mode name e.g. 'BPSK31'), set_by_id (value=id), get_io_names (modems usable for KISS/ARQ I/O), get/set/inc_carrier, get/set/inc_afc_range, get/set/inc_bandwidth, get_quality, search_up, search_down, olivia_get/set_bandwidth, olivia_get/set_tones.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
value |
frequency
RF frequency and waterfall sideband. operations: get, set (value=Hz), increment (value=Hz), get_sideband, set_sideband (value='USB'|'LSB').
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
value |
controls
fldigi operating controls (the AFC / SQL / Rev / Lock / RxID / TxID buttons) and status. operations: get/set/toggle_afc, get/set/toggle_squelch (SQL), get/set/inc_squelch_level, get/set/toggle_reverse (Rev), get/set/toggle_lock (Lock), get/set/toggle_rxid (RxID), get/set/toggle_txid (TxID), get_status1, get_status2, get_trx_status, get_trx_state.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
value |
transmit
Transmitter control. operations: tx, tune, rx, abort, disable_tx, enable_tx, run_macro (value=id), get_max_macro_id, send (text=...), and timing information: tx_timing (value=test string), char_rates, char_timing (value=one character); both timings return 'samples : sample rate : seconds'. Keying operations (tx, tune, run_macro, send) require a configured callsign; rx, abort, disable_tx and the timing operations never key and are always allowed. `send` queues text and transmits, auto-returning to receive by default.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
return_to_rx | boolean | |
text | ||
value |
rig
Rig (CAT) control via flrig/Hamlib/RigCAT. operations: get/set_name, get/set_frequency (value=Hz), get/set_mode (value=name), get_modes, set_modes (value=[...]), get/set_bandwidth, get_bandwidths, set_bandwidths (value=[...]), get/set_notch, enable_qsy (value=1|0), set_smeter / set_pwrmeter (value=int, drives fldigi's meter display).
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
value |
log
Logbook (QSO / contest) fields. operations: get (field=...), set (field=..., value=...), clear, last_record, all_records. Settable fields: call, name, qth, locator, serial_number, exchange, rst_in, rst_out, contest_counter (set only: the starting contest serial number). Gettable fields also include frequency, time_on/off, serial_number_sent, state, province, country, band, notes, az. last_record / all_records return ADIF.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
field | ||
value |
text
RX/TX text and data. operations: read (decoded RX text; start/length), rx_length, get_rx (value=[start, length], the raw byte range), clear_rx, add_tx (value=text), add_tx_queue, add_tx_bytes (value=text or bytes), clear_tx, get_rxtx_data, get_rx_data, get_tx_data. `add_tx` / `add_tx_bytes` only stage text in the TX widget; they do not transmit.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
length | ||
start | integer | |
value |
spot
Spotting / PSK Reporter. operations: get_auto, set_auto (value=bool), toggle_auto, pskrep_count.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
value |
wefax
WEFAX (weather fax) mode. operations: state, skip_apt, skip_phasing, tx_abort, end_reception, start_manual_reception, set_adif_log (value=bool), set_max_lines (value=int), get_received_file (value=timeout), send_file (value=[filename, timeout_seconds]). send_file transmits and is callsign-gated.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
value |
flmsg
flmsg (message forms) interworking. operations: online, available, transfer, squelch, get_data (RX data since the last query). These signal or hand data to a running flmsg; none of them key the transmitter.
| Parameter | Type | Description |
|---|---|---|
operation * | string |
io
ARQ / KISS I/O port. operations: in_use (which port is active), enable_kiss, enable_arq.
| Parameter | Type | Description |
|---|---|---|
operation * | string |
legacy
Deprecated fldigi methods, kept so the whole catalog is reachable. Each has a current equivalent, which you should prefer: get/set_sideband -> frequency get/set_sideband; rsid -> controls toggle_rxid; get/set_rig_name, get/set_rig_frequency, get/set_rig_mode(s), get/set_rig_bandwidth(s) -> the rig tool; log_get_sideband -> frequency get_sideband; flmsg_online/available/transfer/squelch -> the flmsg tool.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
value |
browser
fldigi's Signal Browser over XML-RPC: every station the multi-channel decoder bank has locked to in the passband, with the text decoded on each channel. This is what the left-hand browser panel shows, and it copies stations far too weak for the waterfall to show. operations: channels (list of {channel, freq, active, text}; text accumulates since the last clear, a newline marks a lost-and-regained signal), clear, available. Runs for PSK, RTTY and CW modems (fldigi's browser covers those). Needs a fldigi built with the patch in fldigi-mcp/patches; stock 4.2.13 has no…
| Parameter | Type | Description |
|---|---|---|
operation | string |
rsid
RSID bursts the detector heard: which modes were announced in the passband and where, as {utc, mode, hz} entries since the last clear. Works with fldigi's RSID set to notify-only (RxID on, "do not change modem"), so the current modem keeps decoding while the list tells you what else is on. operations: hits, clear, available. Needs a fldigi built with the rsid-hits patch in fldigi-mcp/patches; on stock 4.2.13 the tool says so instead of failing. Receive only.
| Parameter | Type | Description |
|---|---|---|
operation | string |
fldigi_call
Escape hatch: call ANY fldigi XML-RPC method by dotted name (e.g. 'rig.get_mode'). Use `station` with operation 'list_methods' to discover every method the running build supports. Keying methods remain callsign-gated.
| Parameter | Type | Description |
|---|---|---|
method * | string | |
params |
signal_hunt
Find and name the signals in the receiver audio and rank them the way a contest operator reads the waterfall: the station that sits still and calls CQ scores highest. method 'audio' (default): tap `seconds` of audio from the input device (FLDIGI_AUDIO_DEVICE, the device fldigi listens on; or `device` as a name substring or index; `wav` analyses a file instead). Needs the optional extra: pip install 'fldigi-mcp[hunt]'. method 'devices': list the input devices the tap can open. method 'browser': read fldigi's Signal Browser (needs the browser patch, see the `browser`…
| Parameter | Type | Description |
|---|---|---|
device | ||
method | string | |
mode | ||
seconds | number | |
top | integer | |
wav |
tune_to
Set fldigi to a signal_hunt candidate: modem by fldigi name (e.g. 'RTTY', 'BPSK31', 'OLIVIA-8/250', 'MFSK16', 'DOMEX11', 'MT63-500'), the audio carrier, AFC on, and RxID off by default so another station's RSID burst cannot retune the modem mid-pass. Read the result with `text` read after 20 seconds; `modem` get_quality says whether it locked. Does not transmit.
| Parameter | Type | Description |
|---|---|---|
carrier_hz * | integer | |
fldigi_modem * | string | |
afc | boolean | |
rxid | boolean |
band_guidance
Advisory band guidance (experimental, region-aware) — informational / QSY help only. operations: - lookup (frequency_hz, optional mode): what the band plan says at a frequency. - watering_hole (mode, optional band): the preferred calling frequency for a mode. - move_to_watering_hole (mode): set the dial to that frequency (does NOT transmit).
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
band | ||
frequency_hz | ||
mode |