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
| Tool | What it does | Key |
|---|---|---|
get_account | Account name, plan and API calls used this month | any |
list_agents | Team members, their role and who is online | any |
list_departments | Departments | any |
list_chats | Chats, newest first, by status and date (status, since, until, page, per_page) | any |
get_chat | One chat with the whole transcript, internal notes included | any |
list_tickets | Tickets by status and assignee | any |
get_ticket | One ticket with custom fields and every message | any |
get_report | Totals 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 them | any |
create_ticket | Opens a ticket; the first message is emailed to the customer | read-write |
reply_ticket | Replies to the customer by email, or adds an internal note (internal: true) | read-write |
update_ticket | Changes status, priority, assignee, subject, tags or custom fields | read-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_ticketandcreate_ticketsend 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 areapplication/json. There is no server-to-client stream, soGET /mcpanswers405, and no session id is needed. - Protocol versions:
2025-11-25,2025-06-18,2025-03-26and2024-11-05. Notifications get202 Accepted. - Methods:
initialize,ping,tools/list,tools/call(plus emptyresources/listandprompts/list). - A missing or revoked key gets HTTP
401withWWW-Authenticate: Bearer; a suspended account or a plan without API access gets403.
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
}
}