mcp-signal
mcp-signal lets you read, search, and send Signal messages locally using Signal Desktop data and signal-cli.
Check Server Status (
get_status): Verify whether the local Signal Desktop database is accessible and whethersignal-cliis configured and ready for sending messages.List Chats (
list_chats): Browse all direct and group Signal chats, sorted by most recent message, with name, phone number, message count, and a last-message preview.Read Messages (
read_messages): Retrieve messages from a specific chat (newest-first) with pagination, date filtering (before/after), and per-message details including sender, body, reactions, and attachment metadata.Search Messages (
search_messages): Search message bodies by keyword within a single chat or across all chats.List Groups (
list_groups): Get Signal groups including group IDs, names, descriptions, members, and admins — primarily used to obtaingroup_idvalues needed for sending to groups.Monitor Chat Activity (
chat_activity): View chats ranked by recent activity, including last message date, last reply date, and count of unanswered inbound messages.Decrypt Attachments (
decrypt_attachment): Decrypt a locally stored Signal attachment using its encrypted path and key from message metadata.Send Messages (
send_message): Send text messages viasignal-clito a direct recipient (by phone number), a group (by group ID), or a chat (by exact chat name), with built-in rate limiting and ambiguity checks.Check Pairing Status: Report the
signal-clidevice-link state and display a QR code for initial device pairing.
Provides tools to read, search, and send messages via Signal, listing chats and groups from the local Signal Desktop database and sending outbound messages through signal-cli.
mcp-signal
A local Model Context Protocol (MCP) server that reads Signal Desktop history from the local encrypted database via
signal-exportand sends outbound messages viasignal-cli.
mcp-signal focuses on the core workflow for personal Signal automation — list chats, read messages, search messages, inspect groups, and send messages to direct or group chats. Everything runs locally; stdio transport by default (no network listener), with an optional HTTP mode available.
Heads up — mixed backend. Read/search comes from the local Signal Desktop database. Sending uses
signal-cli, which must be installed and linked to a Signal account separately. Ifsignal-cliis unavailable, read/search still works but send tools do not.
Features
List direct and group chats from Signal Desktop
Read recent messages from a chat
Search messages within one chat or across all chats
List group chats with
signal-cligroup IDs for outbound useSend a message to:
a direct recipient by phone number
a group by group ID
a chat by exact chat name (with ambiguity checks)
Runs entirely on your machine; stdio transport by default (no network listener), with an optional HTTP mode
Related MCP server: Signal MCP
Setup
Prerequisites
Python 3.12+
Signal Desktop with an existing local message database
signal-cliinstalled and linked if you want outbound sends
Installation
Clone this repository
git clone https://github.com/Sealjay/mcp-signal.git cd mcp-signalInstall dependencies
uv syncInstall
signal-cli(optional — only needed for outbound sends)On macOS, the simplest route is Homebrew:
brew install signal-cli
Configure outbound sends
The server auto-loads a local .env.local file from the repo root if present. This file is gitignored and is the recommended place for machine-local config.
cat > .env.local <<'EOF'
SIGNAL_ACCOUNT="+441234567890"
EOFOptional environment variables:
Variable | Purpose |
| Override the |
| Override the Signal Desktop data directory |
| Password for encrypted desktop DBs if needed |
| Raw key for encrypted desktop DBs if needed |
| Timeout for |
| Bearer token required on HTTP requests except |
|
|
Environment variables set in the shell take precedence over .env.local.
MCP_* variables must be set in the shell/environment, not .env.local — the local env loader only picks up SIGNAL_-prefixed keys from that file.
Link signal-cli (first run only)
mcp-signal does not manage linking itself. Link the local signal-cli device first:
signal-cli link -n "signal-mcp"Scan the QR code in the Signal mobile app (Settings → Linked Devices → Link New Device).
Do not pass -a / --account to link on current signal-cli versions — linking a new secondary device does not take a phone number there.
After the QR is accepted, confirm the linked account is visible:
signal-cli listAccountsThat account should match the SIGNAL_ACCOUNT value in .env.local.
signal-cli stores its linked-account state under its own local data directory (typically ~/.local/share/signal-cli/data on macOS/Linux). That state lives outside this repository and is not committed by mcp-signal.
Verify everything is connected:
uv run signal-mcp smokeHTTP mode (optional)
By default signal-mcp serve runs over stdio. To serve over streamable HTTP instead, pass --http (optionally with --listen-addr), or set MCP_LISTEN_ADDR in the environment:
uv run signal-mcp serve --http --listen-addr 0.0.0.0:8765Set MCP_AUTH_TOKEN to require a bearer token on all HTTP routes except /health.
MCP client configuration
All clients launch the server the same way over stdio. On macOS, you may need the absolute path to uv — see macOS: uv PATH below.
Claude Code
The quickest route is the CLI:
claude mcp add --transport stdio signal --scope user -- uv run --directory /absolute/path/to/mcp-signal signal-mcp serveAlternatively, add to .mcp.json at your project root (or ~/.claude.json for a user-scoped server):
{
"mcpServers": {
"signal": {
"type": "stdio",
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/mcp-signal", "signal-mcp", "serve"]
}
}
}If you edit the file directly, restart the Claude Code session to pick it up.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"signal": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/mcp-signal", "signal-mcp", "serve"]
}
}
}Restart Claude Desktop. You should see signal listed as an available integration.
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"signal": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/mcp-signal", "signal-mcp", "serve"]
}
}
}Restart Cursor.
macOS: uv PATH
GUI apps (Claude Desktop, Cursor) don't always inherit the PATH from your interactive terminal, so uv may fail with spawn uv ENOENT. Fix by using the absolute path to uv in command:
Homebrew —
/opt/homebrew/bin/uv(Apple Silicon) or/usr/local/bin/uv(Intel)Manual install — run
which uvin your terminal to find it
Example:
{
"mcpServers": {
"signal": {
"command": "/opt/homebrew/bin/uv",
"args": ["run", "--directory", "/absolute/path/to/mcp-signal", "signal-mcp", "serve"]
}
}
}Architecture
Component | Description |
MCP server | Python/FastMCP, stdio transport |
Read path |
|
Send path |
|
State | No separate cache; reads directly from Signal Desktop data |
Data flow
The MCP client launches
signal-mcp serveover stdio.Read/search tools call
signal-exportagainst the local Signal Desktop database.Group listing and outbound sends call
signal-cli -a ACCOUNT jsonRpc.Results are returned as structured JSON.
Project structure
mcp-signal/
src/mcp_signal/
config.py
main.py
reader.py
server.py
signal_cli.py
tests/
CLAUDE.md
LICENSE
README.md
SECURITY.mdTools
Tool | Purpose |
| List direct and group chats from Signal Desktop |
| Read messages from a specific chat |
| Search messages within one chat or across all chats |
| List groups from |
| List chats ranked by recent activity with last-message/last-reply dates and unanswered-inbound counts |
| Decrypt a locally stored Signal attachment and return the path to the decrypted file |
| Send a text message to a direct recipient or group |
| Show desktop DB / |
| Report |
Privacy and security
No cloud relay. stdio transport by default (no network listener); optional HTTP mode with bearer auth available. All data stays on your machine.
Read/search uses your local Signal Desktop data only.
Send operations require a locally configured
signal-cliaccount..env.localis intended for local secrets such asSIGNAL_ACCOUNTand is not committed.signal-clilinked-device state is stored in its own local app data directory, outside this repo, and is not committed.
See SECURITY.md for how to report vulnerabilities.
Limitations
Prompt-injection risk: as with many MCP servers, this one is subject to the lethal trifecta. Malicious incoming messages could attempt to instruct an agent to exfiltrate other messages. Treat the tool surface accordingly and review outbound actions before approving them.
Mixed backend: chat history comes from Signal Desktop, while outbound sends come from
signal-cli.No attachments: text-only send.
No real-time notifications: polling/read only.
Single account per MCP instance.
Group sends need
signal-cli: local DB reads alone do not provide enough information to send to groups safely.
Development
uv sync
uv run signal-mcp smoke
uv run pytest
uv run ruff check .Troubleshooting
signal-clinot found — confirmsignal-cliis onPATHor setSIGNAL_CLI_PATHin.env.local. On macOS,brew install signal-cliis the simplest route.Read/search works but sends fail —
signal-cliis not linked orSIGNAL_ACCOUNTis not set. Runsignal-cli listAccountsto verify, then check.env.local.signal-cli linkhangs or fails — do not pass-a/--accounttolinkon current versions. Runsignal-cli link -n "signal-mcp"and scan the QR from your phone.MCP client can't launch the server —
argsmust contain an absolute path to the repo, not relative. Ifuvitself fails withspawn uv ENOENT, see macOS:uvPATH.No messages returned — confirm Signal Desktop is installed and has message history. The read path queries the local Signal Desktop database directly.
Contributing
Contributions welcome via pull request. Please:
Run
uv run ruff check .before pushing.Ensure
uv run pytestpasses.
See CLAUDE.md for the full development workflow.
Licence
MIT Licence — see LICENSE.
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sealjay/mcp-signal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server