Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-zanellig-wacli-mcp": {
"command": "uvx",
"args": [
"wacli-mcp"
],
"env": {
"WACLI_MCP_STORE": "<VALUE>",
"WACLI_MCP_ACCOUNT": "<VALUE>",
"WACLI_MCP_MEDIA_DIR": "<VALUE>",
"WACLI_MCP_READ_ONLY": "false",
"WACLI_MCP_WACLI_PATH": "wacli",
"WACLI_MCP_LINK_PREVIEWS": "false",
"WACLI_MCP_MAX_OUTPUT_CHARS": "60000",
"WACLI_MCP_SYNC_BEFORE_READ": "true",
"WACLI_MCP_TRANSCRIBE_MODEL": "large-v3-turbo",
"WACLI_MCP_SEND_CONFIRMATION": "client",
"WACLI_MCP_TRANSCRIBE_DEVICE": "auto",
"WACLI_MCP_TRANSCRIBE_SHARED": "true",
"WACLI_MCP_TRANSCRIBE_LANGUAGE": "<VALUE>",
"WACLI_MCP_SYNC_MAX_AGE_SECONDS": "60",
"WACLI_MCP_SYNC_TIMEOUT_SECONDS": "45",
"WACLI_MCP_INLINE_IMAGE_MAX_BYTES": "1000000",
"WACLI_MCP_SYNC_IDLE_EXIT_SECONDS": "4",
"WACLI_MCP_COMMAND_TIMEOUT_SECONDS": "60",
"WACLI_MCP_TRANSCRIBE_IDLE_MINUTES": "10"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-zanellig-wacli-mcp": {
"command": "uvx",
"args": [
"wacli-mcp"
],
"env": {
"WACLI_MCP_STORE": "<VALUE>",
"WACLI_MCP_ACCOUNT": "<VALUE>",
"WACLI_MCP_MEDIA_DIR": "<VALUE>",
"WACLI_MCP_READ_ONLY": "false",
"WACLI_MCP_WACLI_PATH": "wacli",
"WACLI_MCP_LINK_PREVIEWS": "false",
"WACLI_MCP_MAX_OUTPUT_CHARS": "60000",
"WACLI_MCP_SYNC_BEFORE_READ": "true",
"WACLI_MCP_TRANSCRIBE_MODEL": "large-v3-turbo",
"WACLI_MCP_SEND_CONFIRMATION": "client",
"WACLI_MCP_TRANSCRIBE_DEVICE": "auto",
"WACLI_MCP_TRANSCRIBE_SHARED": "true",
"WACLI_MCP_TRANSCRIBE_LANGUAGE": "<VALUE>",
"WACLI_MCP_SYNC_MAX_AGE_SECONDS": "60",
"WACLI_MCP_SYNC_TIMEOUT_SECONDS": "45",
"WACLI_MCP_INLINE_IMAGE_MAX_BYTES": "1000000",
"WACLI_MCP_SYNC_IDLE_EXIT_SECONDS": "4",
"WACLI_MCP_COMMAND_TIMEOUT_SECONDS": "60",
"WACLI_MCP_TRANSCRIBE_IDLE_MINUTES": "10"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-zanellig-wacli-mcp": {
"command": "uvx",
"args": [
"wacli-mcp"
],
"env": {
"WACLI_MCP_STORE": "<VALUE>",
"WACLI_MCP_ACCOUNT": "<VALUE>",
"WACLI_MCP_MEDIA_DIR": "<VALUE>",
"WACLI_MCP_READ_ONLY": "false",
"WACLI_MCP_WACLI_PATH": "wacli",
"WACLI_MCP_LINK_PREVIEWS": "false",
"WACLI_MCP_MAX_OUTPUT_CHARS": "60000",
"WACLI_MCP_SYNC_BEFORE_READ": "true",
"WACLI_MCP_TRANSCRIBE_MODEL": "large-v3-turbo",
"WACLI_MCP_SEND_CONFIRMATION": "client",
"WACLI_MCP_TRANSCRIBE_DEVICE": "auto",
"WACLI_MCP_TRANSCRIBE_SHARED": "true",
"WACLI_MCP_TRANSCRIBE_LANGUAGE": "<VALUE>",
"WACLI_MCP_SYNC_MAX_AGE_SECONDS": "60",
"WACLI_MCP_SYNC_TIMEOUT_SECONDS": "45",
"WACLI_MCP_INLINE_IMAGE_MAX_BYTES": "1000000",
"WACLI_MCP_SYNC_IDLE_EXIT_SECONDS": "4",
"WACLI_MCP_COMMAND_TIMEOUT_SECONDS": "60",
"WACLI_MCP_TRANSCRIBE_IDLE_MINUTES": "10"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-zanellig-wacli-mcp": {
"command": "uvx",
"args": [
"wacli-mcp"
],
"env": {
"WACLI_MCP_STORE": "<VALUE>",
"WACLI_MCP_ACCOUNT": "<VALUE>",
"WACLI_MCP_MEDIA_DIR": "<VALUE>",
"WACLI_MCP_READ_ONLY": "false",
"WACLI_MCP_WACLI_PATH": "wacli",
"WACLI_MCP_LINK_PREVIEWS": "false",
"WACLI_MCP_MAX_OUTPUT_CHARS": "60000",
"WACLI_MCP_SYNC_BEFORE_READ": "true",
"WACLI_MCP_TRANSCRIBE_MODEL": "large-v3-turbo",
"WACLI_MCP_SEND_CONFIRMATION": "client",
"WACLI_MCP_TRANSCRIBE_DEVICE": "auto",
"WACLI_MCP_TRANSCRIBE_SHARED": "true",
"WACLI_MCP_TRANSCRIBE_LANGUAGE": "<VALUE>",
"WACLI_MCP_SYNC_MAX_AGE_SECONDS": "60",
"WACLI_MCP_SYNC_TIMEOUT_SECONDS": "45",
"WACLI_MCP_INLINE_IMAGE_MAX_BYTES": "1000000",
"WACLI_MCP_SYNC_IDLE_EXIT_SECONDS": "4",
"WACLI_MCP_COMMAND_TIMEOUT_SECONDS": "60",
"WACLI_MCP_TRANSCRIBE_IDLE_MINUTES": "10"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-zanellig-wacli-mcp": {
"command": "uvx",
"args": [
"wacli-mcp"
],
"env": {
"WACLI_MCP_STORE": "<VALUE>",
"WACLI_MCP_ACCOUNT": "<VALUE>",
"WACLI_MCP_MEDIA_DIR": "<VALUE>",
"WACLI_MCP_READ_ONLY": "false",
"WACLI_MCP_WACLI_PATH": "wacli",
"WACLI_MCP_LINK_PREVIEWS": "false",
"WACLI_MCP_MAX_OUTPUT_CHARS": "60000",
"WACLI_MCP_SYNC_BEFORE_READ": "true",
"WACLI_MCP_TRANSCRIBE_MODEL": "large-v3-turbo",
"WACLI_MCP_SEND_CONFIRMATION": "client",
"WACLI_MCP_TRANSCRIBE_DEVICE": "auto",
"WACLI_MCP_TRANSCRIBE_SHARED": "true",
"WACLI_MCP_TRANSCRIBE_LANGUAGE": "<VALUE>",
"WACLI_MCP_SYNC_MAX_AGE_SECONDS": "60",
"WACLI_MCP_SYNC_TIMEOUT_SECONDS": "45",
"WACLI_MCP_INLINE_IMAGE_MAX_BYTES": "1000000",
"WACLI_MCP_SYNC_IDLE_EXIT_SECONDS": "4",
"WACLI_MCP_COMMAND_TIMEOUT_SECONDS": "60",
"WACLI_MCP_TRANSCRIBE_IDLE_MINUTES": "10"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-zanellig-wacli-mcp": {
"command": "uvx",
"args": [
"wacli-mcp"
],
"env": {
"WACLI_MCP_STORE": "<VALUE>",
"WACLI_MCP_ACCOUNT": "<VALUE>",
"WACLI_MCP_MEDIA_DIR": "<VALUE>",
"WACLI_MCP_READ_ONLY": "false",
"WACLI_MCP_WACLI_PATH": "wacli",
"WACLI_MCP_LINK_PREVIEWS": "false",
"WACLI_MCP_MAX_OUTPUT_CHARS": "60000",
"WACLI_MCP_SYNC_BEFORE_READ": "true",
"WACLI_MCP_TRANSCRIBE_MODEL": "large-v3-turbo",
"WACLI_MCP_SEND_CONFIRMATION": "client",
"WACLI_MCP_TRANSCRIBE_DEVICE": "auto",
"WACLI_MCP_TRANSCRIBE_SHARED": "true",
"WACLI_MCP_TRANSCRIBE_LANGUAGE": "<VALUE>",
"WACLI_MCP_SYNC_MAX_AGE_SECONDS": "60",
"WACLI_MCP_SYNC_TIMEOUT_SECONDS": "45",
"WACLI_MCP_INLINE_IMAGE_MAX_BYTES": "1000000",
"WACLI_MCP_SYNC_IDLE_EXIT_SECONDS": "4",
"WACLI_MCP_COMMAND_TIMEOUT_SECONDS": "60",
"WACLI_MCP_TRANSCRIBE_IDLE_MINUTES": "10"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| WACLI_MCP_STORE | No | wacli store directory (`--store`). |
| WACLI_MCP_ACCOUNT | No | wacli named account (`--account`). |
| WACLI_MCP_MEDIA_DIR | No | Where `get_media` saves attachments and transcripts. Default is the user cache folder. See [Attachments and voice notes](#attachments-and-voice-notes). |
| WACLI_MCP_READ_ONLY | No | Hide `send_text` and skip the per-read sync, so no tool connects to WhatsApp as your linked device or writes wacli's local copy. `get_media` still downloads attachments from WhatsApp's media servers. Run `wacli sync --follow` separately to keep reads current. Default: false |
| WACLI_MCP_WACLI_PATH | No | Path to the wacli executable. Default: wacli |
| WACLI_MCP_LINK_PREVIEWS | No | Let wacli fetch link previews for URLs in sent messages. Default: false |
| WACLI_MCP_MAX_OUTPUT_CHARS | No | Truncate longer tool results. Default: 60000 |
| WACLI_MCP_SYNC_BEFORE_READ | No | Run `wacli sync --once` before reads when the store may be stale. Default: true |
| WACLI_MCP_TRANSCRIBE_MODEL | No | faster-whisper model name, such as `small` for slower CPUs, or a local model folder. Default: large-v3-turbo |
| WACLI_MCP_SEND_CONFIRMATION | No | Who confirms a send: `client` or `server`. See [Who confirms a send](#who-confirms-a-send). Default: client |
| WACLI_MCP_TRANSCRIBE_DEVICE | No | `auto`, `cuda` or `cpu`. `auto` uses an NVIDIA GPU when it works. Default: auto |
| WACLI_MCP_TRANSCRIBE_SHARED | No | Transcribe in one background service shared by all sessions, so the model is loaded once. `false` loads it in each session's own process. Default: true |
| WACLI_MCP_TRANSCRIBE_LANGUAGE | No | Language code for every file, such as `es`. Unset: detected per file. |
| WACLI_MCP_SYNC_MAX_AGE_SECONDS | No | Minimum time between those syncs. Default: 60 |
| WACLI_MCP_SYNC_TIMEOUT_SECONDS | No | Upper bound for one sync. Default: 45 |
| WACLI_MCP_INLINE_IMAGE_MAX_BYTES | No | Largest photo that `get_media` also returns inline. `0` turns inline photos off. Default: 1000000 |
| WACLI_MCP_SYNC_IDLE_EXIT_SECONDS | No | How long a sync waits for new events before it stops. Default: 4 |
| WACLI_MCP_COMMAND_TIMEOUT_SECONDS | No | Upper bound for any other wacli command. wacli gets a slightly shorter `--timeout`, so a send queued behind `wacli sync --follow` can't go out after wacli-mcp has reported a timeout. Default: 60 |
| WACLI_MCP_TRANSCRIBE_IDLE_MINUTES | No | The shared service exits after this long without work, freeing GPU memory. The session that starts the service sets it. Default: 10 |