4,500+ servers built on MCP Fusion
Vinkius
2Chat logo
Vinkius
CrewAI logo

How to Use the 2Chat MCP in CrewAI

Deploy autonomous WhatsApp moderation crews with the 2Chat MCP Server for CrewAI.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

2Chat MCP on Cursor AI Code Editor MCP Client 2Chat MCP on Claude Desktop App MCP Integration 2Chat MCP on OpenAI Agents SDK MCP Compatible 2Chat MCP on Visual Studio Code MCP Extension Client 2Chat MCP on GitHub Copilot AI Agent MCP Integration 2Chat MCP on Google Gemini AI MCP Integration 2Chat MCP on Lovable AI Development MCP Client 2Chat MCP on Mistral AI Agents MCP Compatible 2Chat MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
CrewAI

Connect 2Chat MCP to CrewAI

Create your Vinkius account to connect 2Chat to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Assign WhatsApp MCP tools to specialized agents

You do not want a single script handling customer support. CrewAI lets you build a team where a Researcher agent pulls account details while a Communicator agent handles the actual chat. The Communicator agent uses `list_numbers` to find the correct support line, then fires `send_message` to reply to the user. Shared memory ensures the agent remembers the context of the conversation across multiple turns.

Autonomous group management via CrewAI

Running large communities requires constant vigilance. A Moderator agent can monitor external triggers and use `create_group` to spin up temporary channels for specific user cohorts. When an active thread gets too noisy, the agent runs `list_groups` to pull the UUID. It then posts a warning message to the entire room without any human intervention.

Clean your contact lists automatically

Bad data creates chaos for autonomous operations. You can assign a Data Janitor agent to scrub your CRM records in the background using the `check_number` tool. The agent iterates through thousands of rows, pinging the MCP Server to verify WhatsApp registration. Invalid entries get flagged in your database so your outbound marketing crew never attempts to message them.

Setup guide

Set up 2Chat MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke 2Chat tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="2Chat Analyst",
    goal="Access and analyze 2Chat data via MCP.",
    backstory="Expert analyst with direct 2Chat access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent 2Chat transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about 2Chat MCP in CrewAI

Pass your Vinkius endpoint URL directly into the mcps array on your Agent definition. The crew will automatically discover the WhatsApp operations.
Use MCPServerHTTP from the crewai.mcp module. You can apply a tool_filter so only your designated sender agent can execute text blasts.
Your agent reads the error response from the tool execution. Because it operates autonomously, it can decide to retry the payload or notify an admin.
Yes. A manager agent can delegate the verification task to a worker, wait for the result, and then order another worker to execute the final message send.
We operate entirely in memory. When your agents pull participant rosters or send group texts, that payload passes through an ephemeral V8 sandbox. Vinkius drops the memory state immediately after the request finishes.

Start using the 2Chat MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 5 tools

We've already built the connector for 2Chat. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 5 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.