sstv-decoder-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sstv-decoder-mcp decode the Robot 36 SSTV audio from ~/Downloads/iss_pass.wav into PNG frames"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SSTV Decoder
English | 简体中文 | Project Showcase (docs/)
A cross-agent open-source Robot 36 SSTV audio decoder for amateur radio operators and ISS / ARISS satellite listeners.
Works seamlessly across Cursor, Claude Desktop, Claude Code, OpenAI Codex, Antigravity, Windsurf, ChatGPT, and plain command-line workflows via MCP (Model Context Protocol) and Agent Skills (SKILL.md).
Showcase Website: A static bilingual showcase & author page is included in
docs/. Enable GitHub Pages (Source:Deploy from a branch→/docs) or deploydocs/directly to Vercel.
Features
Automatic Frame Detection: Scans full pass recordings for Robot 36 VIS headers (
VIS 8), no manual timestamps required.Sync Calibration & Stereo Selection: Fits the
150 msscan clock per frame and automatically picks the cleaner channel (mono,left, orright).Weak Signal Recovery: Falls back to noise-covariance spectral estimation when line sync or carrier strength is weak, tagging outputs as
partialinstead of failing silently.Broad Audio Format Support: Accepts WAV, M4A/MP4, MP3, FLAC, OGG/Opus, AAC, AIFF, WebM, WMA (via FFmpeg), up to 15 minutes and 128 MiB.
Dual Open Standards:
Local
stdioMCP Server (sstv-decoder-mcp): Zero server setup, decodes local files directly, writes PNGs +report.json, and returns inline image previews to multimodal agents.Remote Streamable HTTP MCP Server (
sstv-decoder mcp --transport http): Supports HTTPSaudio_url, ChatGPT file attachments (openai/fileParams), and MCP App result cards.Universal Agent Skill (
skills/sstv-decoder/SKILL.md): Works with any Agent Skills-compatible client (agentskills.io).
Related MCP server: beatlyzer-mcp
Prerequisites
Python 3.11+ (or
uvfor zero-setupuvxexecution)FFmpeg & ffprobe on
PATH:macOS:
brew install ffmpegUbuntu/Debian:
sudo apt update && sudo apt install -y ffmpegWindows:
winget install Gyan.FFmpeg
Scope & Quick Start (One Command for Every Agent)
Scope note:
sstv-decodertakes over after you have recorded an SSTV radio audio file (via handheld transceiver, Yagi antenna, or SDR). Pass prediction and satellite tracking are outside its scope; once you hand the recorded audio to your AI agent, header detection, sync calibration, and image decoding run automatically.
Install across Claude Code, Cursor, OpenAI Codex, Antigravity, Windsurf, GitHub Copilot, Gemini CLI, and 75+ compatible agents with a single command:
npx skills add BruceStyle/sstv-decoderAdvanced Setup: Local / Remote MCP Server
For clients that prefer MCP (such as Claude Desktop or custom MCP setups), replace "uvx", "sstv-decoder-mcp" with "uvx", "--from", "git+https://github.com/BruceStyle/sstv-decoder", "sstv-decoder-mcp" before publishing to PyPI.
1. Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"sstv-decoder": {
"command": "uvx",
"args": ["sstv-decoder-mcp"]
}
}
}2. Claude Desktop
Add to claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"sstv-decoder": {
"command": "uvx",
"args": ["sstv-decoder-mcp"]
}
}
}3. Claude Code
claude mcp add sstv-decoder -- uvx sstv-decoder-mcp4. OpenAI Codex
Add to ~/.codex/config.toml:
[mcp_servers.sstv-decoder]
command = "uvx"
args = ["sstv-decoder-mcp"]5. Antigravity / Windsurf / VS Code
Add sstv-decoder to your MCP JSON configuration:
{
"mcpServers": {
"sstv-decoder": {
"command": "uvx",
"args": ["sstv-decoder-mcp"]
}
}
}6. ChatGPT & Remote Web Agents (Streamable HTTP MCP)
Run the HTTP server via Docker or Python, expose it over HTTPS, and connect https://<your-domain>/mcp:
uvx sstv-decoder mcp --transport http --host 0.0.0.0 --port 8000CLI Usage
# Inspect audio metadata & VIS headers without full decoding
uvx sstv-decoder inspect /path/to/iss_pass.m4a
# Decode Robot 36 frames into <stem>_sstv/ or a custom directory
uvx sstv-decoder decode /path/to/iss_pass.m4a -o ./output_frames
# Start local stdio MCP server
uvx sstv-decoder mcp
# Start remote Streamable HTTP MCP server
uvx sstv-decoder mcp --transport http --host 127.0.0.1 --port 8000MCP Tools
Local stdio Server (sstv-decoder-mcp)
decode_sstv_audio(audio_path, output_dir?, include_images?, overwrite?): Decodes Robot 36 frames, savesframe-01.png... andreport.json, and returns inline PNGImageContent+ structured metadata.inspect_sstv_audio(audio_path): Probes audio metadata and scans for all SSTV VIS headers.list_supported_modes(): Lists supported modes, accepted audio formats, limits, and known VIS codes.
Remote HTTP Server (/mcp)
decode_robot36_audio(audio?, audio_url?): Accepts either ChatGPT file attachments (openai/fileParams) or an HTTPSaudio_url, renders an interactive MCP App preview card (ui://sstv-decoder/results.html), and serves temporary PNG downloads.
Self-Hosting (Docker & Environment Variables)
docker build -t sstv-decoder .
docker run -p 8000:8000 \
-e SSTV_PUBLIC_ORIGIN=https://sstv.example.org \
-e SSTV_ALLOW_PUBLIC_URLS=1 \
sstv-decoderVariable | Description | Default |
| Public HTTPS origin used for result PNG URLs and CSP |
|
| Comma-separated host allowlist for remote audio URLs |
|
| Set |
|
| Additional allowed CORS/Origin values (comma-separated) |
|
| Set | In-memory (30 min TTL) |
| Optional verification token at | Unset |
Development & Publishing to PyPI
PyPI accounts are completely free and do not require a credit card.
# Install dev environment
uv sync
# Run all unit tests
uv run python -m unittest discover -s tests -v
# Build wheel and source tarball
uv build
# Publish to PyPI (using an API token)
uv publishLicense
Available Tools
3 toolsdecode_sstv_audioDecode SSTV AudioA
Decode Robot 36 SSTV transmissions from a local audio file into 320x240 PNG images and a report.json summary. Automatically locates VIS headers, aligns line sync, picks the stronger stereo channel, and falls back to spectral recovery for weak signals.
Inputs: audio_path (required), overwrite, output_dir, include_images.
inspect_sstv_audioInspect SSTV AudioARead-only
Inspect a local audio recording for stream metadata (format, codec, channels, duration) and detect SSTV VIS headers without full frame demodulation.
Inputs: audio_path (required).
list_supported_modesList Supported SSTV ModesARead-only
Return supported SSTV modes, accepted audio formats, limits, and known VIS codes.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool maps to a clearly distinct action on the same domain object (audio file): full demodulation, metadata/VIS inspection, and static capability listing. There is no realistic way to confuse inspect_sstv_audio with decode_sstv_audio since one explicitly avoids frame demodulation.
All tools follow a consistent snake_case verb_noun pattern (decode_sstv_audio, inspect_sstv_audio, list_supported_modes), with the shared '_sstv_audio' suffix reinforcing domain grouping. The static capability tool drops the suffix but keeps the same verb-first convention.
Three tools is a tight, well-scoped surface for a narrow SSTV decoding server, and each earns its place. It is slightly thin — a single decode call with no variant/options tools leaves little room for workflow flexibility.
The core lifecycle is covered: discover capabilities, inspect input, decode to output. Minor gaps exist, such as no batch/multi-file decoding, no image post-processing or format options, and decode appears limited to Robot 36 despite listing other modes.
Maintenance
Related MCP Connectors
Decode an SSTV audio recording and anchor its fingerprint and image hash to the Knox event chain.
Video, audio, and image processing for AI agents: convert, transcribe, upscale - 150+ operations.
Audio for your agent: transcribe, speak, translate, summarise, plus sound effects and music.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides audio inspection, conversion, processing, and generation capabilities via SoX, enabling AI agents to 'hear' and manipulate audio files through structured JSON interfaces.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to analyze audio files, extracting tempo, key, beat drops, volume surges, high tones, loudness, brightness, and structure, and returning structured JSON and visualizations.2MIT
- AlicenseBqualityBmaintenanceEnables AI agents to process RF signals, perform spectral analysis, and execute radar DSP primitives such as Range-Doppler processing and CFAR detection, supporting both file-based and live SDR capture.14MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to capture, decode, and analyze signals from logic analyzers and measurement devices via sigrok-cli, supporting I2C, SPI, UART, CAN, and 100+ protocols.17MIT