Roshi's Signal MCP — Zen Buddhist Roshi meditating on a starry mountain temple veranda with a glowing Signal emblem floating above his cosmic mudra

Antigravity Plugin · Open MCP 2.x Server · Standalone CLI

One local Signal MCP. Every major AI, zero cloud relay.

Read, search, export decrypted media, enforce lockable ignore lists and text redaction, automate watch triggers, and optionally send Signal messages—running 100% locally against your live Signal Desktop 7.x / 8.x database.

v0.2.0 Python ≥ 3.10 21 MCP Tools Windows · macOS · Linux 6/6 Unit Tests Passing MIT License

Install in seconds

Start with one command in Antigravity

Installs the plugin manifest, all 21 MCP tools, the guided roshi-signal-mcp skill, and built-in safety rules. On first run, bootstrap_mcp.py creates an isolated venv automatically.

Antigravity CLI
agy plugin install RIAEvangelist/roshi-signal-mcp

Open Model Context Protocol (stdio)

Works with every major AI client

Because Roshi's Signal MCP exposes a standard MCP 2.x stdio server through zero-config bootstrap_mcp.py, the exact same tools, ignore lists, redaction rules, and watch engine work across Antigravity, OpenAI Codex, Claude, Cursor, Windsurf, Cline, Zed, Gemini CLI, or standalone in your terminal.

Google Antigravity (App, CLI, IDE)

Install directly from GitHub—loads the MCP server, bundled skill, and safety rules as one unit.

Shell / PowerShell
agy plugin install RIAEvangelist/roshi-signal-mcp

Manual cross-platform option: copy the folder into ~/.gemini/config/plugins/roshi-signal-mcp.

Built for Signal Desktop 7.x / 8.x

Core capabilities

Live WAL-safe reads while Signal Desktop stays open, cross-platform OS key unwrapping, and crash-safe media decryption.

01 · Direct Search

Query SQLite directly with ±N context

Filter by keyword, regex, conversation, sender, media presence, and inclusive date ranges (until="YYYY-MM-DD" covers the full day). Include surrounding messages so AI sees captions next to receipt photos—without exporting the whole chat first.

02 · Resumable Exports

Crash-safe media decryption & backfill

Decrypts Signal Desktop version = 2 blobs (AES-256-CBC + HMAC-SHA256 + padding trim) atomically via .part files into chronological media/, JSON, Markdown, and a searchable HTML gallery. Call resume_export anytime to repair interrupted runs or backfill newly downloaded attachments.

03 · Privacy Boundary

Strict ignore lists & lockable redaction

Block entire chats, contacts (even inside shared groups), keywords, or regexes from every read, search, export, watcher, and send. Redact SSNs, Luhn-valid cards, emails, phones, API keys, and custom terms—and run policy lock from CLI so AI callers can never weaken rules.

04 · Watch & Send

Declarative triggers & linked-device send

Define rules in plain English: when a message matches a person, group, keyword, regex, or photo, automatically reply on Signal, incrementally export media, launch an Antigravity conversation, or run a CLI command like codex exec. Pair signal-cli with one browser QR scan.

Defense-in-depth local policy

Ignore lists, text redaction & live preview

Policy rules live privately at ~/.roshi-signal-mcp/privacy_policy.json and are enforced before any tool or export sees data. Try the client-side redaction preview below (runs 100% locally in your browser; nothing is transmitted).

Interactive redaction preview

Toggle built-in presets or enter a custom term to preview how Roshi's Signal MCP scrubs message bodies, quotes, captions, and filenames.

Active redaction presets
Redacted output 0 redactions

Scope boundary: Redaction applies to text, quotes, captions, sender labels, transcripts, and filenames. Binary images and PDFs are not OCR-redacted; use set_block_media_on_redacted or the strict ignore list to exclude binary media.

Strict ignore-list categories
Category Enforced Scope
conversations Exact name, glob (Attorney*), UUID, group ID, or phone. Hidden from lists; raises PermissionError on read, search, export, extract, watch, or send.
senders Hides their private DM and strips their messages & reactions from shared group chats.
keywords Omits any message whose body, quote, caption, or filename contains the keyword.
regexes Omits any message matching the regex across all tools and exports.

CLI Policy Lock

Lock your ignore list and redaction rules from your terminal so AI agents can still add protections but can never remove or weaken them:

