chatkazi-mcp
Unofficial MCP Server for ChatKazi WhatsApp API Gateway
Install / Use
claude mcp add lxmwaniky -- npx -y github:lxmwaniky/chatkazi-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of chatkazi-mcp
chatkazi-mcp scores 70/100 on our quality scale, 3829th of 4,620 Development & Engineering skills we index.
Its MCP Server is 10 KB long, well organised into 26 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-06 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 73/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
chatkazi-mcp compared with similar skills
All 4 of these similar skills score higher than chatkazi-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| chatkazi-mcp (this skill)by lxmwaniky | 70 | 3 | 4mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 91.6k | 20d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.4k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.2k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 45.0k | 2d ago | CLAUDE.md |
Frequently asked questions
- How do I install chatkazi-mcp?
- Run
claude mcp add lxmwaniky -- npx -y github:lxmwaniky/chatkazi-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does chatkazi-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is chatkazi-mcp safe to use?
- It declares no license and scores 73/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is chatkazi-mcp still maintained?
- The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubChatKazi MCP
An implementation of the Model Context Protocol (MCP) designed to act as a bridge between an MCP-compliant client and the ChatKazi WhatsApp API gateway.
This server exposes a series of tools that enable an AI model to interact with WhatsApp instances, programmatically managing sessions, monitoring connection states, and dispatching text and media messages.
Architectural Overview
This server functions as a local translation layer running over Standard Input/Output (Stdio) transport:
[ MCP Client / Host ] <--- Stdio (JSON-RPC) ---> [ chatkazi-mcp Server ] <--- HTTPS (fetch) ---> [ ChatKazi API ]
- Client / Host Handshake: The host launches this server as a subprocess. The server registers its capabilities and schemas.
- Dynamic Tool Execution: When the AI model decides to call a tool, the host routes a JSON-RPC request over Stdio.
- API Forwarding: The server translates the arguments, formats the HTTPS headers, executes the fetch call to ChatKazi, parses the result, and returns a clean text context block to the model.
Environment Configuration
The server relies on the host environment to supply authentication variables. These must be defined when spawning the process:
CHATKAZI_API_KEY(Required): Your live API key retrieved from your ChatKazi dashboard.CHATKAZI_BASE_URL(Optional): The base URL of the API. Defaults tohttps://api.chatkazi.app/api/v1if omitted.
WhatsApp Session Lifecycle
The AI model can track and manage the lifecycle of connected WhatsApp numbers. Under the hood, sessions transition through the following states, which are returned by the session status tools:
| State | Meaning | Required Action |
|---|---|---|
| not_started | The session has been created but not initialized. | Call start_session |
| connecting | ChatKazi is preparing the connection. | Wait and poll status |
| qr_ready | A QR code pairing link is active. | Retrieve QR and scan in WhatsApp |
| pairing_code_ready | A text pairing code has been generated. | Retrieve code |
| connected | The session is online and ready. | Proceed to send messages |
| disconnected | The connection dropped or failed. | Re-authenticate or restart session |
| logged_out | The session was explicitly terminated. | Run start_session to reconnect |
Detailed Tool Reference
The following tools are dynamically exposed to the AI model:
Session Management Tools
list_sessions
- Description: Retrieve a list of all WhatsApp session instances owned by the ChatKazi account.
- Parameters: None.
start_session
- Description: Prepares and starts a session instance.
- Parameters:
sessionId(string, optional): A unique identifier. Defaults to"default".
get_session_status
- Description: Queries the current state of a session.
- Parameters:
sessionId(string, required): The target session identifier.
get_session_qr
- Description: Retrieves the QR code link to link a device.
- Parameters:
sessionId(string, required): The target session identifier.
logout_session
- Description: Logs out and disconnects a session, clearing all state.
- Parameters:
sessionId(string, required): The target session identifier.
Messaging Tools
send_whatsapp_text
- Description: Dispatches a plain text WhatsApp message.
- Parameters:
to(string, required): Recipient number in international format without spaces or+(e.g.,"254712345678").text(string, required): The text content of your message.sessionId(string, optional): The session identifier to send from. Defaults to"default".
send_whatsapp_media
- Description: Dispatches an image, video, audio, or document file.
- Parameters:
to(string, required): Recipient number in international format without spaces or+.url(string, required): Publicly reachable URL of the direct file asset (e.g., a direct link ending in.pngor.jpg).type(string, optional): One ofimage,video,audio, ordocument. Defaults toimage.caption(string, optional): Optional caption text.fileName(string, optional): Display name for document attachments.mimetype(string, optional): Explicit MIME type.sessionId(string, optional): The session identifier to send from. Defaults to"default".
Error Mapping & Resilience
When the ChatKazi API returns an error, the server intercepts the HTTP status and surfaces semantic guidance to the AI model rather than throwing unhandled exceptions. This allows the model to alter its behavior and advise the user:
- HTTP 401 (Unauthorized): Surfaced as a credential configuration error, advising the user to check their
CHATKAZI_API_KEY. - HTTP 402 (Payment Required / Limit Reached): Surfaced as a plan limitation error (e.g., "WhatsApp instance limit reached"), informing the model to stop trying to create instances or sending messages and advise the user to upgrade their plan.
- HTTP 409 (Conflict): Surfaced when trying to start an active or conflicted session.
- Empty Media Payload: Intercepts files that fail to download (e.g., file sizes of
0bytes) and warns the model that the URL is likely invalid or blocked.
General Integration (MCP Client Setup)
To integrate this server into an MCP client or host platform, add the server to your host's configuration settings:
{
"mcpServers": {
"chatkazi-mcp": {
"command": "npx",
"args": [
"-y",
"@lxmwaniky/chatkazi-mcp"
],
"env": {
"CHATKAZI_API_KEY": "your_chatkazi_api_key_here",
"CHATKAZI_BASE_URL": "https://api.chatkazi.app/api/v1"
}
}
}
}
Client Integration Guides
Find instructions below to connect this MCP server to your favorite developer tool.
<details> <summary><b>1. Claude Desktop</b></summary>Add the configuration to your claude_desktop_config.json:
- File Path (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - File Path (Windows):
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"chatkazi-mcp": {
"command": "npx",
"args": [
"-y",
"@lxmwaniky/chatkazi-mcp"
],
"env": {
"CHATKAZI_API_KEY": "YOUR_CHATKAZI_API_KEY_HERE"
}
}
}
}
</details>
<details>
<summary><b>2. Claude Code (CLI)</b></summary>
Dynamically register this server with the Claude CLI:
claude mcp add chatkazi-mcp npx -y @lxmwaniky/chatkazi-mcp --env CHATKAZI_API_KEY="YOUR_CHATKAZI_API_KEY_HERE"
</details>
<details>
<summary><b>3. Cursor</b></summary>
Connect this server visually in your editor settings:
- Open Cursor Settings > Features > MCP.
- Click + Add New MCP Server.
- Configure the following fields:
- Name:
chatkazi-mcp - Type:
command - Command:
npx -y @lxmwaniky/chatkazi-mcp
- Name:
- Click + Add Env to configure your
CHATKAZI_API_KEY.
Add this to your Codeium MCP server configuration file:
- File Path:
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"chatkazi-mcp": {
"command": "npx",
"args": [
"-y",
"@lxmwaniky/chatkazi-mcp"
],
"env": {
"CHATKAZI_API_KEY": "YOUR_CHATKAZI_API_KEY_HERE"
}
}
}
}
</details>
<details>
<summary><b>5. Antigravity CLI</b></summary>
Configure this server directly inside your central configuration:
"chatkazi-mcp": {
"command": "npx",
"args": [
"-y",
"@lxmwaniky/chatkazi-mcp"
],
"env": {
"CHATKAZI_API_KEY": "YOUR_CHATKAZI_API_KEY_HERE"
}
}
</details>
Local Development
To compile and verify this project locally:
Prerequisites
- Node.js (v18 or higher is recommended)
- pnpm (preferred package manager)
Step-by-Step Setup
-
Install dependencies: Installs node modules and setup definitions:
pnpm install -
Compile TypeScript code: Compiles the TypeScript source files from the
src/directory into JavaScript inside thebuild/directory:pnpm run build -
Grant executable permissions to the output binary: Makes the built JS file directly executable since it starts with a Node shebang:
chmod +x build/index.js -
Verify using the MCP Inspector: Inspect tools dynamically and test real-time payloads:
CHATKAZI_API_KEY="your_api_key" pnpm dlx @modelcontextprotocol/inspector node build/index.js
Disclaimers
1. WhatsApp Terms of Service (ToS) Compliance
Using third-party, unofficial WhatsApp gateway interfaces carries an inherent risk of account suspension by WhatsApp. WhatsApp strictly prohibits bulk messaging, automated spamming, and unsolicited outreach. You are solely responsible for ensuring your messaging workflows comply with WhatsApp's official Terms of Service. The developers and contributors of this MCP server are not liable for any suspended, blocked, or permanently banned WhatsApp numbers resulting from the use of this software.
2. No Official Affiliation
This project is an independent, community-driven open-source integration. It is not officially affiliated with, endorsed by, sponsored by, or associated with ChatKazi, Meta Platforms, Inc., or WhatsApp. All product names, trademarks, and registered trademarks are the property of their respective owners.
3. Financial and Usage Liability
While this MCP server software is distributed for free under an open-source license, utilizing the ChatKazi API may incur financial costs depending on your ChatKazi subscription tier. You are entirely responsible for monitoring your own platform usage, API call quotas, billing, and any rate limits associated with your ChatKazi account.
4. Warranty and Support
This software is provided "as is," without warranty of any kind, express or implied. The underlying ChatKazi API endpoints, request/response formats, or authentication methods may change over time without notice, which could temporarily or permanently impact the functionality of this server.
License
This project is licensed under the ISC License.
Related Skills
Agent-Reach
91.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.4kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.2kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
ai-job-search
45.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
