ringo-mcp

v0.1.0
ringo-mcp Checked 1 hour ago

MCP server over stdio exposing ringo SIP agents for LLM-driven telephony

A terminal SIP softphone, a telephony test runner and an MCP server for LLM-driven calls, built on baresip. πŸ“– Documentation: https://davidborzek.github.io/ringo/ Support crates with no stable public API β€” pin an exact version if you depend on them directly.

Summary extracted from the README.

ringo is a cargo workspace of SIP telephony tools sharing one engine: a softphone you live in, a scenario runner that drives SIP agents headless for automated call testing, and an MCP server that hands those agents to an LLM.

πŸ“– Documentation: https://davidborzek.github.io/ringo/

ringo-phone: alice picks her profile, calls Bob, then Charlie while Bob is on hold, switches back and hangs up

Tools

Crate What it is Docs
ringo-phone The ringo softphone β€” a ratatui TUI managing multiple SIP profiles, with calls, contacts, transfers, remote control and headless automation Guide
ringo-flow A telephony scenario test runner β€” bring up SIP agents from a JavaScript/TypeScript scenario, drive them, and assert call behaviour (incl. audio) Guide Β· API
ringo-mcp An MCP server β€” exposes SIP agents as tools to LLM clients (dial, DTMF, transfer, INVITE headers, audio playback, recording) Guide

Internal crates

Support crates with no stable public API β€” pin an exact version if you depend on them directly.

Crate What it is
ringo-agent The per-agent process backend β€” runs a SIP user agent as its own process over a framed stdio protocol (live audio in/out); backs ringo-flow and ringo-mcp
ringo-core The shared engine β€” an FFI backend statically linking baresip/libre, plus the call-event model
ringo-profile The profile file format and custom-header templates β€” shared by ringo-phone and ringo-mcp

Install

The SIP stack (baresip, libre, OpenSSL) is built in β€” no separate baresip install needed.

ringo-phone ringo-flow ringo-mcp
Homebrew brew install davidborzek/tap/ringo brew install davidborzek/tap/ringo-flow brew install davidborzek/tap/ringo-mcp
AUR ringo-phone-bin ringo-flow-bin ringo-mcp-bin
Nix nix profile install github:davidborzek/ringo#ringo-phone …#ringo-flow …#ringo-mcp
cargo cargo binstall ringo-phone cargo binstall ringo-flow cargo binstall ringo-mcp
Docker β€” ghcr.io/davidborzek/ringo-flow β€”

Pre-built binaries for Linux and macOS (x86_64 + arm64) are on the releases page. The getting-started pages (phone, flow, mcp) have the details: the Nix binary cache, runtime libraries for the plain binaries, and cargo install from source.

Then run ringo and press Ctrl+N to create your first profile.

Development

Building from source needs Rust 1.85+ and a C toolchain + CMake for the vendored baresip/libre/OpenSSL, which are statically linked. The repo is a cargo workspace; build and test all crates together:

cargo build --workspace
cargo test --workspace
cargo clippy --workspace

See BUILD.md for the full build setup β€” git submodules, system dependencies, and the vendored/static linking of libre, libbaresip and OpenSSL.

Contributions are welcome. Please open an issue before submitting large changes so we can discuss the approach first.

License

MIT β€” see LICENSE.