SuperAPIAI Directory

hellohop-mcp

github.com · AI developer platforms

HelloHop MCP Server is a Model Context Protocol (MCP) server for the HelloHop WhatsApp API, allowing MCP clients such as Claude Desktop, Claude Code, and Cursor to read the status of a channel, observed chats, recent messages, groups and communities, and contact information. Sending features (text, URL media, polls, reactions) are disabled by default and must be explicitly enabled. The project is based on Node.js 22 and above and runs via npx with no separate installation required. HelloHop is an independent WhatsApp API for developers and is not affiliated with WhatsApp or Meta.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose HelloHop MCP Server is used to connect a single channel of the HelloHop WhatsApp API to MCP clients (such as Claude Desktop, Claude Code, and Cursor), allowing the assistant to read that channel's data in natural language. HelloHop is an independent WhatsApp API for developers that supports sending and receiving messages, automating groups and communities, and signed webhooks; this project is not affiliated with or endorsed by WhatsApp or Meta.

Key capabilities

  • Read channel status (channel_status), which returns an array of session capabilities that may include messages, groups, communities, contacts, lid_lookup, and number_checks.
  • Read chats, recent messages, groups, communities, and contacts; read_messages supports only two pagination parameters, limit (1 to 500) and before, while the other list tools have no pagination parameters.
  • check_numbers is always registered and does not send messages; it can initiate a number check on 1 to 50 numbers, or read check results and paginated row data by job_id. Checks run in the background on the channel's own connected non-sandbox number, with a daily quota based on number age; long lists may take hours or days and cannot be accelerated.
  • Send tools are not registered by default; they become available only after setting GATEWAY_ALLOW_SEND=1, including text, URL media, polls, reactions, and more. Each call sends a real WhatsApp message from the associated number and counts toward the daily message quota (sandbox channels).

Usage Requires Node.js 22 or later and runs via npx with no separate installation step. The server reads configuration from environment variables: GATEWAY_API_TOKEN (an account key starting with hh_acct_, which can be created in the console under Account, is shown only once, and can be rotated with Regenerate) and GATEWAY_CHANNEL_ID (one owned number per server). The server can start without a token or channel ID set so it can be installed first; until both are set, all tools return not_configured along with a link to obtain a free sandbox token, and no API requests are made; non-empty but malformed settings fail at startup. Each request sends Authorization: Bearer <token>, successful responses are returned as JSON text; HTTP errors are returned as tool errors with status, code, error, and, when provided by the API, retry_after, window, resets_at, ambiguous, id. Tokens in returned strings are redacted; no automatic retries are performed, and redirects are rejected rather than followed.

Configuration examples Claude Desktop: add an entry under mcpServers in claude_desktop_config.json; to enable sending, add "GATEWAY_ALLOW_SEND": "1" to env, then restart Claude Desktop after editing. Claude Code: add -e GATEWAY_ALLOW_SEND=1 before -- to enable sending. Cursor: add the same entry in ~/.cursor/mcp.json (or .cursor/mcp.json within the project); sending remains off unless "GATEWAY_ALLOW_SEND": "1" is added to env. Both clients store the token in plaintext in the configuration file; use the channel's own token, not operator credentials.

Use cases Suited to developer scenarios that need to let an AI assistant read WhatsApp channel status, chat history, group and community information, or send messages on demand under human approval.

Limitations and caveats

  • Sending is off by default; once enabled, every call sends a real message and counts against quota.
  • Sends may "succeed but be unconfirmed": on failure, delivery being "unknown" means the message may have been sent (no response, API returning a 504 send_unconfirmed with ambiguous: true, or another 502/504); in this case do not resend, but first check read_messages for that chat.
  • Prompt injection risk: read_messages brings third-party-written text into the model context; if sending is enabled on the same server, this text could instruct the model to send arbitrary content to arbitrary recipients. It is recommended to split reading and sending into two client configurations: the reading entry does not set GATEWAY_ALLOW_SEND; the sending entry is enabled only in sessions that need to send, and each send_text is approved by a human after verifying to and text. The sending entry still registers the read tools, so that session is exposed to the risk as soon as it reads messages.
  • Intentionally not exposed: group and community invite links, media downloads (bytes rather than JSON), webhook configuration.
  • get_group returns the participant list, which is your own group data and enters the MCP client context; use it only when you trust that client to handle member identities.
  • Chats are not percent-encoded in URL paths because the API rejects paths containing %; chat identifiers allow only letters, digits, and @ . : _ + -, and other characters are rejected before the request is made.
  • Number checks require at least one active non-sandbox channel (including paid, gifted, promotional, or admin-granted), otherwise 403 number_checker_requires_paid_number is returned; eligible accounts using a sandbox channel get 403 number_checker_requires_non_sandbox_channel. The check result is the answer at the specified moment, may be wrong or outdated, and does not guarantee delivery.
  • Account keys cannot manage billing, number slots, credentials, teams, authorization, or company terms.

License and documentation The project is under the MIT license. Full documentation:https://hellohop.app/docs/mcp

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools