Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’¬ Communication
  3. Green API WhatsApp
G
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/10/2026, 11:25:19 PM

Green API WhatsApp

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

MCP gateway for WhatsApp via Green API: messaging, contacts, groups and instance management.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "green-api-whatsapp": {
      "command": "npx",
      "args": [
        "-y",
        "green-api-whatsapp"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’¬ More in Communication

Documentation Overview

green-api-mcp-gateway

License: MIT Go Version release Protocol: MCP Go Report Card

  • ДокумСнтация Π½Π° русском

Support Links

Support Support Support

Guides & News

Guides News News


MCP gateway for GREEN-API WhatsApp. Lets AI agents (Claude Desktop, OpenClaw, Cursor, and others) send messages, manage instances, and receive notifications via WhatsApp using the Model Context Protocol.

What it does

Send text messages, files by URL, locations, contacts, polls. Forward and edit messages. Manage groups (create, fetch data, add/remove participants). Check phone numbers for WhatsApp, fetch contacts and their info. Get instance state and settings, QR code for authorization. Receive incoming notifications via polling or an HTTP receiver. Partner API for creating/deleting instances. Multi-instance support in a single gateway. Prompt templates for common scenarios (customer support, broadcasts). Prometheus metrics and OpenTelemetry.

Instructions for connecting the MCP server can be found on our website

Architecture

Clean Architecture (Ports & Adapters):

Code
cmd/server/main.go                    β€” entry point, DI wiring
internal/
  domain/                             β€” business entities, errors, constants (zero dependencies)
  application/                        β€” ports (interfaces)
  infrastructure/
    auth.go                           β€” CredentialManager (in-memory credential store)
    config/config.go                  β€” YAML + env configuration
    greenapi/client.go                β€” WhatsApp client via Go SDK
    mcp/
      server.go                       β€” MCP server (stdio/sse)
      tools.go                        β€” MCP tools registration
      resources.go                    β€” MCP resources
      prompts.go                      β€” MCP prompts
    webhook/
      bridge.go                       β€” polling bridge
      receiver.go                     β€” HTTP receiver

Build

bash
go build -o green-api-mcp-gateway ./cmd/server

Requires Go 1.25+.

Transports & endpoints

The server supports four transports, selected via server.transport (or the GREEN_API_TRANSPORT env var):

TransportEndpoints (relative to host:port)Use case
stdiostdin/stdoutLocal CLIs (Claude Desktop, Cursor) launching the binary.
sseGET / (stream) + POST /messageLegacy MCP clients (SSE only).
httpPOST/GET /mcpStreamable HTTP (MCP 2025-03-26+) β€” preferred for new clients.
hybrid/sse + /message and /mcp on one portPublic server: serves both legacy SSE and Streamable HTTP.

All HTTP-based transports also expose:

  • GET /health, GET /healthz β€” health probes (no auth)
  • GET /favicon.ico, GET /favicon.png β€” GREEN-API icon

When auth.mode: proxy is enabled, the OAuth 2.0 PKCE endpoints are added too:

  • GET /.well-known/oauth-authorization-server β€” RFC 8414 metadata
  • GET /.well-known/oauth-protected-resource β€” RFC 9728 metadata
  • GET /authorize β€” browser-facing authorization form
  • POST /token β€” token exchange

Configuration

Via YAML

yaml
server:
  transport: stdio   # stdio | sse | http | hybrid
  port: 8090

auth:
  mode: config       # config | proxy
  cache_ttl: 300     # seconds (proxy mode only)

green_api:
  instances:
    - id: 1101000001
      api_token: "YOUR_TOKEN"
      api_url: "https://api.green-api.com"

webhook:
  mode: polling
  polling_timeout: 20

rate_limit:
  requests_per_second: 10
  burst: 20

logging:
  level: info
  format: text

Via environment variables

Environment variables take precedence over the YAML config:

The variables below cover both deployment modes. Credentials variables (GREEN_API_INSTANCE_ID, GREEN_API_TOKEN, GREEN_API_URL) apply only to local stdio runs with auth.mode: config. For HTTP transports (sse on /sse + /message, http on /mcp, or hybrid) use auth.mode: proxy instead β€” credentials arrive in HTTP headers or via the built-in OAuth flow and the env credentials are ignored.

  • GREEN_API_INSTANCE_ID β€” instance ID
  • GREEN_API_TOKEN β€” API token
  • GREEN_API_URL β€” API base URL (defaults to https://api.green-api.com)
  • GREEN_API_TRANSPORT β€” transport: stdio, sse, http, or hybrid
  • GREEN_API_PORT β€” HTTP port (defaults to 8090)
  • GREEN_API_BASE_URL β€” public base URL (used for OAuth issuer/redirects, e.g. https://mcp.example.com)
  • GREEN_API_WIDGET_DOMAIN β€” unique widget origin for ChatGPT Apps submission metadata (defaults to GREEN_API_BASE_URL, then https://mcp.green-api.com)
  • GREEN_API_AUTH_MODE β€” config or proxy
  • GREEN_API_AUTH_CACHE_TTL β€” proxy-auth credential cache TTL (seconds)
  • GREEN_API_WEBHOOK_MODE β€” polling or receiver
  • LOG_LEVEL β€” log level
  • LOG_FORMAT β€” text or json

Run

server.ts
# With environment variables
export GREEN_API_INSTANCE_ID=1101000001
export GREEN_API_TOKEN=your_token
./green-api-mcp-gateway

# With a config file
./green-api-mcp-gateway --config config.yaml

Integration

Claude Desktop (local stdio)

Add to claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "whatsapp": {
      "command": "/path/to/green-api-mcp-gateway",
      "args": ["--config", "/path/to/config.yaml"]
    }
  }
}

OpenClaw

yaml
mcp:
  servers:
    - name: whatsapp
      command: /path/to/green-api-mcp-gateway
      args: ["--config", "/path/to/config.yaml"]

Docker

Terminal
docker build -t green-api-mcp-gateway .

docker run --rm -i \
  -e GREEN_API_INSTANCE_ID=1101000001 \
  -e GREEN_API_TOKEN=your_token \
  green-api-mcp-gateway

MCP Tools

Messaging

Link to documentation

  • whatsapp_send_message β€” text message
  • whatsapp_send_file β€” file by URL
  • whatsapp_send_location β€” location
  • whatsapp_send_contact β€” contact (vCard)
  • whatsapp_send_poll β€” poll
  • whatsapp_forward_messages β€” forward
  • whatsapp_edit_message β€” edit
  • whatsapp_delete_message β€” delete

Instance

Link to documentation

  • whatsapp_get_state β€” authorization state
  • whatsapp_get_settings β€” current settings
  • whatsapp_set_settings β€” update settings
  • whatsapp_get_qr β€” authorization QR code
  • whatsapp_connect β€” connect instance
  • whatsapp_disconnect β€” disconnect instance

Contacts

Link to documentation

  • whatsapp_get_contacts β€” contact list
  • whatsapp_get_contact_info β€” contact information
  • whatsapp_check_whatsapp β€” phone number check

Groups

Link to documentation

  • whatsapp_create_group β€” create a group
  • whatsapp_get_group_data β€” group data
  • whatsapp_add_group_participant β€” add a participant
  • whatsapp_remove_group_participant β€” remove a participant
  • whatsapp_leave_group β€” leave a group

Notifications

Link to documentation

  • whatsapp_receive_notification β€” receive an incoming notification (long-poll)

Partner API

Link to documentation

  • whatsapp_create_instance β€” create an instance
  • whatsapp_delete_instance β€” delete an instance
  • whatsapp_get_instances β€” list instances

MCP Resources

  • whatsapp://instance/{id}/state β€” instance state
  • whatsapp://instance/{id}/settings β€” instance settings

MCP Prompts

  • whatsapp_customer_support β€” template for customer support
  • whatsapp_broadcast β€” template for broadcast messaging

Dependencies

  • mcp-go β€” MCP SDK
  • whatsapp-api-client-golang β€” GREEN-API Go SDK

Development

bash
go test ./...
gofmt -w .
GOOS=linux GOARCH=amd64 go build -o green-api-mcp-gateway-linux ./cmd/server

License

MIT β€” see LICENSE.

Related MCP Servers

View all in Communication View all alternatives
  • M
    Mcp

    Official EZTexting MCP server: SMS/MMS messaging, contacts, workflows, and account administration.

    πŸ’¬ Communication0 views
    Compare vs Mcp β†’
  • Slack Mcp Server logoSlack Mcp Server

    The most powerful MCP server for Slack Workspaces.

    πŸ’¬ Communication1 views
    Compare vs Slack Mcp Server β†’
  • Telegram Mcp logoTelegram Mcp

    Telegram API integration for accessing user data, managing dialogs (chats, channels, groups), retrieving messages, and handling read status

    πŸ’¬ Communication2 views
    Compare vs Telegram Mcp β†’
  • Telegram Mcp logoTelegram Mcp

    Telegram API integration for accessing user data, managing dialogs (chats, channels, groups), retrieving messages, sending messages and handling read status.

    πŸ’¬ Communication1 views
    Compare vs Telegram Mcp β†’

Frequently Asked Questions about Green API WhatsApp

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "green-api-whatsapp": { "command": "npx", "args": ["-y", "Green API WhatsApp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGreen API WhatsApp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/green-api-whatsapp?style=directory)](https://allmcps.com/mcp/green-api-whatsapp)
HTML Embed
<a href="https://allmcps.com/mcp/green-api-whatsapp"><img src="https://allmcps.com/api/badge/green-api-whatsapp?style=directory" alt="Green API WhatsApp on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’¬Communication
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’¬ Communication β†’Best MCP servers for Slack & Communication β†’Alternatives to Green API WhatsApp β†’Install in Claude DesktopInstall in CursorInstall in VS Code