libredesk-mcp
This MCP server lets you manage a LibreDesk help desk's knowledge base, publishing, AI knowledge, lookups, and raw API access from an MCP client.
Manage help centers and collections: list, get, create, update, view locale options, inspect trees and search insights, and reorder collections.
Manage knowledge base articles as markdown or HTML: list, get, create drafts, update, sync local folders, reorder, check AI visibility, and link or unlink translations.
Manage AI knowledge: list, get, create, update snippets, import web pages as snippets, review/approve/reject FAQ suggestions, and check FAQ learning status.
Look up agents, teams, tags, inboxes, statuses, priorities, custom attributes, current profile, and connection/auth status.
Perform publishing and destructive actions separately: publish/unpublish collections and articles, move items, toggle help centers online/offline, switch FAQ learning, and delete help centers, collections, articles, or snippets.
Send raw API requests and browse known API endpoints with the request catalog.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@libredesk-mcp List the help center articles our AI assistant can't see, and why."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
libredesk-mcp
Manage the knowledge base of your LibreDesk helpdesk from the terminal or from an AI assistant such as Claude.
The package ships two things:
ldesk, a command line tool for help centers, articles and the knowledge LibreDesk's AI assistants answer from.An MCP server, so Claude and other MCP clients can do the same work for you: draft articles, review FAQ suggestions, or check why an article is not used by your AI assistant.
What you can do
Write and edit help center articles in markdown. LibreDesk stores HTML;
ldeskconverts in both directions.Sync a folder of markdown files to articles. Run it again and only the changed articles are updated.
Manage help centers and collections, and publish or unpublish many articles at once.
Maintain AI snippets, import a web page as a snippet, and approve or reject FAQ suggestions.
See which articles your AI assistants can use, and the reason for each one they can't.
Look up the ids of agents, teams, inboxes and other settings, and send a raw request to any other endpoint.
Related MCP server: knowledge-base
Requirements
Node.js 22.12 or newer.
LibreDesk 2.9.2. Other versions may work; see API coverage.
An API key and secret for a LibreDesk agent. The agent's role decides what you can do, for example
help_center:managefor articles andai:managefor snippets.
Install
npm install -g @spaceparrots/libredesk-mcpQuick start
Log in once. ldesk checks the credentials and stores them as a profile; it asks for the secret without showing it.
ldesk login --url https://helpdesk.example.com --api-key <key>
ldesk statusThen work with your content:
ldesk help-center list
ldesk articles create 3 --title "Reset your password" --content @article.md
ldesk articles set-status 12 --status published
ldesk knowledge snippet create --title "Refunds" --content @refunds.txt@article.md reads the value from a file. Run ldesk without arguments for an interactive menu, or add --help to any command for its options and examples.
Use it with Claude
Add the server to your MCP client. For Claude Code, run this in your project:
claude mcp add libredesk -- npx -y @spaceparrots/libredesk-mcp serveFor Claude Desktop, or to configure it by hand, add this to claude_desktop_config.json or to .mcp.json in your project:
{
"mcpServers": {
"libredesk": {
"command": "npx",
"args": ["-y", "@spaceparrots/libredesk-mcp", "serve"]
}
}
}The server uses the login you stored with ldesk login, so the secret stays out of the config file. To pass credentials directly instead, add an env block with LIBREDESK_URL, LIBREDESK_API_KEY and LIBREDESK_API_SECRET. MCP server has all setup variants.
Then ask in plain language, for example:
"List the articles in our help center that the AI assistant can't see, and why."
"Draft an article about changing the delivery address from this email thread."
"Go through the pending FAQ suggestions and approve the ones that are correct."
If the client can't connect, run ldesk doctor in the folder where the client runs. It starts the server the same way the client does and tells you what went wrong.
Safe by default
Drafts first. New articles are drafts. Publishing, moving articles and collections, taking a help center offline, enabling FAQ learning, changing a help center's custom code and deleting are separate steps that ask for confirmation.
Separate tools for risky actions. Over MCP, publishing and deleting live in their own tools,
libredesk_publishandlibredesk_delete, so your client can ask you before each one. Edits made with the other tools take effect at once, so editing an already published article changes the live page. See Permissions.Updates keep your data. LibreDesk replaces a whole record on every update.
ldeskreads the current record first, so changing a title never resets the content or the AI setting.Secrets stay hidden. The API secret is stored in
~/.libredesk-mcp/config.json(file mode 0600 on macOS and Linux) and is masked in all output, also when a server echoes it back.Local files stay local. Over MCP,
syncreads only below the server's folder (orLIBREDESK_SYNC_ROOT) and skips symbolic links, andLIBREDESK_MCP_PROFILESlimits which stored profiles a server may use.ldesk doctorasks before starting a server command that the current folder can change.
Documentation
CLI reference: logging in, profiles, every command, syncing a folder.
MCP server: setup for Claude Code and Claude Desktop, tools, permissions.
API coverage: which LibreDesk version is targeted and which endpoints are undocumented.
Development: building, testing against a local LibreDesk, adding an endpoint.
Contributing
Bug reports and pull requests are welcome. See CONTRIBUTING.md. To report a security problem, see SECURITY.md.
This project is not affiliated with LibreDesk. Many of the endpoints it uses are not part of LibreDesk's documented API and may change between LibreDesk releases.
License
Available Tools
8 toolslibredesk_ai_knowledgeA
Manage the snippets AI assistants answer from, and review FAQ suggestions. Undocumented API.
Actions:
snippet_list(...): List the snippets AI assistants search, with a short preview.
snippet_get(id): Get one snippet with its full content.
snippet_create(title, content, ...): Add a snippet: a self-contained answer with a clear title.
snippet_update(id, ...): Change only the given fields of a snippet.
snippet_import_url(url): Import a web page's readable text as a snippet.
faq_list(...): List FAQ suggestions mined from resolved conversations.
faq_approve(id, ...): Approve a FAQ suggestion as an enabled snippet, optionally edited.
faq_reject(id): Reject a FAQ suggestion without creating a snippet.
learning_get(): Show whether FAQ learning is on.
Inputs: action (required), id, url, title, +7 more.
libredesk_articlesA
Manage knowledge base articles, written and read as markdown. Undocumented API.
Actions:
list(help_center_id, ...): List a help center's articles, without content.
visibility(help_center_id, ...): Which articles AI assistants can use, and why the others are hidden.
get(id, ...): Get one article with content and translations.
create(collection_id, title, content, ...): Create a draft article in a collection.
update(id, ...): Change only the given fields of an article.
sync(path, ...): Create or update articles from local .md files with frontmatter; writes new ids back. Never changes status.
reorder(collection_id, order): Sort many articles of a collection at once.
linkable(help_center_id, exclude_locale): List articles linkable as translation: other locale, not yet linked.
link_translation(id, translation_of_id): Make an article a translation of another article.
unlink_translation(id): Take an article out of its translation group.
Inputs: action (required), id, path, order, +16 more.
libredesk_deleteADestructiveIdempotent
Delete help centers, collections, articles and snippets. Deletes cannot be undone. Undocumented API.
Actions:
help_center_delete(id): Delete a help center. Deletes it with all its collections and articles.
collection_delete(help_center_id, id): Delete a collection. Deletes it and its articles.
article_delete(id): Delete an article. Deletes the article. Linked translations stay.
snippet_delete(id): Delete a snippet. Assistants stop using it.
Inputs: action (required), id, profile, help_center_id.
libredesk_help_centerA
Manage help centers and their collections. Undocumented API.
Actions:
list(): List all help centers.
get(id): Get one help center with all settings and theme.
locales(): List the locale codes a help center can use.
tree(id, ...): Collections and articles of a help center as a tree, without content.
insights(id): Top and zero-result search terms of the public help center.
create(name, slug, page_title, ...): Create a help center.
update(id, ...): Change only the given settings of a help center.
collection_list(help_center_id): List the collections of a help center.
collection_create(help_center_id, name, ...): Create a collection in a help center.
collection_update(help_center_id, id, ...): Change only the given fields of a collection.
collection_reorder(help_center_id, order): Sort many collections at once.
Inputs: action (required), id, icon, name, +15 more.
libredesk_lookupARead-only
Look up ids of agents, teams, inboxes and other settings.
Actions:
me(): The API key's agent, with roles and permissions.
agents(): List agents (id, name, email). [undocumented]
teams(): List teams (id, name). [undocumented]
tags(): List conversation tags.
inboxes(): List inboxes with channel and enabled state.
statuses(): List conversation statuses.
priorities(): List conversation priorities.
custom_attributes(...): List custom attribute definitions.
Inputs: action (required), profile, applies_to.
libredesk_publishADestructive
Change what customers and AI assistants see: publish articles and collections, take help centers online or offline, switch FAQ learning. Undocumented API.
Actions:
help_center_toggle(id): Take a help center online or offline. Changes what the public sees.
collection_publish(help_center_id, id, is_published): Publish or unpublish collections. Changes what the public help center shows.
collection_move(help_center_id, id, parent_id): Move a collection to another parent (null: top level). Can make its articles public and AI-visible.
article_set_status(id, status): Publish articles or set them back to draft. Publishing makes the article public, and AI-usable when ai_enabled is on.
article_move(id, collection_id): Move an article to another collection of its help center. Can make a published article public and AI-visible.
learning_set(enabled): Switch FAQ learning on or off. When enabled is true: Mines resolved conversations with your AI provider, at a cost per conversation.
Inputs: action (required), id, status, enabled, +5 more.
libredesk_requestADestructive
Raw API access for what other tools lack; find the endpoint with catalog first.
Actions:
call(method, path, ...): Send one request. DESTRUCTIVE for DELETE: needs confirm.
catalog(...): List known endpoints; with domain, also their fields.
Inputs: action (required), body, path, query, +4 more.
libredesk_statusARead-only
Show the profile in use and whether its server accepts it, as which agent. Call it on auth, profile or connection errors.
Inputs: profile.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
The eight tools are separated by domain and intent, and the detailed action lists clarify most boundaries. Some overlap exists because resources are split across resource tools, libredesk_publish, and libredesk_delete, so an agent must decide whether an article change is a content update, status change, or deletion.
All tool names use a consistent libredesk_ prefix with snake_case. The suffix mixes nouns (help_center, articles, ai_knowledge) and verbs (publish, delete, lookup), and pluralization is not fully uniform, but the pattern remains predictable.
Eight tools is well within the appropriate range for the broad help-center domain. Each tool groups a coherent area, and no tool appears redundant or trivial.
The surface covers CRUD and lifecycle operations for help centers, collections, articles, snippets, translations, publishing, FAQ suggestions, and deletion, with lookup, raw request, and status fallbacks. Obvious gaps are minimal and are mitigated by the raw API access.
Maintenance
Related MCP Connectors
Read and write knowledge-base articles, categories, snippets, glossary, readers, and search data.
Team knowledge base for snippets, API calls and docs. Agents search and file items; humans review.
Work your HelpRabbit help desk: tickets, replies, customers, the AI agent and its knowledge.
Run your Asks AI support agent, knowledge, inbox, tickets and customers from your AI assistant.
Related MCP Servers
- AlicenseBqualityDmaintenanceAllows AI models to interact with SourceSync.ai's knowledge management platform to organize, ingest, retrieve, and search content in knowledge bases.253MIT
- AlicenseAqualityCmaintenanceEnables agents to search, read, list, and amend a git-backed markdown knowledge base, automatically committing and publishing changes.4MIT
- AlicenseAqualityCmaintenanceEnables Claude, Cursor, ChatGPT and other AI agents to search and read a Helpjuice knowledge base, draft and update articles, and audit stale content through the Helpjuice API.12MIT
- FlicenseNot gradedqualityAmaintenanceEnables users to fetch, create, and update Zendesk tickets and comments, analyze tickets and draft responses, and query Help Center articles as a knowledge base.-