PowerShell
.\signal-cli-tool.ps1 ignore add conversations "Attorney*"
.\signal-cli-tool.ps1 redact preset-on ssn
.\signal-cli-tool.ps1 policy lock

Real-time or scheduled reactions

Watch & trigger automation

Ask Antigravity or Codex in plain English to react to incoming Signal messages. Every rule enforces your ignore list, scrubs text before rendering templates, deduplicates message IDs, and ignores your own outgoing messages by default to prevent reply loops.

Action · reply

Auto-reply on Signal

Respond immediately via linked signal-cli using redacted template variables like {sender}, {conversation}, and {body}.

Action · export

Auto-archive new media

Incrementally decrypt and save new receipt photos or PDFs the moment they land in a monitored group chat.

Action · antigravity_task

Spawn an Antigravity task

Launches a fresh Antigravity conversation via the local ConversationService API with the redacted message and extracted attachment paths.

Action · command

Run Codex or any local CLI

Execute codex exec, Python scripts, or local hooks with SIGNAL_SENDER, SIGNAL_BODY, and SIGNAL_ATTACHMENT_PATHS env vars.

Complete public MCP contract

All 21 MCP tools

Filter the live MCP tool catalog by category or keyword.

Roshi's Signal MCP 21-tool reference
Tool Category Description
list_conversationsRead & SearchList/filter non-ignored Signal Desktop chats & groups with message and local media counts.
get_messagesRead & SearchRead messages from a chat with inclusive since/until date ranges, has_media, and text filter.
search_messagesRead & SearchDirect SQLite search with date range, sender, media, regex, pagination, and ±N surrounding context.
extract_attachmentRead & SearchDecrypt a single attachment by message_id to disk for direct inspection.
export_conversationExport & ResumeAtomically export messages and decrypted media to JSON, Markdown, and a searchable HTML gallery.
resume_exportExport & ResumeRecover interrupted exports, restore missing/corrupt files, backfill newly downloaded media, and pick up new messages.
get_privacy_policyPrivacy PolicyInspect active ignore lists, redaction presets/rules, lock status, and policy path.
manage_ignore_listPrivacy PolicyAdd or remove ignored conversations, senders, keywords, or regexes (respects CLI policy lock).
manage_redaction_rulesPrivacy PolicyToggle built-in presets, literal terms, custom regexes, and block_media_on_redacted.
test_redactionPrivacy PolicyPreview how sample text is redacted or ignored under the current privacy policy without touching Signal.
list_watch_rulesWatch & TriggersList all configured Signal watch and trigger rules.
add_watch_ruleWatch & TriggersCreate a rule matching conversation/sender/text/media to trigger reply, export, Antigravity task, or command.
toggle_watch_ruleWatch & TriggersEnable or disable an existing watch rule by ID or name.
delete_watch_ruleWatch & TriggersDelete a watch rule by ID or name.
check_new_messagesWatch & TriggersReturn only brand-new non-ignored, redacted messages received since the persisted cursor.
run_watch_rules_onceWatch & TriggersEvaluate all enabled watch rules once against newly arrived messages (supports dry_run=True).
manage_signal_watcherWatch & TriggersStart, stop, inspect status, or reset the cursor of the live background Signal watcher.
signal_send_statusSendingCheck signal-cli installation backend and linked Signal account readiness.
link_signal_deviceSendingStart linked-device pairing and generate both a QR PNG and a browser-ready HTML page.
sync_signal_accountSendingSync contacts and groups from your primary Signal phone into signal-cli.
send_signal_messageSendingSend text and/or local file attachments by conversation name, phone, UUID, or group ID (supports dry_run).

Storage, security & verification

Local trust boundary

Zero cloud relay & in-memory keys

Signal Desktop database decryption (Windows DPAPI, macOS Keychain, Linux secret-tool) and attachment decryption happen strictly locally under your OS account. Database keys and attachment localKey values stay in memory only and are never logged or written to disk. User exports default to ~/SignalExports/ and policies live in ~/.roshi-signal-mcp/.

Automated verification

The isolated unit test suite (tests/test_privacy_and_watch.py) uses a synthetic SQLCipher profile and verifies ignore-list blocking across every surface, Luhn & SSN/ITIN redaction, anti-oracle search, CLI policy locks, watch trigger dedup/loop protection, inclusive date search with context, and crash-safe resume_export backfill.

Run tests
python -m unittest discover -s tests -v