MCP Server Integration
ChatReact implements the Model Context Protocol (MCP), allowing you to connect your ChatReact account to AI assistants like Claude Desktop, Cursor, and other MCP-compatible tools.
What is MCP?
The Model Context Protocol is an open standard that enables AI assistants to interact with external services and data sources. With ChatReact's MCP integration, you can:
- Manage chatbots — update instructions, personality, and widget settings
- Create and update FAQs using natural language
- View analytics, chat history, and leads
- Review Improvement Agent proposals and approve or reject them
- Monitor live chat sessions and the waiting queue
Getting Started
1. Generate an API Key
- Navigate to your Dashboard → Company → API tab
- Click Create API Key
- Give your key a descriptive name (e.g., "Claude Desktop") and select at least one permission
- Copy the generated key (starts with
cr_)
API keys are available on paid plans — see our Pricing page.
Store your API key securely. It cannot be retrieved after creation.
2. Configure Your MCP Client
The ChatReact MCP server is hosted at https://www.chatreact.ai/api/mcp and communicates over HTTP (JSON-RPC). Authenticate with an Authorization: Bearer header — an X-API-Key header with the same key is also accepted.
Cursor IDE
Cursor supports remote MCP servers directly. Add to your Cursor MCP settings:
{
"mcpServers": {
"chatreact": {
"url": "https://www.chatreact.ai/api/mcp",
"headers": {
"Authorization": "Bearer cr_your_api_key_here"
}
}
}
}
Claude Desktop
Claude Desktop's configuration file supports command-based servers, so use the standard mcp-remote bridge to connect to the hosted endpoint:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"chatreact": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.chatreact.ai/api/mcp",
"--header",
"X-API-Key:cr_your_api_key_here"
]
}
}
}
This setup requires Node.js to be installed. The example uses the X-API-Key header because some clients don't handle spaces in arguments reliably.
3. Restart Your AI Assistant
After saving the configuration, restart Claude Desktop or Cursor to establish the connection.
Available Tools
ChatReact MCP provides a comprehensive set of tools organized into categories:
Your Account
| Tool | Description |
|---|---|
user_profile | Get your profile information |
user_companies | List the company your API key is scoped to |
user_notifications | Get your recent notifications |
Company & Team Management
| Tool | Description |
|---|---|
company_list | List the company your API key is scoped to |
company_get | Get details of a specific company |
company_members_list | List company members with their roles |
company_chatbots_list | List all chatbots for a company |
company_update | Update company name, description, or settings |
Chatbot Management
| Tool | Description |
|---|---|
chatbot_list | List all chatbots with summary statistics |
chatbot_get | Get chatbot details and configuration |
chatbot_get_instructions | Get core instructions for a chatbot |
chatbot_add_instruction | Add a new core instruction |
chatbot_update_instruction | Update an existing core instruction |
chatbot_delete_instruction | Delete a core instruction |
chatbot_update_personality | Update tonality, language, and messages |
chatbot_toggle_active | Activate or deactivate a chatbot |
chatbot_toggle_learning | Enable or disable the learning phase |
widget_settings_get | Get the current widget settings |
widget_settings_update | Update widget appearance (colors, size, position) |
FAQ Management
| Tool | Description |
|---|---|
faq_list | List all FAQs for a chatbot |
faq_get | Get FAQ details |
faq_create | Create a new FAQ |
faq_update | Update an existing FAQ |
faq_delete | Delete an FAQ |
faq_categories_list | List FAQ categories |
faq_suggestions_list | List pending FAQ suggestions generated from chat conversations |
Knowledge Base
| Tool | Description |
|---|---|
knowledge_documents_list | List documents in a chatbot's knowledge base |
knowledge_document_get | Get details of a specific document |
knowledge_document_delete | Delete a document from the knowledge base |
knowledge_stats | Get knowledge base statistics |
Website crawling is managed from the dashboard — see Knowledge Base.
Lead Management
| Tool | Description |
|---|---|
lead_list | List leads with optional filtering by status or category |
lead_get | Get full lead details including the source chat session |
lead_update | Update a lead's status, category, or notes |
lead_delete | Delete a lead permanently |
lead_categories_list | List lead categories |
lead_stats | Get lead statistics including counts by status |
lead_field_config_get | Get the lead capture field configuration |
Chat History
| Tool | Description |
|---|---|
chat_sessions_list | List chat sessions with optional filters |
chat_session_get | Get a chat session with all its messages |
chat_session_search | Search chat sessions by message content or visitor info |
Analytics
| Tool | Description |
|---|---|
analytics_overview | Get chat counts, message counts, and satisfaction rates |
analytics_chat_volume | Get chat volume over time for charts and trends |
Improvement Agent
| Tool | Description |
|---|---|
improvement_sessions_list | List improvement sessions |
improvement_session_get | Get session details including proposals |
improvement_proposals_pending | List pending proposals awaiting review |
improvement_proposal_approve | Approve a proposal and apply the change |
improvement_proposal_reject | Reject a proposal |
Live Chat
| Tool | Description |
|---|---|
live_chat_sessions_list | List live chat sessions |
live_chat_session_get | Get a live chat session with all messages |
live_chat_queue | Get sessions waiting for an agent |
Live chat tools are read-only. To chat with visitors directly, use the Live Chat dashboard.
Example Workflows
Adding a Core Instruction
Ask your AI assistant:
"Add a core instruction to my 'Support Bot' chatbot: we offer free shipping on orders over €50"
The assistant will use chatbot_add_instruction with appropriate parameters.
Reviewing Improvement Suggestions
"Show me all pending improvement proposals for my chatbot and explain what changes they suggest"
The assistant will:
- Use
improvement_proposals_pendingto fetch proposals - Analyze and summarize each suggestion
- Approve or reject them on your behalf with
improvement_proposal_approveorimprovement_proposal_reject
Analyzing Chat Performance
"Give me a weekly report of chat volume and customer satisfaction for my chatbot"
The assistant will use analytics_overview and analytics_chat_volume to compile a comprehensive report.
Security
- API keys are scoped to your company
- Keys can be revoked at any time from the dashboard
- API access is available on paid plans — see our Pricing page
Troubleshooting
Connection Failed
- Verify your API key is correct
- Check that the key hasn't been revoked
- Make sure your plan includes API access
- Restart your MCP client
Tool Not Found
Restart your MCP client after changing the configuration so it reloads the available tools. Tool names are lowercase with underscores (e.g., faq_list).
Need help? Contact our support team →