open-wa/wa-automate-nodejs/easy-api-mcp
Claude Code and agent skill by open-wa/wa-automate-nodejs
- community
Checking that the SKILL.md file is still in the repository.
Teaches AI agents how to connect to the open-wa hosted MCP surface via Easy API.
Install
npx vskill@latest install open-wa/wa-automate-nodejs/easy-api-mcpSKILL.md
The same SKILL.md was published earlier as open-wa/wa-automate-nodejs/easy-api-mcp.
Easy API MCP Skill
This skill teaches AI agents how to connect to and use the open-wa MCP integration hosted through Easy API.
What is this?
open-wa exposes a hosted MCP endpoint that wraps every Easy API method as a discoverable MCP tool. This is the recommended surface for AI agent integration.
Connection
The MCP endpoint uses Streamable HTTP transport — a single endpoint handles all operations:
POST /mcp— JSON-RPC messages (initialize, tools/list, tools/call)GET /mcp— Server-initiated SSE stream when neededDELETE /mcp— Session termination
Authentication
Every request must include your Easy API key. Without it, you get 401 Unauthorized.
Methods to provide the key:
- Header:
X-API-Key: YOUR_API_KEY
Client Configuration
Claude Desktop (claude_desktop_config.json):
Cursor / Windsurf: Add MCP server with URL http://localhost:8080/mcp and set X-API-Key header. Note: Cursor currently calls Streamable HTTP by the name "SSE" in its UI dropdown.
When to use hosted MCP vs alternatives
| Scenario | Use | |
|---|---|---|
| AI agent interacting with WhatsApp | Hosted MCP (this) | |
| Local CLI tool or IDE integration | Hosted MCP via Streamable HTTP | |
| Custom SDK integration in your own app | createClient() directly (no MCP) |
Tool Discovery
Tools are namespaced:
messages.sendText— Send a text messagechats.getAll— Get all chatsgroups.create— Create a group
Use tools/list (MCP protocol) to discover all available tools.
For debugging, visit /meta/mcp-tools.json on the API host.
Important Boundaries
- MCP is Easy API-only. Not available through
createClient(). - MCP requires an
apiKey. No key = server refuses to start. - Auth is enforced on every request, not just initialization.
- Tool execution blocks until the WhatsApp session is fully connected.
- MCP exposes the same methods as HTTP API — no MCP-exclusive features.
Troubleshooting
401 Unauthorized
Your API key is missing or wrong. Verify:
- Server has
apiKeyinconfig.json - Your client sends
X-API-Keyheader with the correct value mcp.enabledistrue
Server refuses to start
Set apiKey in your config before enabling MCP.
Tools list is empty
The schema registry has no methods registered. The open-wa runtime may not have fully initialized.
Tool execution returns "Session is not connected"
The WhatsApp session isn't ready yet. Wait for the session to be fully connected before calling tools.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/easy-api-mcp/SKILL.md
Popularity
- Repository stars
- 3,560
- Repository forks
- 689
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/open-wa/wa-automate-nodejs/easy-api-mcp)