You can connect Claude Code to Chatway using the Chatway MCP (Model Context Protocol) integration. This allows Claude Code to access your Chatway conversations, customer information, and support data based on the permissions you give it.
After connecting, you can ask Claude Code to find and review customer conversations, look up customer details, summarize support activity, and identify recurring issues or customer feedback. Depending on the permissions you give it, Claude Code can also take actions in Chatway, such as sending replies, assigning or resolving conversations, and adding notes or tags.
For example, you can ask Claude Code to review conversations from the past week, group them by issue, and highlight the most common problems customers are reporting.
For automatic real-time replies to incoming customer messages, connect Chatway webhooks to your AI agent and use the Chatway API to send responses. Chatway MCP can be used alongside this workflow to access Chatway tools and data.
Chatway’s MCP integration is available on all Chatway plans, including the Free plan.
Requirements
Before you connect Claude Code to Chatway, ensure you have:
- Claude Code installed on your device.
- A Chatway account with an Owner or Admin role.
Step 1: From your Chatway dashboard, go to “AI agents” and access the External AI tab.

Step 2: Click on the “Connect an AI agent” button and select Claude Code.

Here, you’ll see the list of steps to connect the Claude Code MCP with Chatway.

Connecting Chatway to Claude Code
Follow these steps to add Chatway as an MCP server in Claude Code.
Step 1: Open your terminal and type the following command. Please ensure that you have Claude Code already installed.
claude mcp add --transport http chatway "https://mcp.chatway.app/mcp"This command adds Chatway to Claude Code as an MCP server. By default, the connection is saved at the local project scope, so it applies to the current project. You don’t need to add the server again every time you start a session in that project.
Step 2: Start the Claude Code session by typing “claude”. Once the Claude Code app is open in the terminal, type /mcp. Then, select Chatway here.

Step 3: Select the “Authenticate” option here in the Chatway MCP server.

This will open a browser window and will allow you to complete the Chatway authorization flow. Click on the “Connect” button here.

Step 4: You can select the widgets and channels in your Chatway account that you want Claude Code to access.

Click on “Continue” once done.
Step 5: You can also review the permissions you want to give Claude Code. You can always edit these later from the “External AI” section in Chatway.

Step 6: Once this is done, click on the “Allow access & continue” button here.

Once connected, this is how the Claude Code MCP will look like in your Chatway dashboard.

Note: The “Recent Activity” will show you all the recent activity made by your Claude Code MCP.
Step 7: Return to your Claude Code terminal and check for the message “Authentication successful. Connected to chatway”

You can also type “/mcp” to check the connection status. Chatway should appear in the list of MCP servers with a successful connection status.
Start using Chatway with Claude Code
Once you connect Claude Code, you can use it to find information, review conversations, and perform actions in your Chatway workspace.
You can do this by accessing your Claude Code app (typing claude) in your terminal.
Example 1: For example, you can ask Claude Code to list recent conversations:
Once asked, Claude Code may give you an answer similar to:
Pricing-related visitors
Claude Code found 3 visitors.
- John: Pricing-related inquiries.
- Grace: Asked a question about using the app in support.
- Chris: Question about customizing the widget.
Common questions:
Visitors were mainly interested in pricing, widget customization, and implementing this in support.Example 2: You can ask Claude Code to draft a response to a customer who has asked about Chatway’s pricing plans. For example, you can use this prompt:
“Draft a reply to a customer asking about our pricing plans. Use the available Chatway information, and do not send the reply yet.”
Depending on your setup, the Claude Code might reply something like:
“I found John's conversation about Chatway's pricing plans. Here's a draft reply for you to review:
Hi John,
Thanks for your interest in Chatway!
Chatway offers different plans to suit your team's needs, including a Free plan. You can check our pricing page to compare the available plans and features and find the best fit for your team.
If you have any questions about the plans, feel free to ask. I'd be happy to help!”Once you’ve reviewed and approved the response, you can ask Claude Code to send that specific reply to the customer through Chatway. Before asking Claude Code to send a reply, you can check how the message will appear in your Chatway inbox and which name will appear as the sender.
This helps you understand how the customer will see the reply before you send it.
Note: You can also use Claude Code to assign or resolve conversations and add private notes or tags, and more, depending on the permissions you’ve granted.
Here, you can disconnect your external AI. You can always manage the read and write access of the Claude Code MCP from the “Manage Access” section.

You can also use webhooks to let Chatway send conversation events to your AI agent in real time.

To learn how to set up webhooks in Chatway, you can check the following guide here.