An MCP integration for signal-cli that allows AI agents to send and receive Signal messages.
- Send messages to Signal users
- Send messages to Signal groups
- Receive and parse incoming messages
- Async support with timeout handling
- Detailed logging
This project requires signal-cli to be installed and configured on your system.
-
Install signal-cli: Follow the official installation instructions
-
Register your Signal account:
signal-cli -u YOUR_PHONE_NUMBER register
-
Verify your account with the code received via SMS:
signal-cli -u YOUR_PHONE_NUMBER verify CODE_RECEIVED
For more detailed setup instructions, see the signal-cli documentation.
pip install -e .
# or use uv for faster installation
uv pip install -e .
Run the MCP server:
./main.py --user-id YOUR_PHONE_NUMBER [--transport {sse|stdio}]
send_message_to_user
: Send a direct message to a Signal usersend_message_to_group
: Send a message to a Signal groupreceive_message
: Wait for and receive messages with timeout support
This project uses:
- MCP for agent-API integration
- Modern Python async patterns
- Type annotations throughout