Skip to main content
Chatway Chatway
  • Product
  • Pricing
  • AI Agents
  • Built For
  • Resources
    • Help Center
    • Blog
    • Integrations
    • Social Media Buttons
    • Glossary
    • Affiliate program
    • Developer Docs
  • Sign In →
  • Product
  • Pricing
  • AI Agents
  • Built For
  • Resources
    • Help Center
    • Blog
    • Integrations
    • Social Media Buttons
    • Glossary
    • Affiliate program
    • Developer Docs
  • Sign In →
Sign In Sign Up for Free Free Sign Up
  • Help Center
  • Chatway for AI agents
  • How to connect Chatway with Visual Studi...

How to connect Chatway with Visual Studio Code

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.

Chatway AI settings with External AI highlighted in the sidebar

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

Chatway AI-agent selection dialog with VS Code highlighted

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

Chatway connection dialog showing setup instructions for VS Code

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.

Screen showing how to start the configuration

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.

Chatway authorization page for the Visual Studio Code connection

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

Chatway AI-agent selection dialog with widgets and channels highlighted

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.

Authorization page showing the requested Chatway access permissions

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

Chatway authorization page with the Allow access and continue button highlighted

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

VS Code connected in Chatway

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. 

Screen showing how to access the AI agent in the Visual Studio Code 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. 

Visual Studio Code editor with Agent mode 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?
List recent 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?
Visual Studio Code agent prompt instructing it to reply to a Chatway visitor

As you can see here in the Chatway inbox, the Visual Studio Code MCP responded to the customer with the relevant information.

Chatway inbox showing a customer reply sent through Visual Studio Code

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

Visual Studio Code connection showing recent Chatway activity

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. 

Visual Studio Code connection page in Chatway with the Create Webhook button highlighted

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

A Plan That Grows With YouStart free. Upgrade as you grow.

Start free and upgrade as your needs expand. Whether you’re working solo, leading a team, or scaling big, we’ve got a plan built for you.

Sign Up for Free

No Credit Card Required

Chatway essential features
Capterra Capterra 2 Grid Leader Grid Leader High performancer 1 High performancer 2 High performancer 3 High performancer 4 High performancer 5 GetApp Customer Support
chatway footer logo

Improve live chat communication and unlock customer satisfaction with Chatway.

app store logo play store logo
5 stars reviews
1,000+ Five-Star Reviews on iOS & android app stores

Company

  • Contact Us
  • About Us
  • Privacy Policy
  • GDPR
  • Terms of Service

Resources

  • AI Support Agent
  • Integrations
  • Developer Docs
  • Affiliate Program
  • Help Center
  • Comparison Page
  • What's New

© 2026 Chatway. All rights reserved.

GDPR icon
Accessibility Adjustments

Powered byOneTap

How long do you want to hide the toolbar?
Hide Toolbar Duration
Select your accessibility profile
Vision Impaired Mode
Enhances website's visuals
Seizure Safe Profile
Clear flashes & reduces color
ADHD Friendly Mode
Focused browsing, distraction-free
Blindness Mode
Reduces distractions, improves focus
Epilepsy Safe Mode
Dims colors and stops blinking
Content Modules
Font Size

Default

Line Height

Default

Color Modules
Orientation Modules