Libredesk
БесплатноНе проверенMCP server that exposes the complete Libredesk REST API (54 endpoints) as tools, enabling natural language management of conversations, contacts, agents, teams,
Описание
MCP server that exposes the complete Libredesk REST API (54 endpoints) as tools, enabling natural language management of conversations, contacts, agents, teams, and more for the open-source customer support desk.
README
A Model Context Protocol server for Libredesk — the open-source omnichannel customer support desk.
Exposes the entire Libredesk REST API (54 endpoints) as MCP tools, generated dynamically from the official OpenAPI spec.
Tools
All Libredesk REST endpoints become tools (54 total), organized by API tag:
- Conversations —
create_conversation,get_all_conversations,get_assigned_conversations,get_unassigned_conversations,get_conversation,get_messages,get_message,send_message,retry_message,get_conversation_participants,update_conversation_priority,update_conversation_status,update_conversationtags,update_user_assignee,remove_user_assignee,update_team_assignee,remove_team_assignee,update_conversation_assignee_last_seen,get_view_conversations,get_team_unassigned_conversations - Contacts —
get_contacts,get_contact,update_contact,block_contact,get_contact_notes,create_contact_note,delete_contact_note - Agents —
get_agents,get_agent,get_current_agent,create_agent,update_agent,update_agent_availability,delete_agent,generate_api_key,revoke_api_key - Teams —
get_teams,get_team,create_team,update_team,delete_team - Status & Priority —
get_statuses,get_priorities,create_status,update_status,delete_status - AI —
ai_completion,get_ai_prompts,update_ai_provider - Search —
search_conversations,search_contacts,search_messages - Media —
media_upload - Health —
health_check
Setup
1. Get a Libredesk API key
Log in to your Libredesk instance as an agent, open your profile, and generate an API key. You'll get an api_key and api_secret.
2. Add to Claude Code
claude mcp add-json libredesk --scope user '{
"command": "node",
"args": ["/absolute/path/to/libredesk-mcp/dist/index.js"],
"env": {
"LIBREDESK_URL": "http://localhost:9000",
"LIBREDESK_API_KEY": "ak_...",
"LIBREDESK_API_SECRET": "as_..."
}
}'
Or once published to npm:
claude mcp add-json libredesk --scope user '{
"command": "npx",
"args": ["-y", "libredesk-mcp"],
"env": {
"LIBREDESK_URL": "http://localhost:9000",
"LIBREDESK_API_KEY": "ak_...",
"LIBREDESK_API_SECRET": "as_..."
}
}'
Restart your Claude Code session; you should see libredesk as ✓ Connected in claude mcp list.
3. Other MCP clients
Add to your MCP host's config (Cursor, Claude Desktop, etc.):
{
"mcpServers": {
"libredesk": {
"command": "node",
"args": ["/absolute/path/to/libredesk-mcp/dist/index.js"],
"env": {
"LIBREDESK_URL": "http://localhost:9000",
"LIBREDESK_API_KEY": "ak_...",
"LIBREDESK_API_SECRET": "as_..."
}
}
}
}
Environment variables
| Variable | Required | Description |
|---|---|---|
LIBREDESK_URL |
yes | Base URL of your Libredesk instance, no trailing slash. e.g. http://localhost:9000 |
LIBREDESK_API_KEY |
yes | Agent API key from the Libredesk admin UI |
LIBREDESK_API_SECRET |
yes | Agent API secret paired with the key |
Authentication uses Libredesk's token scheme: Authorization: token <api_key>:<api_secret>.
How it works
On startup the server reads a bundled copy of Libredesk's OpenAPI spec, walks every operation, and registers it as an MCP tool with:
tool name— derived from the operation'soperationIdby stripping thehandleprefix, splitting camelCase into snake_case, and lowercasing. Consecutive capitals are treated as acronyms (e.g.handleGetAIPrompts→get_ai_prompts,handleGenerateAPIKey→generate_api_key).description— built from the operationsummary,description, HTTP method/path, and tags.inputSchema— flattened from path parameters, query parameters, and the request body's JSON schema (with$refs resolved againstcomponents.schemas).
When a tool is called, the server substitutes path params, builds the query string, sets the auth header, sends the request, and returns the response body verbatim (pretty-printed JSON when applicable) along with the HTTP status line. Errors from Libredesk are returned as-is so you can see why a request was rejected.
Develop
npm install
npm run build # tsc + copy openapi.json into dist/
npm run dev # tsx src/index.ts (live TypeScript)
npm start # node dist/index.js
Refresh the bundled OpenAPI spec:
curl -sL https://docs.libredesk.io/api-reference/openapi.json > src/openapi.json
npm run build
License
MIT
Установка Libredesk
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/metanmai/libredesk-mcpFAQ
Libredesk MCP бесплатный?
Да, Libredesk MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Libredesk?
Нет, Libredesk работает без API-ключей и переменных окружения.
Libredesk — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Libredesk в Claude Desktop, Claude Code или Cursor?
Открой Libredesk на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Gmail
Read, send and search emails from Claude
автор: GoogleSlack
Send, search and summarize Slack messages
автор: SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Libredesk with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
