You can connect Visual Studio Code to Chatway using the Chatway MCP (Model Context Protocol) integration. This allows Visual Studio Code to access your Chatway conversations, customer information, and support data based on the permissions you give it. This guide shows you how to connect Visual Studio Code to Chatway using MCP.
Once connected, you can ask Visual Studio 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, Visual Studio 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 the agent to find a customer’s conversation, summarize recent support activity, or look up customer information directly from Visual Studio Code.
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.
Requirements
Before you connect Visual Code to Chatway, ensure you have:
- Visual Studio Code editor installed on your computer.
- GitHub Copilot set up and signed in to the Visual Studio Code editor.
- A Chatway account with an Owner or Admin role.
- A Visual Studio Code folder where you can create/edit the .vscode/mcp.json file.
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 VS Code.

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

Connecting Chatway to Visual Studio Code
Follow these steps to add Chatway as an MCP server in Visual Studio Code.
Step 1: Open Visual Studio Code and open the folder where you want to use Chatway. Create a folder named “.vscode” inside your project folder if it doesn’t already exist. Inside that folder, create a file named mcp.json.
The file should be located at “.vscode/mcp.json” in your project folder.
Step 2: Once this is done, paste the Chatway server configuration code inside the mcp.json file.
{
"servers": {
"chatway": {
"type": "http",
"url": "https://mcp.chatway.app/mcp"
}
}
}If you already have other MCP servers configured in Visual Studio Code, add Chatway to your existing “.vscode/mcp.json” file instead of replacing the entire configuration. For example, if your file already contains another MCP server, add the chatway configuration code inside the file.
Step 3: Save this file and click Start in the MCP configuration editor.

Step 4: A browser tab will open to connect your Chatway account. On the consent screen, the client may appear as “Custom.” This is expected when connecting Chatway through a custom MCP configuration in Visual Studio Code.
Click on Connect here.

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

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

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

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

Start using Chatway with VS Code
Once you connect Visual Studio Code, you can use it to find information, review conversations, and perform actions in your Chatway workspace.
You can do this by accessing Visual Studio Code’s AI agent in the editor.

Note: You’ll need to connect your GitHub account to use the Visual Studio Code agent.
Once connected, open the Chat view in Visual Studio Code and ensure that the Agent mode is selected.

You can also ensure that the Chatway MCP tools you want to use are enabled in the Visual Studio Code settings.
Example 1: In this example, we asked the Visual Studio Code agent to list Chatway conversations. We used:
Can you please list recent Chatway conversations?
You can use any prompt that’s relevant to your Chatway use case.
Example 2: In this example, we asked the Visual Studio Code agent to reply to “John”, one of the visitors, directly in Chatway. We used:
Can you please reply to John with relevant information?
As you can see here in the Chatway inbox, the Visual Studio Code MCP responded to the customer with the relevant information.

The “External AI” section in Chatway will show you all the recent activity made by your Visual Studio Code MCP.

Here, you can disconnect your external AI. You can always manage the read and write access of the Visual Studio 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.