psygreg/linuxtoys/linuxtoys-mcp
Claude Code and agent skill by psygreg/linuxtoys
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Enable and drive the LinuxToys MCP server to manage Linux apps on the user's machine like a user would - search the catalog, read app pages (descriptions, screenshots, donation links), install and remove apps, install local package files (.deb, .rpm, .appimage and more, optionally downloaded from a URL), install and remove Flathub app extensions/addons, clean up the leftover data of uninstalled Flatpak apps, run the app's full system update, handle questions/warnings raised by scripts (ask the…
Install
npx vskill@latest install psygreg/linuxtoys/linuxtoys-mcpSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as psygreg/linuxtoys/linuxtoys-mcp.
LinuxToys MCP
LinuxToys is a cross-distribution Linux app manager. This skill lets you use it on the user's behalf, exactly like a user would: browse the catalog, open app pages, install/remove apps, and change app settings. Password prompts always appear on the user's screen — never ask the user to hand you their password.
1. Check whether the server is running
The server is an opt-in systemd user service (linuxtoys-mcp.service) that ships with the app but is not enabled by default. Check it without any credentials:
- A JSON response means the server is up → go to section 3.
- Connection refused means it is not enabled → section 2.
2. Enable it (no root required)
First check whether the unit exists:
- unit-installed: enable and start it (user service — no sudo):
``bash systemctl --user enable --now linuxtoys-mcp.service systemctl --user is-active linuxtoys-mcp.service ``
- unit-missing: the unit is installed by the app when the user first
switches it on. Ask the user to open LinuxToys → menu (☰) → MCP Agent Server once. That installs and enables the service immediately; after that it also starts on its own at every login (it is tied to the graphical session, which is what lets password dialogs reach the user's screen).
Do not run LinuxToys install commands with sudo yourself — all privilege escalation happens through the app's own on-screen askpass dialog.
3. Connect as an MCP client
- Transport: MCP Streamable HTTP
- Endpoint:
http://127.0.0.1:7420/mcp - Auth: the token is generated at
~/.config/linuxtoys/mcp-token
(readable only by the user). Send it as a header:
`` Authorization: Bearer <contents of ~/.config/linuxtoys/mcp-token> ``
(X-LinuxToys-Token: <token> is also accepted.)
Configuration examples:
After connecting, call server_info once to confirm the session works.
4. Tools
| Tool | Purpose | |
|---|---|---|
server_info | Version, endpoint, service state, busy jobs, cached script-gate state | |
get_update_status | Fresh networked check of LinuxToys itself: running vs newest published release, releases behind, whether the app can update itself on this host, script-gate state | |
update_linuxtoys | Run the official LinuxToys self-update as a tracked job (ask the user first — it changes the whole app); the call blocks until it finishes and returns the outcome; then restart the service | |
update_system | Run the app's full system update ("Update System" card): distro packages, Flatpaks, Snaps, Homebrew/Bun, orphan and leftover-shortcut cleanup; ask the user first — needs root (password dialog on their screen) and runs very long; the call blocks until it finishes (delegate it to a subagent to stay responsive); may also answer requires_answers (release-upgrade choice) before running | |
list_categories | Catalog categories | |
search_apps(query, limit?) | Search every catalog (scripts, repos, Flathub/Snap, AppImages); returns stable ids | |
get_app_details(app_id) | App page: description, screenshots URLs, homepage/donate/purchase links, version, install state (and leftover ~/.var/app data state for Flatpak apps) | |
get_screenshot(app_id, index?) | Returns an image so you can see the app's screenshots | |
install_app(app_id, answers?, wait?, wait_seconds?) | Install and watch the job to completion: the response is the job's final record (final: true — state, exit code, log tail, warnings/live_prompts/error_detail). Curated scripts may first answer requires_answers: ask the user the listed questions, then re-call with answers. Pass wait: false to get a job_id at once (multitasking), or wait_seconds to cap the block | |
fetch_package_url(url) | Download a package file (.deb/.rpm/.pkg.tar.*/.pacman/.eopkg/.flatpak/.flatpakref/.snap/.appimage) from an http(s) URL into a private staging directory; returns its local path | |
get_package_file_details(path) | Inspect a local package file like the GUI's package view does: name, version, architecture, maintainer, description, size, format, and whether that package type is supported on this system | |
install_package_file(path, wait?, wait_seconds?) | Install a local package file through the same guarded machinery, watching the job to completion like install_app | |
list_app_extensions(app_id) | List a Flathub app's extensions/addons (VLC plugins, Steam compatibility tools, ...), each with its installed state | |
install_app_extension(app_id, extension, wait?, wait_seconds?) | Install one extension of an app by its component id or full flatpak ref, watching the job to completion | |
remove_app_extension(app_id, extension, wait?, wait_seconds?) | Remove one installed extension of an app, watching the job to completion | |
remove_app(app_id, wait?, wait_seconds?) | Remove an app installed through LinuxToys, watching the removal to completion | |
remove_flatpak_data(app_id, wait?, wait_seconds?) | Remove the leftover user data (~/.var/app/<AppID>) of a Flatpak app that is no longer installed — the GUI's "Remove data" button on that app's page; refuses apps still installed; watches the removal to completion | |
get_job(job_id, tail_lines?, wait_seconds?) | Re-attach to a queued job: state (queued/running/success/error), exit code, log tail (filled in while the script runs); wait_seconds (max 20) blocks until the job finishes; plus the script's dialog events: warnings (attention to relay), live_prompts (dialogs the user answered live), error_detail (fatal message on failure). Submissions already watch to completion — use this after a wait: false submission or a cut-off call | |
list_jobs() | Recent jobs (find a job id here if a submission was cut off) | |
get_settings() / set_settings(...) | Automatic updates, automatic bug reports, language | |
translate_text(text, target_language?) | Same translation method as the app page; defaults to the user's language | |
translate_app_description(app_id, target_language?) | Translate a full app description (shares the GUI cache) | |
get_registry_entries(query?, limit?) | Action Registry: everything installed through LinuxToys, with changes | |
export_registry_manifest(destination?) | Portable manifest of installed apps (linuxtoys --manifest <file> to replay) | |
open_support_link(app_id, kind, index?) | Open one of the app's own links (homepage/donate/purchase/subscription) |
5. Typical flows
Install something: search_apps → show the best matches to the user → get_app_details on the chosen one (tell the user what it does) → confirm → install_app → the call itself runs the install and its response is the job's final record (final: true, state: "success"/"error") → report the outcome (log tail on failure; relay any warnings). Installs that need root pop the password dialog on the user's screen while the call runs; tell the user to expect it and wait for them to finish — do not ask them to paste the password to you.
Install a package file (the user gave you a link or a local file such as .deb/.rpm/.appimage): fetch_package_url(url) when the file still needs downloading → get_package_file_details(path) → tell the user what the file is (name, version, format) and stop if it is not supported on this system → confirm → install_package_file(path) → the response is the job's final record. It goes through the same guarded machinery as a package-view install, so the usual root password dialog appears on the user's screen when needed.
Scripts that ask questions, warn or fail with dialogs: script dialogs do not pop on your behalf, and the machine tells you about them:
- Questions (yes/no prompts, single/multi selections, text entries):
install_appand
update_system return requires_answers with a questions list instead of queueing anything. This covers every installation shape: curated scripts, repository-list entries (the composed pipeline and its pre/post hook scripts) and AppStream overlays (hook scripts on top of an AppStream component). Present each question to the user through your own question UI (title/message, the listed options, and the suggested default), then re-call the same tool with answers={question id: choice}. Every listed id must be covered; radio choices must match one listed option exactly; multi-select accepts option string(s) comma-separated or an array; yes/no prompts take the literal question id with "yes" or "no"; a text entry (kind: "input") takes the exact text the user typed, on one line of at most 1024 characters, and its default is only the suggestion to offer. The run then uses those answers instead of dialogs, so the user decides without any popups. The service pre-filters by branch: only questions whose enclosing branch actually matches this host are listed (host-detectable conditions are evaluated for real; conditions written as previous-step results — call_script exports included — presume success; skipped_branches counts the call sites filtered out, and the note points it out).
- Warnings: the job record — the submission's response, or
get_job
while re-attached — carries a warnings list. These are messages the script raised that need attention — relay them to the user promptly, whether the job still runs or ends successfully. They are not failures: a completed run with warnings still worked; do not frame them as "the update failed".
- Fatal dialogs / errors: on a failed run (
state: "error") the fatal
dialog's message arrives in error_detail (the log tail has more): report the failure with that message, not just the exit code.
- Prompts the service could not preset (variable-based) are shown live to
the user and listed in live_prompts: let the user know what was asked on screen and what they answered. Informational popups are omitted entirely; their text lives in the log tail. Password dialogs always appear on the user's screen as usual.
Flathub app extensions (VLC plugins, Steam compatibility tools, ...): when get_app_details reports extensions_available, run list_app_extensions (each entry shows its installed state) → tell the user which one you will add or remove → confirm → install_app_extension / remove_app_extension (pass the component id or full flatpak ref from the list) → the response is the job's final record → verify with list_app_extensions. These are plain flatpak install/uninstall operations: system-scope ones may pop a password dialog on the user's screen, and unlike app installs they are not recorded in the Action Registry — the installed state comes from list_app_extensions.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/linuxtoys-mcp/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/psygreg/linuxtoys/linuxtoys-mcp)