This guide explains how to connect Chatway MCP (Model Context Protocol) with Muse, allowing Muse to securely access Chatway tools and data through an MCP connection.
Once connected, Muse can work with your Chatway customer support conversations and data. It can help you find and understand conversations, access relevant customer context, summarize support information, and perform supported actions based on your Chatway permissions.
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 connecting Chatway MCP to Muse, make sure you have Muse Code installed and configured. You’ll also need the Chatway MCP server connection URL, which we’ll obtain in the steps below.
You must be a Chatway Owner or Admin to access the External AI settings and authorize the connection.
For additional information about configuring MCP servers in Muse, refer to the official Muse MCP Servers documentation.
First, let’s obtain the Chatway MCP connection details. Please follow the steps below.
Step 1: Log in to your Chatway account and open the AI settings page by clicking on AI Agents or visiting this link directly: https://go.chatway.app/ai-settings
Step 2: Go to the External AI page from the navigation on the left.

Step 3: Click Connect an AI agent.

Step 4: Click Muse.

Step 5: A pop-up will appear with the instructions for connecting Muse to Chatway. Click the copy icon next to the Connection URL to copy the Chatway MCP endpoint.

Step 6: Open the Muse settings file
Muse Code CLI stores its MCP server configuration in:
~/.config/muse/settings.json
If you’ve configured XDG_CONFIG_HOME, use $XDG_CONFIG_HOME/muse/settings.json instead.
Open this file in a text editor. If it already exists, preserve your existing settings.
Step 7: Add Chatway as an MCP server
If you’re creating a new settings file, use the following configuration:
{
"schema_version": 1,
"mcpServers": {
"chatway": {
"type": "streamable-http",
"url": "https://mcp.chatway.app/mcp"
}
}
}If your settings file already contains other MCP servers, add the chatway entry inside the existing mcpServers object instead of replacing the entire file.
Save your changes.
Step 8: Authenticate Chatway in Muse
After saving your settings.json file, open your terminal and run the following command to connect Muse to Chatway.
muse mcp login chatwayThis command starts the Chatway authorization process. Follow the prompts to sign in to your Chatway account.
You must be a Chatway Owner or Admin to authorize the connection. Review the requested permissions and select the Chatway account and inboxes you want Muse to access.
Check the Send Replies as setting to confirm whose identity will appear when Muse sends replies to customers.
Once you’ve reviewed these settings, complete the authorization process.
Step 9: Verify the connection and test Muse
Open Muse and run the following command to check the MCP connection.
/mcpConfirm that Chatway is connected and its MCP tools are available.
Next, enter this test prompt in Muse:
Find one demo conversation in Chatway and summarize the customer's question and the response provided. Do not send any messages or modify the conversation.Verify the information against the original conversation in your Chatway dashboard.
Once the test succeeds, ask Muse to draft a reply without sending it. You can then optionally send a reviewed reply to the demo conversation and confirm that it appears under the expected sender identity in Chatway.
Troubleshooting
If the connection isn’t working, check that settings.json contains valid JSON and the correct production endpoint: https://mcp.chatway.app/mcp.
If authorization fails, run muse mcp login chatway again and confirm you’re signing in with a Chatway Owner or Admin account.
If Chatway tools don’t appear, restart Muse and check the connection using /mcp. If the wrong conversations appear, review the Chatway account and inbox permissions selected during authorization.
If replies fail, verify the connection’s sending permissions and the selected Send Replies as identity.
If Muse reports an invalid configuration, check your settings.json file for missing commas, quotation marks, or brackets. If you already have other settings configured, make sure you’ve added Chatway inside the existing mcpServersobject without duplicating it.