Zenvia

Messaging and email

MCP server for Zenvia, SMS, WhatsApp, RCS, Email, Voice, Facebook messaging, templates and reports.

Your AI app calls the Zenvia MCP server, which does the messaging and email work and sends the result back to the chat.

About Zenvia

Zenvia is a community MCP server from codespar, filed in our directory under messaging and email. MCP server for Zenvia, SMS, WhatsApp, RCS, Email, Voice, Facebook messaging, templates and reports.

Zenvia runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-zenvia@0.2.2 and talks to it over standard input and output. It needs ZENVIA_API_TOKEN set before Zenvia starts.

Zenvia is listed in the official MCP registry as io.github.codespar/mcp-zenvia, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-zenvia
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-zenvia

How to set up Zenvia

  1. Install Node.js on the machine that runs your AI app, because Zenvia starts with npx and downloads its package on first run.
  2. Create ZENVIA_API_TOKEN for Zenvia in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Zenvia to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Zenvia tools to confirm the connection.
  5. Run one read-only task with Zenvia first, and keep your app asking before each tool call until the results look right.

Zenvia compared with similar servers

  • Apple Mail by patrickfreyer has fewer GitHub stars than Zenvia (275 against 278); both are community servers, and both run locally.
  • Z API by codespar has fewer GitHub stars than Zenvia (278 against 278); both are community servers, and both run locally.
  • SMS by markuman has fewer GitHub stars than Zenvia (270 against 278); both are community servers, and SMS runs as a remote server and Zenvia runs on your own machine.

Before you connect Zenvia

  • Give Zenvia its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Zenvia tool call until you trust what it does with them.
  • Treat text that Zenvia fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Zenvia on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Zenvia

How marketing and sales teams put Zenvia to work, by company size. Pick the size closest to yours and start Zenvia on one use case.

Small business

  • A small team can have Zenvia summarize the inbox or channel each morning, so nothing from a customer waits until the afternoon.
  • Owners can draft replies and follow-ups with Zenvia and send them only after a read, keeping the personal tone customers expect.
  • Zenvia runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can use Zenvia to turn long launch threads into decisions, owners and dates that land in the project tracker.
  • Sales and success teams can connect Zenvia so an agent drafts follow-ups after every customer call, ready to edit and send.
  • Start Zenvia on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can deploy Zenvia with retention and data loss rules intact, so agents summarize conversations without moving data outside policy.
  • Internal comms teams can use Zenvia to find what employees ask most across channels and answer it once, in the right place.
  • Zenvia is a community server, so have security review the code and pin a version before Zenvia touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Zenvia README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-zenvia

MCP server for Zenvia, multichannel messaging (SMS, WhatsApp, RCS)

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "zenvia": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-zenvia"],
      "env": {
        "ZENVIA_API_TOKEN": "your-token"
      }
    }
  }
}
Claude Code
claude mcp add zenvia -- npx @codespar/mcp-zenvia
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "zenvia": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-zenvia"],
      "env": {
        "ZENVIA_API_TOKEN": "your-token"
      }
    }
  }
}

Tools (18)

Tool Purpose
send_sms Send an SMS message
send_whatsapp Send a WhatsApp message
send_rcs Send an RCS (Rich Communication Services) message
send_email Send a transactional email
send_voice Send a voice message via TTS or pre-recorded audio URL
send_facebook_message Send a Facebook Messenger message
get_message_status Get message delivery status by ID
list_channels List available messaging channels
create_subscription Create a webhook subscription for message events
list_subscriptions List all webhook subscriptions
delete_subscription Delete a webhook subscription by ID
list_contacts List contacts from the contact base
create_contact Create a contact in the contact base
delete_contact Delete a contact by ID
send_template Send a WhatsApp template message (pre-approved)
list_templates List approved message templates (WhatsApp/SMS/RCS)
get_report_entries Get message report entries within a date range
add_opt_out Add a phone number to the opt-out list (suppresses future messages)

Authentication

Zenvia uses an API token passed via the X-API-TOKEN header.

Sandbox / Testing

Zenvia provides a sandbox via the dashboard for testing messages.

Get your credentials
  1. Go to Zenvia
  2. Create an account
  3. Get your API token from the dashboard
  4. Set the ZENVIA_API_TOKEN environment variable

Environment Variables

Variable Required Description
ZENVIA_API_TOKEN Yes API token from Zenvia dashboard

Roadmap

v0.2 (planned)
  • create_contact_list, Create a contact list for campaigns
  • send_batch, Send batch messages to a contact list
  • get_report, Get message delivery reports
  • create_flow, Create a conversational flow
  • list_templates, List approved message templates
v0.3 (planned)
  • chatbot_integration, Integrate with Zenvia chatbot builder
  • analytics_dashboard, Get channel analytics and metrics

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Zenvia

What is the Zenvia MCP server?

MCP server for Zenvia, SMS, WhatsApp, RCS, Email, Voice, Facebook messaging, templates and reports. Zenvia is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Zenvia MCP server?

Add Zenvia to your AI app's MCP config with the command npx -y @codespar/mcp-zenvia@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-zenvia -- npx -y @codespar/mcp-zenvia@0.2.2. To run Zenvia this way you need Node.js installed.

Does Zenvia need an API key?

Yes. Zenvia expects ZENVIA_API_TOKEN to be set. Create the key for Zenvia in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Zenvia an official MCP server?

No. Zenvia is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Zenvia access to company data.

What license is Zenvia under?

Zenvia is released under the MIT license, according to its GitHub repository. The license covers the code of Zenvia; the service it connects to has its own terms.