Skip to main content
Glama
waxum-mcp

waxum-mcp

by imtaqin

waxum-mcp

WhatsApp용 MCP 서버로, waxum REST API 게이트웨이를 기반으로 합니다. stdio를 통해 모든 MCP 클라이언트(Claude Desktop, Claude Code 등)에 전송/읽기/미디어 도구를 제공합니다.

waxum >= 0.11.5가 필요합니다(GET /messages/chat/{chat_jid} 필요).

세션 페어링(QR/전화번호 연결)은 이 서버의 일부가 아닙니다 — 먼저 waxum에 직접 세션을 페어링하고(자체 콘솔 또는 POST /sessions/{id}/pair), 그런 다음 이 서버를 이미 페어링된 세션에 연결하세요.

도구

도구

기능

send_message

텍스트 메시지 보내기

send_file

로컬 파일(이미지/비디오/오디오/문서/스티커) 보내기, mimetype에서 종류 자동 감지

get_messages

채팅의 최근 기록 읽기 또는 키워드로 검색 — 발신자 push_name 및 미디어 포인터 포함

download_media

메시지의 미디어를 로컬 디스크에 다운로드, 파일 경로 반환

list_groups

이 세션이 속한 그룹 목록, JID 및 멤버 포함

list_chats

이름, 전화번호 또는 push_name으로 알려진 연락처 목록/검색

session_status

연결/로그인 상태 확인

Related MCP server: wappmcp

구성

이 서버를 waxum에 연결하는 두 가지 방법이 있으며, WAXUM_MODE로 선택합니다(또는 자동 감지: WAXUM_BASE_URL이 설정된 경우 client, 그렇지 않으면 spawn).

클라이언트 모드 — waxum이 다른 곳에서 이미 실행 중인 경우

WAXUM_MODE=client
WAXUM_BASE_URL=http://localhost:3451
WAXUM_TOKEN=<superadmin token or a session token>
WAXUM_SESSION_ID=<the session to operate on>
WAXUM_MEDIA_DIR=./media   # optional, default ./media

스폰 모드 — 이 서버가 waxum 프로세스를 관리

WAXUM_MODE=spawn
WAXUM_BINARY_PATH=/path/to/waxum
WAXUM_WORKDIR=/path/to/waxum/data   # optional, default: binary's directory
WAXUM_PORT=3451                     # optional, default 3451
WAXUM_TOKEN=<superadmin token>      # optional, a random one is generated if unset
WAXUM_SESSION_ID=<the session to operate on>
WAXUM_DATABASE_URL=sqlite:///data/waxum.db # optional

스폰 모드에서 토큰은 생성된 프로세스의 SUPERADMIN_TOKEN 환경 변수가 됩니다 — waxum 자체의 부트스트랩 자격 증명 — 따라서 토큰을 미리 발급할 필요가 없습니다. 하위 프로세스의 stdout과 stderr는 이 서버의 stderr로 전달됩니다(MCP 프로토콜 채널용으로 예약된 stdout으로는 절대 전달되지 않습니다).

스폰 모드는 기본적으로 <WAXUM_WORKDIR>/waxum.db에 SQLite를 사용하므로 MCP 서버가 별도 구성 없이 재시작에도 안전합니다. 필요 시 WAXUM_DATABASE_URL을 명시적인 sqlite:// 경로, PostgreSQL URL 또는 MySQL URL로 설정하세요.

개발

npm install
npm run dev     # run directly with tsx
npm run build   # compile to dist/
npm start       # run the compiled build

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      An MCP server that enables interaction with WhatsApp using the Baileys library and Streamable HTTP transport. It supports managing contacts, chats, and messages, while providing a web admin UI for QR code authentication and media handling.
      4
      28
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A WhatsApp Web MCP server that enables reading chats, contacts, and messages, as well as sending, replying, reacting, and managing WhatsApp messages via stdio.
      37 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A least-privilege, send-only MCP server for WhatsApp, backed by Meta's official WhatsApp Cloud API. It exposes tools to send text messages and pre-approved templates.
      11 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server that turns WhatsApp into agent-callable tools, enabling search contacts, send/receive messages, read chats, handle media, and monitor calls via the WhatsApp Web multi-device protocol.
      15
      MIT