MCP server for AI assistants

Let your AI assistant answer questions like “which chats this week ended with a bad rating, and why?” or “open a ticket for this customer”. The livechat.ae MCP server gives Claude, Cursor and other Model Context Protocol clients access to your chats, tickets, team and reports.

Endpoint

https://livechat.ae/mcp

Authenticate with an API key as a bearer token: Authorization: Bearer lck_…. Create a dedicated key for each assistant in Administration → API & webhooks, and choose Read only unless it needs to work on tickets.

Connect a client

Claude Code

claude mcp add --transport http livechat https://livechat.ae/mcp \
  --header "Authorization: Bearer lck_your_key"

Then ask, for example: “Summarize the open tickets assigned to nobody.”

Claude API (MCP connector)

Your own app can give Claude the livechat.ae tools through the Messages API: Anthropic's servers call the MCP server with your key.

curl https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "anthropic-beta: mcp-client-2025-11-20" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-opus-5-5",
    "max_tokens": 4096,
    "mcp_servers": [{
      "type": "url",
      "url": "https://livechat.ae/mcp",
      "name": "livechat",
      "authorization_token": "lck_your_key"
    }],
    "tools": [{ "type": "mcp_toolset", "mcp_server_name": "livechat" }],
    "messages": [{ "role": "user", "content": "How was customer satisfaction last week?" }]
  }'

Other clients

Any client that supports remote MCP servers over HTTP with a custom header works. In Cursor, for example, add to mcp.json:

{
  "mcpServers": {
    "livechat": {
      "url": "https://livechat.ae/mcp",
      "headers": { "Authorization": "Bearer lck_your_key" }
    }
  }
}

The exact names of the settings change from client to client: look for “remote”, “HTTP” or “Streamable HTTP” servers. Clients that can only connect with an OAuth sign-in, without custom headers, are not supported yet.

Tools

ToolWhat it doesKey
get_accountAccount name, plan and API calls used this monthany
list_agentsTeam members, their role and who is onlineany
list_departmentsDepartmentsany
list_chatsChats, newest first, by status and date (status, since, until, page, per_page)any
get_chatOne chat with the whole transcript, internal notes includedany
list_ticketsTickets by status and assigneeany
get_ticketOne ticket with custom fields and every messageany
get_reportTotals for up to 92 days: chats by people, by AI and missed, satisfaction, reply and duration times, the previous period, a daily series, agents, tags and countries; goals and sales on plans that have themany
create_ticketOpens a ticket; the first message is emailed to the customerread-write
reply_ticketReplies to the customer by email, or adds an internal note (internal: true)read-write
update_ticketChanges status, priority, assignee, subject, tags or custom fieldsread-write

Tools return the same objects as the REST API, as JSON text and as structured content. With a read-only key the three writing tools are not even listed. Errors (a ticket that doesn't exist, an invalid email…) come back as tool results with isError: true and a short explanation, so the assistant can correct itself.

Keys, limits and safety

  • Quota. Every tool call counts as one API call in your monthly quota and in the 120 calls per minute of the key. Connecting and listing the tools don't count.
  • Plan. The MCP server is available on every plan with API access: Essential, Growth and Enterprise.
  • Read only first. A read-only key can't change anything, whatever the assistant decides to do.
  • Messages reach real customers. reply_ticket and create_ticket send email. Most assistants ask before using a tool: keep that confirmation on for these.
  • Chats are written by visitors. A transcript can contain text that tries to give the assistant instructions. Treat what the tools return as data, and prefer a read-only key for assistants that read conversations on their own.
  • Revoke at any time. Revoking the key in the panel disconnects the assistant immediately.

Protocol details

For people writing their own client:

  • Transport: Streamable HTTP. Send each JSON-RPC 2.0 message with POST /mcp; responses are application/json. There is no server-to-client stream, so GET /mcp answers 405, and no session id is needed.
  • Protocol versions: 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05. Notifications get 202 Accepted.
  • Methods: initialize, ping, tools/list, tools/call (plus empty resources/list and prompts/list).
  • A missing or revoked key gets HTTP 401 with WWW-Authenticate: Bearer; a suspended account or a plan without API access gets 403.
curl https://livechat.ae/mcp \
  -H "Authorization: Bearer lck_your_key" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"list_tickets","arguments":{"status":"open","per_page":5}}}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [{ "type": "text", "text": "{\"data\":[…],\"page\":1,…}" }],
    "structuredContent": { "data": [ … ], "page": 1, "perPage": 5, "total": 12, "totalPages": 3 },
    "isError": false
  }
}