logoRocketFlow

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

ToolDescription
list_chatbotsList all chatbots with pagination
get_chatbotGet full config + counts (sources, sessions, leads, tickets, FAQs)
create_chatbotCreate a new chatbot with name, prompt, welcome message
update_chatbotUpdate settings (prompt, colors, suggested messages, etc.)

Knowledge Sources

ToolDescription
list_knowledge_sourcesList all sources (URLs, files, text) for a chatbot

Sessions & Conversations

ToolDescription
list_sessionsList sessions with message/lead/ticket counts, filter by resolved
get_session_messagesRead all messages in a session

Analytics & Insights

ToolDescription
get_analyticsVisits, messages, devices, new vs returning over N days
get_insightsCross-chatbot summary: resolution rate, leads, tickets
detect_knowledge_gapsFind topics your chatbot can't answer, ranked by severity

Leads, Tickets, FAQs

ToolDescription
list_leadsLeads captured by a chatbot, paginated
list_ticketsSupport tickets, filterable by open/closed
list_faqsFAQ 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