FlareSend MCP
Provides tools for sending, scheduling, and managing WhatsApp messages and media, checking WhatsApp numbers, and managing instances, groups, and channels through the FlareSend WhatsApp API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
flaresend-mcp
Hosted remote MCP server and multi-client agent plugin for FlareSend — WhatsApp messaging API.
Piece | What it is |
MCP server | Streamable HTTP at |
Auth | Per-request |
Plugin |
|
API docs (documented endpoints only): flaresend-api-documentation
Get an API key: FlareSend dashboard → your connected instance → copy the instance API key. That key selects the sending WhatsApp number. Do not put instance_id in message bodies.
Quick start (pick your client)
Client | What to use |
Cursor Marketplace | Install FlareSend plugin → set |
Cursor (manual) | Settings → MCP, or |
OpenAI Codex |
|
GitHub Copilot | VS Code MCP / Copilot CLI |
Claude Code | Plugin |
Grok Bot / Agent SDK | Streamable HTTP URL + Bearer header |
MCP Inspector | Local test: |
Production URL (after deploy): https://mcp.flaresend.com/mcp
Local URL: http://127.0.0.1:8787/mcp
All of these clients talk to the same hosted MCP. Only the config file shape differs. There is no stdio binary.
Related MCP server: whatsapp-triage
1. Cursor Marketplace (once published)
Install the FlareSend plugin from the Cursor Marketplace.
Plugins → Configure → set
FLARESEND_API_KEYto your instance API key.The plugin’s
plugins/flaresend/mcp.jsonpoints athttps://mcp.flaresend.com/mcp.Start a chat and ask something like “list my FlareSend instances” or “check if 2547… is on WhatsApp”.
See SUBMITTING.md for the publish checklist.
2. Cursor — custom MCP connector
Option A — Cursor Settings UI
Cursor → Settings → MCP (or Features → MCP).
Add new global MCP server (or project server).
Choose URL / remote HTTP (not a command/stdio server).
URL:
https://mcp.flaresend.com/mcp(orhttp://127.0.0.1:8787/mcpwhile developing).Add header:
Name:
AuthorizationValue:
Bearer YOUR_INSTANCE_API_KEY
Save and ensure the server shows as connected.
Option B — mcp.json file
Create or edit ~/.cursor/mcp.json (or project .cursor/mcp.json):
Hosted:
{
"mcpServers": {
"flaresend": {
"url": "https://mcp.flaresend.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_INSTANCE_API_KEY"
}
}
}
}Local wrangler:
{
"mcpServers": {
"flaresend": {
"url": "http://127.0.0.1:8787/mcp",
"headers": {
"Authorization": "Bearer YOUR_INSTANCE_API_KEY"
}
}
}
}Restart Cursor or reload MCP if the server does not appear.
3. OpenAI Codex
Codex reads MCP from TOML (not JSON). Prefer an env var for the secret — do not paste the key into config.toml.
Add to ~/.codex/config.toml (or a trusted project’s .codex/config.toml):
[mcp_servers.flaresend]
url = "https://mcp.flaresend.com/mcp"
bearer_token_env_var = "FLARESEND_API_KEY"Then export the key in your shell (or OS env):
export FLARESEND_API_KEY="your-instance-api-key"Local server while developing:
[mcp_servers.flaresend]
url = "http://127.0.0.1:8787/mcp"
bearer_token_env_var = "FLARESEND_API_KEY"Optional plugin shim for Codex-style installs: plugins/flaresend/.codex-plugin/plugin.json + .mcp.json.
CLI alternative (if your Codex build supports it):
codex mcp add flaresend --url https://mcp.flaresend.com/mcp
# then set bearer_token_env_var / FLARESEND_API_KEY as above4. GitHub Copilot (VS Code + Copilot CLI)
Copilot CLI
~/.copilot/mcp-config.json (or project .mcp.json / .github/mcp.json):
{
"mcpServers": {
"flaresend": {
"type": "http",
"url": "https://mcp.flaresend.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_INSTANCE_API_KEY"
},
"tools": ["*"]
}
}
}Or interactively:
copilot mcp add --transport http \
--header "Authorization: Bearer YOUR_INSTANCE_API_KEY" \
flaresend https://mcp.flaresend.com/mcpVS Code / Copilot Chat Agent mode
Add a remote HTTP MCP server (VS Code 1.101+). Editor-managed config often uses a top-level servers object:
{
"servers": {
"flaresend": {
"type": "http",
"url": "https://mcp.flaresend.com/mcp",
"headers": {
"Authorization": "Bearer ${input:flaresend_api_key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "flaresend_api_key",
"description": "FlareSend instance API key",
"password": true
}
]
}Exact file location varies (mcp.json in the user profile or workspace). Prefer ${input:…} or env substitution so the key is not committed.
5. Claude Code
Plugin manifest: plugins/flaresend/.claude-plugin/plugin.json.
Or add an HTTP MCP server with:
{
"mcpServers": {
"flaresend": {
"type": "http",
"url": "https://mcp.flaresend.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_INSTANCE_API_KEY"
}
}
}
}Set FLARESEND_API_KEY in the environment if your Claude host expands ${FLARESEND_API_KEY}.
6. Grok Bot / Agent SDK / other Streamable HTTP clients
Same idea: URL + Authorization header. No stdio binary.
{
"mcpServers": {
"flaresend": {
"type": "streamable-http",
"url": "https://mcp.flaresend.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_INSTANCE_API_KEY"
}
}
}
}Some UIs omit type and only need url + headers — that is fine.
Inbound WhatsApp → Grok Bot: FlareSend webhooks cannot set custom headers. Use the optional relay in relay/ (see DEPLOY.md).
7. Test with MCP Inspector (recommended before deploy)
Do not open http://127.0.0.1:8787/mcp in a normal browser — you will get 401. That URL is only for MCP clients.
Terminals
# Terminal 1 — MCP server
cd flaresend-mcp
npm install
npm run dev
# Ready on http://127.0.0.1:8787
# Terminal 2 — Inspector UI
npx @modelcontextprotocol/inspectorIn the Inspector UI
Click Add Servers.
Transport: Streamable HTTP (not Standard I/O).
Name:
flaresendURL:
http://127.0.0.1:8787/mcpAuth / Custom Headers — enable:
Name:
AuthorizationValue:
Bearer YOUR_INSTANCE_API_KEY(includeBearerand a space)
Save → turn the server Connected.
Open the Tools tab → pick a tool → fill fields (or Edit as JSON) → Execute Tool.
You should see initialize and tools/list as OK in Messages.
Safe tools to try first
Tool | Example input |
|
|
|
|
|
|
send_message example (only to opted-in numbers):
{
"recipients": ["254712345678"],
"type": "text",
"text": "Hello from FlareSend MCP"
}Local auth shortcut
If Inspector keeps dropping headers, create .dev.vars (gitignored):
cp .dev.vars.example .dev.vars
# set FLARESEND_API_KEY=...Restart npm run dev. Do not set FLARESEND_API_KEY on the production Worker — production callers must send their own Bearer token.
Tools
Messaging / instances: send_message, check_number, schedule_message, list_scheduled_messages, update_scheduled_message, cancel_scheduled_message, list_instances, get_instance, get_instance_status, reconnect_instance, health
Groups (Pro+): create_group, list_groups, get_group, get_group_invite_link, send_group_message, manage_group_participants
Channels (Pro+): create_channel, get_channel, update_channel, resolve_channel_invite, send_channel_message, follow_channel, unfollow_channel
Phone numbers: international digits only (no +). The server strips +, spaces, and dashes.
Media: text | image | video | audio | document via url or fileBase64 + fileName + mimeType.
Safety
Message only opted-in recipients; honour STOP
Always show a draft and get approval before sending
New numbers: ramp up from ~20–30 messages/day
Agent guidance:
plugins/flaresend/skills/flaresend-whatsapp/SKILL.md
Develop / deploy
npm test # unit tests (mocked fetch)
npm run typecheck
npm run deploy # Cloudflare WorkerFull deploy (custom domain, relay secrets, Fly.io): DEPLOY.md
Script | Purpose |
| Local MCP Worker |
| Vitest |
| TypeScript |
| Deploy MCP Worker |
| Deploy webhook relay |
| Docker image for Fly.io |
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Send WhatsApp messages and templates, manage chats, contacts, broadcasts and AI agents.
Send and read WhatsApp messages, templates, chats and campaigns through the official Business API.
Send WhatsApp messages, templates and media, and manage templates via the WhatsApp Business API.
Send, receive, edit and react to WhatsApp messages from your own number. OAuth or API key sign-in.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to control WhatsApp, including sending messages and media, reading chats, managing groups and communities, with QR/pairing auth and session persistence.1415 npm2MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with WhatsApp by sending messages, triaging urgent conversations, scheduling messages, and managing automated replies with safety controls and human approval.-

GoWA MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents and tools to send and manage WhatsApp messages, media, statuses, and scheduled sends across multiple linked devices.MIT- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to manage WhatsApp instances, send messages and campaigns, handle incoming messages, webhooks, members, and metrics through 30 authenticated tools, with an optional WhatsApp-to-assistant bridge.Apache 2.0