Roshi's Signal MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SIGNAL_EXPORT_DIR | No | Override the default user export directory. Defaults to ~/SignalExports/. | |
| ROSHI_SIGNAL_STATE_DIR | No | Override the directory where privacy policies and watch state live. Defaults to ~/.roshi-signal-mcp/. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read, search, and export Signal Desktop conversations and decrypted media attachments (live, read-only), enforce ignore lists and text redaction policies, watch for incoming Signal messages with trigger rules, and send Signal messages/media via linked signal-cli.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_conversationsA | List non-ignored Signal Desktop conversations (chats and groups) ordered by most recent activity, including message counts and local attachment counts. |
| get_messagesB | Fetch messages from a Signal Desktop conversation (matched by name, ID, groupId, or phone). Enforces ignore list and text/metadata redaction rules automatically. |
| search_messagesA | Search non-ignored Signal Desktop messages directly in the database (faster and cleaner than exporting first). Supports date ranges (since/until inclusive), sender filter, media filter, regex matching, pagination, and surrounding context messages (±N), with automatic redaction. |
| export_conversationB | Export a Signal Desktop conversation and decrypt all local media attachments (images, PDFs, videos, documents) into a folder with JSON, Markdown, and a searchable HTML gallery. Strictly enforces ignore lists and text/metadata redaction rules. |
| resume_exportA | Resume an interrupted export, repair deleted or corrupt media files, backfill attachments that Signal Desktop has newly downloaded since the last run, and pick up any new messages. Reads conversation and options directly from <output_dir>/manifest.json. |
| extract_attachmentB | Decrypt and save a single attachment from a Signal message by message_id so it can be opened or inspected directly (blocked if conversation/message is ignored). |
| get_privacy_policyA | Inspect the active Signal privacy policy: ignore list (blocked conversations, senders, keywords, regexes), redaction rules & presets, lock state, and policy file path. |
| manage_ignore_listA | Add or remove entries from the strict Signal ignore list (things that must NEVER be read, searched, exported, extracted, watched, or optionally messaged). If the policy is locked via CLI, entries can still be added but cannot be removed. |
| manage_redaction_rulesB | Configure Signal text/metadata redaction rules (applies to all reads, searches, exports, filenames, and watch payloads; note that binary images/PDFs are not OCR-redacted, though block_media_on_redacted can block media on redacted messages). When the policy is locked via CLI, rules can be strengthened/added but not weakened. |
| test_redactionA | Test sample text against the active redaction rules and ignore keywords without touching Signal. |
| list_watch_rulesA | List all configured Signal watch/trigger rules (matchers and actions). |
| add_watch_ruleA | Create a Signal watch/trigger rule (e.g. 'when I get a message from X or containing Y, reply / export / launch an Antigravity task / run a CLI command like Codex'). Refuses rules targeting ignored conversations or senders. |
| toggle_watch_ruleB | Enable or disable an existing Signal watch rule by ID or name. |
| delete_watch_ruleC | Delete a Signal watch rule by ID or name. |
| check_new_messagesB | Return ONLY brand-new (non-ignored, redacted) Signal messages received since the last check cursor. Ideal for scheduled Antigravity automations or Codex polling. |
| run_watch_rules_onceB | Evaluate all enabled Signal watch rules once against newly arrived messages since the cursor. Use dry_run=True to preview matches and actions without executing them. |
| manage_signal_watcherB | Start, stop, inspect, or reset the live background Signal watcher inside the MCP server. |
| signal_send_statusA | Check whether signal-cli is installed and linked to a Signal account so messages can be sent. |
| link_signal_deviceA | Start linking signal-cli as a Signal linked device (just like Signal Desktop). Returns a linking URI and saves a scannable QR code PNG and browser-ready HTML page for the user to scan in Signal -> Settings -> Linked Devices -> Link New Device. |
| sync_signal_accountA | Sync contacts and groups from your primary Signal phone to signal-cli after linking. |
| send_signal_messageA | Send a Signal text message and/or file attachments to a person or group via linked signal-cli. Recipient can be a conversation name (e.g. 'Family Chat'), an E.164 phone number (+1...), a UUID, or a base64 Signal group ID. Blocked if recipient is on the privacy ignore list. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 21 tools
Most tools target a distinct resource+action (list_conversations vs get_messages vs search_messages vs check_new_messages are separated by scope: enumerate chats, fetch a thread, filtered search, cursor-based new-only). A few pairs blur slightly: sync_signal_account vs link_signal_device (both setup), and run_watch_rules_once vs manage_signal_watcher (evaluate once vs control background loop), but the descriptions resolve them.
Nearly all tools follow a verb_noun snake_case pattern (list_conversations, get_messages, add_watch_rule, delete_watch_rule, manage_ignore_list). The main deviation is signal_send_status, which is noun-first instead of something like check_send_status, plus the adverbial suffix in run_watch_rules_once. Still highly predictable overall.
21 tools is on the heavy side, but the surface splits cleanly into justified sub-domains: messaging, conversation reads, export/attachments, privacy policy, watch-rule CRUD, and account linking. Each tool maps to a real operation rather than a duplicate, though a couple (resume_export vs export_conversation, test_redaction) could arguably be folded in.
Strong lifecycle coverage: read (get/search/check), write (send with attachments), export/resume/extract, privacy configuration, watch-rule CRUD plus one-shot and background execution, and device linking. Gaps are group administration (create group, add/remove members) and message-level operations (delete/edit/mark read), which are workarounds rather than core blockers.