Single-binary Go MCP server that wraps whatsmeow to expose a personal WhatsApp account as 42 MCP tools (messaging, groups, polls, media, privacy).
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add whatsapp -- docker build -t whatsapp-mcp --build-arg 'VERSION=$(git' describe --tags '--always)' .~/.codex/config.toml
[mcp_servers.whatsapp]
command = "docker"
args = ["build", "-t", "whatsapp-mcp", "--build-arg", "VERSION=$(git", "describe", "--tags", "--always)", "."]
# codex mcp add whatsapp -- docker build -t whatsapp-mcp --build-arg 'VERSION=$(git' describe --tags '--always)' .~/.cursor/mcp.json
{
"mcpServers": {
"whatsapp": {
"command": "docker",
"args": [
"build",
"-t",
"whatsapp-mcp",
"--build-arg",
"VERSION=$(git",
"describe",
"--tags",
"--always)",
"."
]
}
}
}.vscode/mcp.json
{
"servers": {
"whatsapp": {
"type": "stdio",
"command": "docker",
"args": [
"build",
"-t",
"whatsapp-mcp",
"--build-arg",
"VERSION=$(git",
"describe",
"--tags",
"--always)",
"."
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"whatsapp": {
"command": "docker",
"args": [
"build",
"-t",
"whatsapp-mcp",
"--build-arg",
"VERSION=$(git",
"describe",
"--tags",
"--always)",
"."
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"whatsapp": {
"command": "docker",
"args": [
"build",
"-t",
"whatsapp-mcp",
"--build-arg",
"VERSION=$(git",
"describe",
"--tags",
"--always)",
"."
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"whatsapp": {
"command": "docker",
"args": [
"build",
"-t",
"whatsapp-mcp",
"--build-arg",
"VERSION=$(git",
"describe",
"--tags",
"--always)",
"."
]
}
}
}