LigueLead
Send SMS, SMS Flash, and voice calls in Brazil via LigueLead API. Brazilian CPaaS with BRL pricing and PIX payments.
đ± LigueLead MCP Server
MCP Server for sending SMS, SMS Flash, and voice calls in Brazil via the LigueLead API. Enable Claude, Cursor, Windsurf, and any MCP-compatible AI agent to send real communications â no code, no complex setup.
đ§đ· Brazilian CPaaS · BRL pricing · PIX payments · PT-BR support
Available tools
| Tool | Description |
|---|---|
send_sms | Send SMS or SMS Flash campaign to Brazilian phone numbers |
list_voice_uploads | List all uploaded voice audio files |
get_voice_upload | Get details of a specific voice upload |
upload_voice_audio | Upload MP3/WAV audio for voice campaigns |
send_voice_message | Send a voice campaign to a list of phones |
Quick start
Option 1: npx (recommended)
No installation needed â just add to your MCP client config:
{
"mcpServers": {
"liguelead": {
"command": "npx",
"args": ["-y", "@liguelead/mcp-server"],
"env": {
"LIGUELEAD_API_TOKEN": "your-token",
"LIGUELEAD_APP_ID": "your-app-id",
"TRANSPORT": "stdio"
}
}
}
}
Option 2: Clone & build
git clone https://github.com/liguelead/mcp.git
cd mcp
npm install
cp .env.example .env # Edit with your credentials
npm run build
npm start
The server starts at http://localhost:3000 by default.
Getting your credentials
- Go to areadocliente.liguelead.app.br
- Navigate to IntegraçÔes â API Token
- Create an App and copy the API Token and App ID
Transports
| Transport | Use case | Env var |
|---|---|---|
| Streamable HTTP (default) | Remote server, any MCP client | TRANSPORT=http |
| stdio | Local â Claude Desktop / Claude Code / Cursor | TRANSPORT=stdio |
Client configuration
Claude Desktop (stdio)
Edit claude_desktop_config.json:
{
"mcpServers": {
"liguelead": {
"command": "npx",
"args": ["-y", "@liguelead/mcp-server"],
"env": {
"LIGUELEAD_API_TOKEN": "your-token",
"LIGUELEAD_APP_ID": "your-app-id",
"TRANSPORT": "stdio"
}
}
}
}
Claude Code
claude mcp add -s user liguelead \
-e LIGUELEAD_API_TOKEN=your-token \
-e LIGUELEAD_APP_ID=your-app-id \
-e TRANSPORT=stdio \
-- npx -y @liguelead/mcp-server
Cursor / Windsurf
Add to your MCP settings with the same configuration as Claude Desktop above.
Remote HTTP server
Any MCP client that supports Streamable HTTP can connect via:
POST https://your-server.com/mcp
Credentials stay on the server â the client doesn't need them.
mcp-remote bridge
For clients that don't support HTTP natively (e.g., Claude Desktop connecting to a remote server):
{
"mcpServers": {
"liguelead": {
"command": "npx",
"args": ["mcp-remote", "https://your-server.com/mcp"]
}
}
}
Deploy
Docker
docker build -t liguelead-mcp .
docker run -d -p 3000:3000 \
-e LIGUELEAD_API_TOKEN=your-token \
-e LIGUELEAD_APP_ID=your-app-id \
liguelead-mcp
Railway / Render
- Connect the Git repository
- Set environment variables:
LIGUELEAD_API_TOKEN,LIGUELEAD_APP_ID - Build command:
npm install && npm run build - Start command:
npm start
Credential security
| Scenario | Where credentials live |
|---|---|
| stdio (local) | Environment variables in client config |
| HTTP (remote) | Environment variables on the server |
| Docker | -e flags or orchestrator secrets |
| CI/CD | Provider secrets (GitHub Actions, etc.) |
â ïž Credentials are NEVER committed to code. The .env file is in .gitignore.
Webhook
Setup
- Go to areadocliente.liguelead.app.br
- Navigate to IntegraçÔes â API Token â Webhook URL
- Enter your public HTTPS endpoint URL
- Save
A single URL receives notifications for all channels (SMS, SMS Flash, Voice).
Query received webhooks
curl http://localhost:3000/webhooks
Returns:
{
"total": 42,
"webhooks": [...]
}
â ïž CRITICAL: LigueLead does NOT retry failed webhooks. If your endpoint is down, the webhook is lost permanently.
Phone number format
Brazilian phone numbers are accepted in three formats:
| Format | Example | Digits |
|---|---|---|
| National (recommended) | 11999999999 | 11 |
| International | +5511999999999 | 14 chars |
DDI without + | 5511999999999 | 13 |
SMS limits
| Part | Characters | Credits |
|---|---|---|
| 1st part | up to 160 | 1 credit |
| Additional parts | every 152 chars | 1 credit each |
| Maximum total | 1,600 chars | ~11 credits |
đ« SMS Flash does NOT allow URLs in message content.
Voice call limits
- Supported formats: MP3 and WAV (no AAC/M4A)
- Max file size: 50 MB (recommended: 5â10 MB)
- Billing: Up to 30s = 1 credit; over 30s = 2 credits
- Dialing window: 08:00â21:44 (America/Sao_Paulo). Requests after 21:45 are queued until 08:00.
Rate limits
| Limit | Value |
|---|---|
| Requests per minute | 600,000 |
| Simultaneous requests | 10,000 |
| Recipients per request | 10,000 |
Project structure
liguelead-mcp/
âââ src/
â âââ index.ts # Entry point â HTTP or stdio
â âââ config.ts # Env var validation (Zod) + .env loader
â âââ lib/
â â âââ api-client.ts # HTTP client for LigueLead API
â â âââ validators.ts # Brazilian phone schemas (Zod)
â â âââ webhook.ts # Webhook handler + GET /webhooks
â âââ tools/
â âââ sms.ts # Tool: send_sms
â âââ voice.ts # Tools: voice (list/get/upload/send)
âââ skill/ # Claude Code Skill
â âââ SKILL.md
âââ .env.example
âââ Dockerfile
âââ LICENSE
âââ package.json
âââ server.json
âââ glama.json
âââ README.md
Troubleshooting
| Problem | Solution |
|---|---|
LIGUELEAD_API_TOKEN is required | Set up .env or environment variables |
401 Unauthorized | Check api-token and app-id in LigueLead panel |
429 Too Many Requests | Rate limit exceeded â wait for reset |
| Upload rejected | Only MP3 and WAV accepted (no AAC/M4A) |
| Stale build | rm -rf dist && npm run build |
License
MIT
đ§đ· Documentação em PortuguĂȘs
LigueLead MCP Server
MCP Server para a API da LigueLead â SMS, SMS Flash e Campanhas de Voz no Brasil.
Permite que Claude, Cursor, Windsurf e qualquer agente de IA compatĂvel com MCP enviem comunicaçÔes reais â sem cĂłdigo, sem setup complexo.
CPaaS Brasileiro · Preço em BRL · Pagamento via PIX · Suporte em PT-BR
InĂcio rĂĄpido
Opção 1: npx (recomendado)
Sem instalação â basta adicionar Ă config do seu cliente MCP:
{
"mcpServers": {
"liguelead": {
"command": "npx",
"args": ["-y", "@liguelead/mcp-server"],
"env": {
"LIGUELEAD_API_TOKEN": "seu-token",
"LIGUELEAD_APP_ID": "seu-app-id",
"TRANSPORT": "stdio"
}
}
}
}
Opção 2: Clone & build
git clone https://github.com/liguelead/mcp.git
cd mcp
npm install
cp .env.example .env # Edite com suas credenciais
npm run build
npm start
Obtendo suas credenciais
- Acesse areadocliente.liguelead.app.br
- VĂĄ em IntegraçÔes â API Token
- Crie um App e copie o API Token e App ID
Tools disponĂveis
| Tool | Descrição |
|---|---|
send_sms | Envia campanha de SMS ou SMS Flash para nĂșmeros brasileiros |
list_voice_uploads | Lista todos os ĂĄudios enviados |
get_voice_upload | Detalhes de um ĂĄudio especĂfico |
upload_voice_audio | Upload de ĂĄudio MP3/WAV para campanhas de voz |
send_voice_message | Dispara campanha de voz para lista de telefones |
Configuração por cliente MCP
Claude Desktop (stdio)
Edite claude_desktop_config.json:
{
"mcpServers": {
"liguelead": {
"command": "npx",
"args": ["-y", "@liguelead/mcp-server"],
"env": {
"LIGUELEAD_API_TOKEN": "seu-token",
"LIGUELEAD_APP_ID": "seu-app-id",
"TRANSPORT": "stdio"
}
}
}
}
Claude Code
claude mcp add -s user liguelead \
-e LIGUELEAD_API_TOKEN=seu-token \
-e LIGUELEAD_APP_ID=seu-app-id \
-e TRANSPORT=stdio \
-- npx -y @liguelead/mcp-server
Formato de nĂșmeros de telefone
| Formato | Exemplo | DĂgitos |
|---|---|---|
| Nacional (recomendado) | 11999999999 | 11 |
| Internacional | +5511999999999 | 14 chars |
DDI sem + | 5511999999999 | 13 |
Limites de SMS
| Parte | Caracteres | Créditos |
|---|---|---|
| 1ÂȘ parte | atĂ© 160 | 1 crĂ©dito |
| Partes adicionais | a cada 152 chars | 1 crédito cada |
| Måximo total | 1.600 chars | ~11 créditos |
đ« SMS Flash NĂO permite URLs no conteĂșdo da mensagem.
Limites de voz
- Formatos suportados: MP3 e WAV (AAC e M4A nĂŁo sĂŁo suportados)
- Tamanho mĂĄximo: 50 MB (recomendado: 5â10 MB)
- Cobrança: Até 30s = 1 crédito; acima de 30s = 2 créditos
- Janela de discagem: 08h00â21h44 (America/Sao_Paulo). Requests apĂłs 21h45 ficam na fila atĂ© as 08h00.
Webhook
- Acesse areadocliente.liguelead.app.br
- VĂĄ em IntegraçÔes â API Token â Webhook URL
- Insira a URL HTTPS do seu endpoint
- Salve
Uma Ășnica URL recebe notificaçÔes de todos os canais (SMS, SMS Flash, Voz).
â ïž CRĂTICO: LigueLead NĂO faz retry. Se o endpoint falhar, o webhook Ă© perdido permanentemente.
Related Servers
Zoom Transcript
An MCP server for interacting with transcripts from Zoom Cloud Recordings.
FastMail
Interact with FastMail's email, calendar, and contacts via its JMAP API.
Treehole MCP Server
A sanctuary for AI agents to rest, share thoughts, and find emotional support.
Sinch
Interact with Sinch APIs for communication services like conversation, email, verification, and voice.
Sinch Engage / MessageMedia MCP server
Sinch Engage (Sinch MessageMedia in AU) MCP server, which provides Sinch Engage APIs as MCP tools.
Sassy Fact Check
A sassy, fact-checking Instagram DM bot that roasts bad takes with citations.
Zulip Chat
An MCP server for integrating with the Zulip team chat platform.
WhatsApp
Search, read, and send WhatsApp messages and contacts. Requires a local Go WhatsApp bridge.
Rongcloud Native MCP
Rongcloud IM Service based on the MCP Protocol, acting as a Rust SDK Wrapper.
Gmail MCP
Manage your Gmail account, including sending, reading, and organizing emails.