1msg MCP
OfficialThis server provides 60 MCP tools for managing WhatsApp Business via the 1msg Chat API, covering messaging, media, templates, groups, flows, user management, channel settings, commerce, calling, automation, webhooks, and encryption.
Messaging: Send text, files (images, video, audio, documents), stickers, locations, contacts, address/location requests, reactions, interactive buttons, lists, CTA URLs, carousels, order details, payment requests, products, flows, and templates. Support quoted replies and mark messages as read.
Template Management: Create, list, and remove templates; send template messages with language and parameters.
Media Management: Upload, retrieve metadata, and delete media assets.
Groups: Create, update, delete, list groups; get and reset invite links.
WhatsApp Flows: Create, publish, deprecate, delete, preview, get details, update metadata/structure, and send flow messages.
User Blocking: Block, unblock, and list blocked users.
Profile & Channel: Get/update business profile; get channel status, MM Lite status, and business encryption public key; set encryption key.
Webhooks: Get and set webhook URLs.
Commerce & Payments: Set/get commerce settings; send product messages and payment requests.
Calling: Initiate WhatsApp calls; get/update calling settings.
Conversational Automation: Get/set welcome messages, prompts, and commands.
Message Operations: List messages; create read receipts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@1msg MCPSend 'Hello from MCP' to channel #announcements"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@1msg/mcp
MCP server for the 1msg Chat API — 60 public tools for Cursor, Claude Desktop, and other MCP clients.
Transports: stdio (local) and Streamable HTTP (hosted).
npm | |
Hosted prod | |
Hosted stage | |
SDK |
Source of truth for codegen of
tools.generated.ts/handlers.generated.tsstill lives in the1msg-apimonorepo (packages/mcp). This repository is the distribution package for running and hosting the server.
Quick start
npx (stdio)
export ONE_MSG_BASE_URL=https://api.stage.1msg.io
export ONE_MSG_INSTANCE_ID=your-instance-id
export ONE_MSG_TOKEN=your-channel-token
npx -y @1msg/mcp
# or, after clone + build:
# npm startDeprecated aliases still work: CHAT_API_BASE_URL, CHAT_API_TOKEN, CHAT_API_INSTANCE_ID.
Clone and run
git clone https://github.com/1msg/1msg-mcp.git
cd 1msg-mcp
npm install
npm run build
export ONE_MSG_BASE_URL=https://api.stage.1msg.io
export ONE_MSG_INSTANCE_ID=your-instance-id
export ONE_MSG_TOKEN=your-channel-token
npm start # stdio → dist/index.js
npm run start:http # Streamable HTTP → dist/http.jsRelated MCP server: Vox MCP
Environment variables
Variable | Required | Description |
| yes (stdio) | API base, e.g. |
| yes (stdio) | Channel API token |
| yes (stdio) | Channel instance id |
| no | HTTP bind host (default |
| no | HTTP port (default |
| no | Per-token rate limit for HTTP (default |
For hosted HTTP, upstream ONE_MSG_BASE_URL is set on the server; clients send credentials per request (see below).
Cursor (mcp.json)
Local stdio
{
"mcpServers": {
"1msg": {
"command": "npx",
"args": ["-y", "@1msg/mcp"],
"env": {
"ONE_MSG_BASE_URL": "https://api.stage.1msg.io",
"ONE_MSG_INSTANCE_ID": "your-instance-id",
"ONE_MSG_TOKEN": "your-channel-token"
}
}
}
}Hosted URL (Streamable HTTP)
Prod: https://mcp.1msg.io/mcp · Stage: https://mcp.stage.1msg.io/mcp
{
"mcpServers": {
"1msg": {
"url": "https://mcp.1msg.io/mcp",
"headers": {
"Authorization": "Bearer your-channel-token",
"X-Instance-Id": "your-instance-id"
}
}
}
}Header aliases: X-1msg-Instance-Id (and deprecated X-Chat-Api-Instance-Id). Do not commit real tokens.
Hosted HTTP locally
export ONE_MSG_BASE_URL=https://api.stage.1msg.io
export MCP_HTTP_PORT=3100
npm run start:httpAuth:
Authorization: Bearer <token>+X-Instance-Id: <instanceId>Health:
GET /healthz,GET /readyz
docker build -t 1msg/1msg-mcp-http:local .
docker run --rm -p 3100:3100 \
-e ONE_MSG_BASE_URL=https://api.stage.1msg.io \
1msg/1msg-mcp-http:localScripts
Script | Purpose |
| Compile TypeScript → |
| Jest unit tests |
| Stdio |
| Run stdio / HTTP servers |
Architecture
All Chat API HTTP goes through @1msg/sdk. See ARCHITECTURE.md.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA command-line interface application enabling interactive chat with AI models via the Anthropic API. It supports document retrieval, command-based prompts, and extensible tool integrations through the MCP architecture.
- AlicenseAqualityBmaintenanceEnables MCP clients like Claude Code and Cursor to use multiple AI models (Gemini, GPT, Grok, DeepSeek, Kimi, Ollama) via a unified chat tool with conversation memory.3Apache 2.0
- Alicense-qualityAmaintenanceConnects MCP clients (Claude Desktop, Cursor, Cline, Zed) to llmsproxy.ai, exposing chat, coding, and retrieval capabilities as MCP tools, resources, and prompts.8Apache 2.0
- Flicense-qualityDmaintenanceProvides 180+ tools for full system control including terminal, Git, Docker, Kubernetes, VMs, BIOS, kernel, cybersecurity, AI, and cloud, designed to work with MCP clients like Cursor and Claude Desktop.
Related MCP Connectors
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/1msg/1msg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server