MCP Server
Connect AI assistants like Claude Desktop and Cursor to manage your RKT chatbots via Model Context Protocol
MCP Server
RKT exposes a Model Context Protocol (MCP) server that lets AI assistants manage your chatbots, knowledge sources, analytics, and conversations.
Endpoint: https://mcp.getrocketflow.io/api/mcp
Authentication
Generate an API key in Settings > API Keys in the RKT dashboard. Keys start with rkt_ and are hashed (SHA-256) — the full key is only shown once at creation.
Connect to Claude Desktop
Add this to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"rkt": {
"type": "streamable-http",
"url": "https://mcp.getrocketflow.io/api/mcp",
"headers": {
"Authorization": "Bearer rkt_your_api_key_here"
}
}
}
}Connect to Cursor
In Cursor settings, add an MCP server with the same URL and authorization header.
Available Tools
RKT's MCP server provides 14 tools:
Chatbot Management
| Tool | Description |
|---|---|
list_chatbots | List all chatbots with pagination |
get_chatbot | Get full config + counts (sources, sessions, leads, tickets, FAQs) |
create_chatbot | Create a new chatbot with name, prompt, welcome message |
update_chatbot | Update settings (prompt, colors, suggested messages, etc.) |
Knowledge Sources
| Tool | Description |
|---|---|
list_knowledge_sources | List all sources (URLs, files, text) for a chatbot |
Sessions & Conversations
| Tool | Description |
|---|---|
list_sessions | List sessions with message/lead/ticket counts, filter by resolved |
get_session_messages | Read all messages in a session |
Analytics & Insights
| Tool | Description |
|---|---|
get_analytics | Visits, messages, devices, new vs returning over N days |
get_insights | Cross-chatbot summary: resolution rate, leads, tickets |
detect_knowledge_gaps | Find topics your chatbot can't answer, ranked by severity |
Leads, Tickets, FAQs
| Tool | Description |
|---|---|
list_leads | Leads captured by a chatbot, paginated |
list_tickets | Support tickets, filterable by open/closed |
list_faqs | FAQ entries for a chatbot |
Example Usage
Once connected, you can ask your AI assistant things like:
- "List my chatbots and their session counts"
- "Show me the knowledge gaps for my support bot"
- "What's my resolution rate this week?"
- "Create a new chatbot called 'Sales Assistant' with a friendly prompt"
- "Read the last 5 conversations from my main chatbot"
Last updated on