# How to connect 2chat to Claude

```json
{
  "title": "How to connect 2chat to Claude",
  "toolkit": "2chat",
  "toolkit_slug": "_2chat",
  "framework": "Claude Cowork",
  "framework_slug": "claude-cowork",
  "url": "https://composio.dev/toolkits/_2chat/framework/claude-cowork",
  "markdown_url": "https://composio.dev/toolkits/_2chat/framework/claude-cowork.md",
  "updated_at": "2026-10-04T17:14:45.496Z"
}
```

## Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.
This guide walks you through the easiest and most secure way to connect your 2chat account to Claude via Composio Connect, enabling it to add new WhatsApp contact for sales lead, list all WhatsApp contacts and their details, check your 2Chat API usage this week, and more such actions on your behalf without compromising your account security.
Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

## Also integrate 2chat with

- [Claude Code](https://composio.dev/toolkits/_2chat/framework/claude-code)
- [OpenAI Agents SDK](https://composio.dev/toolkits/_2chat/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/_2chat/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/_2chat/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/_2chat/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/_2chat/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/_2chat/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/_2chat/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/_2chat/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/_2chat/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/_2chat/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/_2chat/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/_2chat/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/_2chat/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/_2chat/framework/autogen)

## Connect 2chat to Claude Cowork

### Connecting 2chat to Claude Web, Desktop, and Cowork
Two ways to add the Composio connector. Pick whichever you prefer.
### 1. Add with one click
Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.
[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Composio&connectorUrl=https%3A%2F%2Fconnect.composio.dev%2Fmcp)
### Add manually
In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.
Click Add custom connector and paste in the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the 2chat MCP server, and what's possible with it?

The 2chat MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your 2chat account. It provides structured and secure access to your contacts, webhook subscriptions, API usage, and account information, so your agent can create contacts, list contacts, review webhook subscriptions, monitor API usage, and validate your API key on your behalf.
- Contact creation: Have your agent add new contacts to your 2chat account.
- Contact lookup: Let the agent list your existing 2chat contacts whenever you need them.
- Webhook subscription review: Direct your agent to list configured webhook subscriptions for WhatsApp and phone call events.
- API usage monitoring: Instruct your agent to retrieve your current API usage and account information.
- API key validation: Have your agent test your 2chat API key and retrieve the related account information.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `_2CHAT_CREATE_CONTACT` | Create Contact | Tool to create a new contact in your 2Chat account. Use after gathering and verifying first name and at least one contact detail (email, phone, or address). |
| `_2CHAT_GET_API_USAGE_INFO` | Get API Usage Info | Tool to retrieve current API usage and account information. Use when you need to monitor your remaining quotas before sending more requests. |
| `_2CHAT_LIST_CONTACTS` | List Contacts | Tool to list all contacts in your 2Chat account. Use when you need to retrieve your contact list after confirming your account connection. |
| `_2CHAT_LIST_WEBHOOKS` | List Webhook Subscriptions | List all configured webhook subscriptions for WhatsApp and phone call events. Use this when you need to audit, review, or retrieve UUIDs of your active webhook subscriptions. Returns details including webhook UUID, event type, channel UUID, callback URL, and creation timestamp. |
| `_2CHAT_TEST_API_KEY` | Test API Key | Tool to validate your API key and retrieve account info. Use when confirming credentials before performing other operations. |

## Supported Triggers

None listed.

## Troubleshooting

### 1. Why does Claude not use the Composio connector for 2chat?

The connector can show as connected, but Claude must use it in each 2chat conversation.
- Click + at the lower left of the chat, or type /.
- Hover Connectors.
- Turn on Composio.
- Ask Claude to connect to 2chat again.

### 2. Why does Claude show an MCP server error before 2chat connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for 2chat.
- Check that the connector URL is https://connect.composio.dev/mcp.
- Connectors run from Anthropic's cloud, so your device network is usually not the problem.
- Add the connector again from Customize > Connectors, then ask Claude to connect 2chat.
- If it fails again, send the error and the ofid_ reference id to support@composio.dev.

### 3. Why does the 2chat authorization link not work?

The Composio connector is one server. Your 2chat account connects separately when Claude asks for it.
- If the browser does not open, or the link expires, ask Claude to retry the 2chat connection.
- Composio creates a fresh 2chat authorization link.
- Open that link in your browser and finish the 2chat sign-in.

### 4. Why do 2chat actions fail after they worked before?

The 2chat connection can expire or lose permission.
- Ask Claude to inspect the 2chat connection.
- If the connection is unhealthy, disconnect it when Claude prompts you.
- Reconnect the 2chat account and retry the action.
- If Claude shows a permission prompt, approve it before Claude changes data in 2chat.
- If the action still fails with a permission error, check that the connected account has that permission in 2chat itself.

### 5. How do I switch to a different 2chat account?

Claude can manage the 2chat connection for you.
- Ask Claude to disconnect or delete the current 2chat account.
- Ask Claude to connect 2chat again.
- Open the new Composio authorization link for 2chat.
- Sign in with the other 2chat account in the browser.
- After the account connects, ask Claude to retry the 2chat task.

### 6. Why is my 2chat connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your 2chat connection works in Claude Web, Desktop, and Cowork.
- In Claude Desktop, open Customize > Connectors.
- Next to Composio, click ⋮ and click Clear cache.
- If 2chat tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
- On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect 2chat.

## Creating MCP Server - Stand-alone vs Composio SDK

The 2chat MCP server connects Claude Web, Desktop, and Cowork to your 2chat account through Composio. Once connected, Claude can use the available 2chat tools and triggers to complete tasks on your behalf.

## Complete Code

None listed.

## How to build 2chat MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/_2chat/framework/claude-code)
- [OpenAI Agents SDK](https://composio.dev/toolkits/_2chat/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/_2chat/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/_2chat/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/_2chat/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/_2chat/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/_2chat/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/_2chat/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/_2chat/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/_2chat/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/_2chat/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/_2chat/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/_2chat/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/_2chat/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/_2chat/framework/autogen)

## Related Toolkits

- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Slack](https://composio.dev/toolkits/slack) - Slack is a channel-based messaging platform for teams and organizations. It helps people collaborate in real time, share files, and connect all their tools in one place.
- [Gong](https://composio.dev/toolkits/gong) - Gong is a platform for video meetings, call recording, and team collaboration. It helps teams capture conversations, analyze calls, and turn insights into action.
- [Microsoft teams](https://composio.dev/toolkits/microsoft_teams) - Microsoft Teams is a collaboration platform that combines chat, meetings, and file sharing within Microsoft 365. It keeps distributed teams connected and productive through seamless virtual communication.
- [Slackbot](https://composio.dev/toolkits/slackbot) - Slackbot is a conversational automation tool for Slack that handles reminders, notifications, and automated responses. It boosts team productivity by streamlining onboarding, answering FAQs, and managing timely alerts—all right inside Slack.
- [Agent mail](https://composio.dev/toolkits/agent_mail) - Agent mail provides AI agents with dedicated email inboxes for sending, receiving, and managing emails. It empowers agents to communicate autonomously with people, services, and other agents—no human intervention needed.
- [Android Texter](https://composio.dev/toolkits/android_texter) - Android Texter is an API service that connects Android phones to SMS, MMS, contacts, and device data. Use it to automate mobile messaging without building your own phone-to-API bridge.
- [Basecamp](https://composio.dev/toolkits/basecamp) - Basecamp is a project management and team collaboration tool by 37signals. It helps teams organize tasks, share files, and communicate efficiently in one place.
- [Blooio](https://composio.dev/toolkits/blooio) - Blooio is a stable v2 API platform for messaging, chats, contacts, groups, phone numbers, and account analytics. It gives teams a clean way to build reliable communication workflows without stitching together fragile custom APIs.
- [Callback24](https://composio.dev/toolkits/callback24) - Callback24 is a telephony API for managing phone calls, users, services, and routing groups. It centralizes call control and routing to automate voice workflows and operations.
- [CallOnTheGo](https://composio.dev/toolkits/callonthego) - CallOnTheGo is a telephony API for managing phone numbers, caller IDs, suppression lists, audio assets, contact lists, and Voice AI campaigns. It provides programmatic control over calling infrastructure and campaign automation for scalable voice outreach.
- [Carbon Voice MCP](https://composio.dev/toolkits/carbon_voice_mcp) - Carbon Voice MCP is a voice-first collaboration platform for messages, conversations, and workflows. Use it to centralize voice communications and streamline team collaboration.
- [CardClan](https://composio.dev/toolkits/cardclan) - CardClan is a digital card platform for creating and sending personalized team cards. Use it to celebrate moments, share card links, and manage card workflows without extra coordination.
- [Chatwork](https://composio.dev/toolkits/chatwork) - Chatwork is a team communication platform with group chats, file sharing, and task management. It helps businesses boost collaboration and streamline productivity.
- [Clickmeeting](https://composio.dev/toolkits/clickmeeting) - ClickMeeting is a cloud-based platform for running online meetings and webinars. It helps businesses and individuals host, manage, and engage virtual audiences with ease.
- [Confluence](https://composio.dev/toolkits/confluence) - Confluence is Atlassian's team collaboration and knowledge management platform. It helps your team organize, share, and update documents and project content in one secure workspace.
- [Daily](https://composio.dev/toolkits/daily) - Daily is a WebRTC video and audio API platform for building rooms, meetings, recordings, live streams, transcriptions, and telephony. It gives developers reliable real-time media infrastructure without managing complex conferencing stacks.
- [Dailybot](https://composio.dev/toolkits/dailybot) - DailyBot streamlines team collaboration with chat-based standups, reminders, and polls. It keeps work flowing smoothly in your favorite messaging platforms.
- [Dialmycalls](https://composio.dev/toolkits/dialmycalls) - Dialmycalls is a mass notification service for sending voice and text messages to contacts. It helps teams and organizations quickly broadcast urgent alerts and updates.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and 2chat MCP?

With a standalone 2chat MCP server, the agents and LLMs can only access a fixed set of 2chat tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from 2chat and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right 2chat tools.

### Can I manage the permissions and scopes for 2chat while using Tool Router?

Yes, absolutely. You can configure which 2chat scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your 2chat data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
