Green API WhatsApp logo

Green API WhatsApp

Connects AI agents to Green-API WhatsApp for messaging, contact, group, notification, and instance-management tasks.

Install Green API WhatsApp

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.green-api.com/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · 3d agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 3d ago · Nov 27, 2026, 03:00 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://mcp.green-api.com/mcp

Overview

The Green API WhatsApp MCP server exposes Green-API WhatsApp operations to AI agents through MCP. It supports local stdio and HTTP-based SSE, Streamable HTTP, and hybrid transports, with YAML or environment-based configuration. Use it when an agent needs to send WhatsApp content, manage contacts or groups, receive notifications, or operate one or more Green-API instances.

Use cases

  • Send WhatsApp messages and media from an AI workflow
  • Manage WhatsApp contacts and groups
  • Receive incoming WhatsApp notifications
  • Connect and administer Green API instances
  • Check whether phone numbers use WhatsApp

Key features

  • WhatsApp messaging through Green API
  • Contact and phone-number lookup
  • Group creation and participant management
  • Instance authorization and settings control
  • Incoming notification polling or receiving
  • stdio, SSE, HTTP, and hybrid transports

Tools41

What Green API WhatsApp lets your agent do. Expand a tool for its parameters.

Verified live~3.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/25 checks healthy over the last 111d

What it can do

From the 41 tools this server returned when we ran it.

Can delete or modify data · 6Writes files · 1Handles credentials · 2Makes network requests · 4Read-only tools · 34

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit4mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Tools exposed41Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Green API WhatsApp works

What the Green API WhatsApp MCP server does

The Green API WhatsApp MCP server connects MCP-compatible AI clients to WhatsApp through Green API. It exposes tools for sending and managing messages, checking contacts, administering groups, handling authorization, and managing Green API instances.

Messaging tools cover text, files supplied by URL, locations, vCards, polls, forwarding, editing, and deletion. Contact tools retrieve the contact list, return information for a contact, and check whether a phone number is registered with WhatsApp. Group tools create groups, retrieve group data, add or remove participants, and leave a group.

Instance operations include reading authorization state, retrieving or changing settings, obtaining an authorization QR code, and connecting or disconnecting an instance. The gateway also supports receiving incoming notifications through long polling or an HTTP receiver. A single gateway can be configured for multiple instances.

How it works

The gateway is implemented in Go and communicates with Green API through its Go SDK. MCP tools are registered by the gateway and made available over one of four transport modes:

  • stdio reads and writes through standard input and output for local clients.
  • sse provides a stream at / and accepts messages at /message.
  • http exposes Streamable HTTP through /mcp.
  • hybrid serves both the SSE endpoints and /mcp on the same port.

HTTP deployments also provide unauthenticated health endpoints at /health and /healthz. Proxy authentication can add OAuth 2.0 PKCE metadata, authorization, and token endpoints. Incoming notifications can use polling or the receiver mode, selected in configuration.

Setup and configuration

Build the binary with Go 1.25 or newer using go build -o green-api-mcp-gateway ./cmd/server. Run it with a YAML configuration file or environment variables. For a local stdio setup using configuration-based authentication, provide a Green API instance ID and API token; the API URL defaults to https://api.green-api.com.

The main settings select the transport, HTTP port, authentication mode, notification mode, logging format and level, polling timeout, rate limits, and one or more Green API instances. Environment variables override YAML values. HTTP transports should use proxy authentication, where credentials arrive through HTTP headers or the built-in OAuth flow rather than the local credential variables.

Tools and capabilities

The Green API WhatsApp MCP server exposes these tool groups:

  • Messaging: send text, files, locations, contacts, and polls; forward, edit, or delete messages.
  • Instance management: inspect state and settings, update settings, retrieve a QR code, and connect or disconnect.
  • Contacts: list contacts, inspect contact information, and check WhatsApp registration.
  • Groups: create groups, inspect group data, manage participants, and leave groups.
  • Notifications: receive incoming notifications through long polling.
  • Instance administration: create, delete, and list instances.

The repository also describes prompt templates for customer support and broadcasts, plus Prometheus metrics and OpenTelemetry.

Limitations and notes

The gateway requires Green API credentials and an authorized WhatsApp instance for account operations. Credential environment variables apply to local stdio runs with auth.mode: config; they are ignored for HTTP transports using proxy authentication. Notification delivery depends on the selected polling or receiver setup, and HTTP deployments must expose the configured port and public base URL when proxy authentication is used.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Green API WhatsApp

Green API WhatsApp is an MCP server that connects AI agents to WhatsApp through Green API. Its main tools send messages, files, locations, contacts, and polls; manage groups and contacts; receive notifications; and control Green API instance authorization, settings, connection, creation, deletion, and listing.

Build it from the repository with Go 1.25 or newer using `go build -o green-api-mcp-gateway ./cmd/server`. Run the resulting binary with a YAML configuration file or set environment variables such as the instance ID and API token.

Configure it with YAML or environment variables, with environment values taking precedence. Set the transport, Green API instance credentials, API URL if needed, authentication mode, notification mode, port, and logging options. Local stdio runs use configuration-based credentials; HTTP deployments use proxy authentication.

Yes. Configure Cursor to launch the gateway binary and pass the path to its YAML configuration file.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

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>