Connect Claude, ChatGPT, Gemini and Cursor to WhatsApp with MCP · Lime API
Step-by-step setup of the Lime API MCP connector in Claude, ChatGPT, Gemini CLI, Cursor and VS Code, with the full tool list, example prompts and security.
Your AI assistant can already write a good reply to a customer. With Lime's MCP connector it can also send it, from your own WhatsApp number, after reading the chat it is replying to. This guide shows how to connect Claude, ChatGPT, Gemini, Cursor and VS Code, what the assistant can do once connected, and how to keep the connection safe.
The connector is included in every Lime plan, including the free Developer plan, at no extra cost.
What MCP is, in one paragraph
MCP (Model Context Protocol) is an open standard that lets AI assistants use external tools. A service publishes an MCP server that describes its tools: their names, what they do and what inputs they need. The assistant reads that list and calls the tools when your request needs them. Lime runs a remote MCP server over Streamable HTTP at https://api.lime-api.com/mcp, so any client that supports remote MCP servers can operate your WhatsApp workspace. You write "send Dana the price list" and the assistant picks send_file, fills in the chat and the URL, and calls it.
Before you start
- A Lime account with at least one connected WhatsApp number. If you don't have one, the 2-minute quickstart covers it
- Owner or admin role in the workspace. The connector gives full access to the workspace, so team members with lower roles don't see the URL
- Your MCP URL. In the panel open AI & MCP from the sidebar and copy the connector URL. It includes your secret key, so most clients can add it with no extra authentication
One URL works in every client below.
Claude (web and desktop)
- Open claude.ai → Settings → Connectors
- Click Add custom connector
- Name it Lime API
- Paste your MCP URL
- Click Add, then in a new chat enable Lime API from the tools menu
Claude Desktop uses the same Connectors settings, so adding it once covers both. Custom connectors are available on Claude's paid plans.
Claude Code
One command in the terminal:
claude mcp add --transport http lime-api https://api.lime-api.com/mcp/YOUR_KEY
ChatGPT
- Open Settings → Apps & Connectors → Advanced settings
- Turn on Developer mode
- Back in Apps & Connectors, click Create and name it Lime API
- Paste your URL as the MCP Server URL
- For authentication choose No authentication (the key is already in the URL)
- Save, then select Lime API from the tools in a new chat
Gemini CLI
Open ~/.gemini/settings.json and add:
{
"mcpServers": {
"lime-api": { "httpUrl": "https://api.lime-api.com/mcp/YOUR_KEY" }
}
}
Restart Gemini CLI and check the connection with /mcp.
Cursor
Open or create ~/.cursor/mcp.json:
{
"mcpServers": {
"lime-api": { "url": "https://api.lime-api.com/mcp/YOUR_KEY" }
}
}
Save and check that Lime API shows as connected in Settings → MCP.
VS Code (Copilot)
In your project create .vscode/mcp.json:
{
"servers": {
"lime-api": { "type": "http", "url": "https://api.lime-api.com/mcp/YOUR_KEY" }
}
}
Start the server from the file and use Copilot Chat in Agent mode.
Other clients, n8n and Make
Any client that supports remote MCP over Streamable HTTP works, including n8n and Make AI agents. You can use the URL with the key, or the plain endpoint https://api.lime-api.com/mcp with the key sent as Authorization: Bearer YOUR_KEY. The header form is useful when a platform stores secrets separately from URLs. For building customer-facing agents, see Build a WhatsApp AI agent with n8n, Make or your own code.
What the assistant can do
The connector exposes 23 tools, all scoped to your workspace. If you have several numbers, the assistant can work with each one by name or ID.
| Area | Tools |
|---|
| Messaging | send_message, send_file, send_location, send_poll |
| Chats | list_chats, get_chat_messages, search_messages, mark_chat_read |
| Contacts | check_whatsapp, get_contact_info, list_contacts |
| Groups | create_group, manage_group (add or remove members, set admins) |
| Automation | schedule_message, list_scheduled, list_automations, create_auto_reply |
| Account | list_instances, get_instance_status, get_settings, update_settings, get_stats, call_api |
call_api is the escape hatch: it can call any method in the Lime API docs, for example getChatHistory with a larger count, or sendReaction.
Prompts to try
Paste any of these after connecting:
- "Send a WhatsApp to +1 555-123-4567 saying I'll be 10 minutes late"
- "Summarize my unread WhatsApp chats from today"
- "Create an auto-reply for messages that arrive outside business hours"
- "Schedule a reminder broadcast to these 5 numbers tomorrow at 9am"
- "Which of these 20 numbers have WhatsApp?"
- "Find every chat where someone asked about a refund this week and list them with the customer's name"
- "Create a group called Project Falcon with Noa, Avi and me, and make Noa an admin"
- "How many messages did we send and receive in the last 14 days?"
For a longer list tied to real business tasks, read 12 things your AI assistant can do on WhatsApp.
How sending behaves
Messages sent through the connector go out from your WhatsApp number through the same pipeline as the API, so your anti-ban settings (delays, limits, sending window) apply. Broadcasts created with schedule_message default to a random gap of 20 to 60 seconds between recipients and support spintax like {Hi|Hello} and {{name}}. Most clients ask you to approve each tool call before it runs. Keep that on for anything that sends.
Security: treat the URL as a password
Anyone who has your MCP URL can send messages and read chats in your workspace. Handle it like an API token:
- Keep it secret. Don't paste it into shared documents, screenshots, public repos or support tickets. In VS Code, keep
.vscode/mcp.json out of git if the URL is in it - Rotate it if it leaks. On the AI & MCP page click Rotate URL. A new URL is created and every client using the old one stops working immediately. Then update the clients you still use
- Admins only. Only workspace owners and admins can see or rotate the URL. Members see a note asking them to contact an admin
- Review what runs. Leave tool-call confirmation on in your AI client, especially for
send_message, schedule_message and manage_group
WhatsApp's own rules still apply. An assistant can send fast, and WhatsApp blocks numbers that spam. Use it for conversations people expect, and read How to avoid a WhatsApp ban before any bulk send.
Frequently asked
Does Lime include its own AI model? No. The connector lets the assistant you already use (Claude, ChatGPT, Gemini, Cursor, Copilot) operate WhatsApp. You keep your own subscription with that provider.
Does it cost extra? No. The MCP connector is included in every plan, from the free Developer plan to Pro ($9.90 per number per month) and Agency.
Can it answer customers by itself? The connector acts when you ask it to in a chat. To answer customers automatically, connect incoming webhooks to an AI agent in n8n, Make or your code, as described in our AI agent guide.
Get started
Create a free account, link your number by QR, open AI & MCP and paste the URL into your assistant. The whole thing takes about three minutes. Register free, or see plans and pricing.