claude-host-mcp
Provides tools for managing Docker containers, including listing, inspecting, starting/stopping/restarting/removing containers, and executing commands inside them.
Provides package management tools (search, info, install, remove) that support Flatpak as one of the auto-detected native package managers on Linux systems.
Provides comprehensive Git repository management tools including status, log, diff, branch, commit, merge, rebase, stash, and worktree operations.
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., "@claude-host-mcp what's the current CPU and memory usage?"
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.
claude-host-mcp
Give Claude Desktop hands on your real machine β safely. One local MCP server (
host-system) that lets Claude run shell, manage files, drive dev servers, inspect the system, use git, Docker, GitHub, databases, the web, and your local 9router AI gateway β on Linux, macOS, and Windows β with approvals, audit, and rollback.
Install now
git clone https://github.com/isina-nej/claude-host-mcp.git && cd claude-host-mcp && chmod +x install.sh && ./install.shmacOS: replace ./install.sh with ./install-mac.sh Β· Windows PowerShell: git clone https://github.com/isina-nej/claude-host-mcp.git; cd claude-host-mcp; Set-ExecutionPolicy -Scope Process Bypass; .\install.ps1
Then fully quit Claude Desktop, reopen it, and call host_identity in a new session. Detailed OS instructions are below.

π₯οΈ Your host, not a sandbox. Claude sees your real hostname, files, processes, ports β not the VM.
π‘οΈ Destructive = prompt. Reads run free; deletes, kills, commits, restores, and external posts ask first.
π One server, zero new deps. 146 tools + 10 resources over stdio. Vercel/Cloudflare/GitHub managed with link-and-wait auth. Python 3.10+,
mcp>=2,<3. Integrations are credential-gated and fail clean without keys.
Related MCP server: screenmcp-claude-plugin
Who is it for, and when is it useful?
Who | Use it when | Typical jobs |
Developers | Claude must work on the real project or keep processes alive outside its sandbox | Edit files, run dev servers/REPLs, use git/worktrees, debug localhost |
DevOps, SRE, sysadmins | Host operations need visibility, approvals, audit, and rollback | Inspect processes, ports, logs, services, Docker, packages, and system health |
AI and automation builders | One MCP should replace a pile of host-side scripts and narrow integrations | Combine shell, files, browser/web, GitHub, databases, Slack, and local 9router models |
Self-hosters and technical power users | Claude should help operate a workstation or homelab without unrestricted root access | Diagnose services, manage files, monitor resources, and run guarded maintenance |
Where: install it on the Linux, macOS, or Windows machine running Claude Desktop. It is most useful on development workstations and self-hosted machines where the built-in sandbox cannot reach the host. Skip it for chat/research-only use or when Claude's mounted-folder tools already cover the job.
English | ΩΨ§Ψ±Ψ³Ϋ
π Install β pick your OS (60 seconds)
Install first, read later. Same 146 tools everywhere β the code auto-adapts to your OS.
Three installers, same result: an isolated venv at
~/.local/share/claude-host-mcpand ahost-systementry in your Claude config (backed up first).
git clone https://github.com/isina-nej/claude-host-mcp.git
cd claude-host-mcp
chmod +x install.sh install-mac.sh doctor.sh uninstall.sh
./install.shgit clone https://github.com/isina-nej/claude-host-mcp.git
cd claude-host-mcp
chmod +x install.sh install-mac.sh doctor.sh uninstall.sh
./install-mac.shWrites to ~/Library/Application Support/Claude/claude_desktop_config.json.
git clone https://github.com/isina-nej/claude-host-mcp.git
cd claude-host-mcp
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\install.ps1Writes to %APPDATA%\Claude\claude_desktop_config.json. Install dir: %USERPROFILE%\.local\share\claude-host-mcp.
Then do all three, in order:
Fully quit Claude Desktop (not just the window) and reopen it.
Open a new session/task.
Say:
Use the host-system MCP tool host_identity.Real hostname + your desktop user in the reply = wired to the host. If not, run ./doctor.sh (or .\doctor.ps1) and see Diagnostics.
First taste after install:
system_snapshot β cpu, memory, disk, load, temps, battery, gpu, net in one call
diagnose "127.0.0.1:3000" β DNS β TCP β owner β HTTP β resources, with failed_layers
memory_store("my-project", "Next.js 15, pnpm, port 3000") β it remembers next sessionCustom paths:
CLAUDE_DESKTOP_CONFIG="$HOME/path/claude_desktop_config.json" ./install.sh
HOST_MCP_INSTALL_DIR="$HOME/custom-dir" ./install.shOS | Installer | Config location |
Linux / WSL |
|
|
macOS |
|
|
Windows |
|
|
Same 146 tools everywhere β the Python code checks
platform.system()and adapts:run_commandβ Bash or PowerShell,process_listβpsortasklist,service_statusβsystemctl/launchctl/sc,port_listβss/lsof/netstatfallback.
πΈ See it in action
π | π₯οΈ Terminals stay alive | β©οΈ Snapshots = undo |
|
|
|
One call runs DNS β TCP β owner β HTTP β resources and tells you which layer failed. | Dev servers and REPLs keep running between calls. Cursor reads, |
|
π Contents
Configuration Β· Diagnostics Β· Uninstall Β· Development
π§ What it actually does
Claude Desktop runs agent tasks in a restricted sandbox/VM. This server is a bridge out: it runs on your real machine as your normal user and exposes typed tools over MCP stdio. Claude calls them; you approve the dangerous ones.
Claude Desktop ββstdio/JSON-RPCβββΆ host-system MCP βββΆ your machine
βββ shell + persistent terminals + background jobs
βββ files + search + snapshots (undo)
βββ git + worktrees
βββ system: processes, journal, ports, diagnose, Docker, packages
βββ mind: time, persistent memory, thinking chain
βββ web + integrations: fetch, search, browser, GitHub, DBs, maps, drive, Slack
βββ 9router AI: chat/fanout/image/search (multi-agent)
βββ accounts: github/vercel/cloudflare link + manage
βββ guarded by: scoped roots Β· profiles Β· approvals Β· audit Β· rate limitsConcrete things Claude can now do for you:
π‘οΈ "Why is my laptop hot?" β
system_snapshotshows CPU, temps, top processes in one call.π "Why won't localhost:3000 load?" β
diagnosepinpoints the failed layer instead of guessing.π» "Run my dev server and tell me when it's ready" β
terminal_create+terminal_wait(pattern="ready"), no polling loop.βοΈ "Patch server.py, and undo it if tests fail" β
file_versionβedit_fileβfile_restore.π§ "Remember my stack" β
memory_storetoday,memory_recallnext session.
What it does NOT do: no privilege escalation (sudo/su blocked), no shutdown/reboot, no disk formatting, no push on your behalf (git_commit never pushes), no silent exfiltration (secrets never hit the audit log; integrations need your keys).
π§° Tools
146 tools in fourteen groups (verified live via stdio handshake). Only destructive tools prompt (see Approval policy).

Reading guide: Core = everyday shell+files Β· Terminal+Jobs = long-running work without polling Β· Files/Git = semantic editing with rollback Β· Ops+Docker = observe then act Β· Mind+Web+Integrations = memory and outside world, all credential-gated Β· 9router = local AI (chat/fanout/image/search).
Core
Tool | Description |
| Hostname, |
| Linux: |
| Bash ( |
| Text read inside readable roots. Args: |
| Text write inside writable roots. Refuses overwrite unless |
|
|
Terminal sessions (persistent)
One shell process per session, kept alive across calls. For dev servers, REPLs, ssh β not one-shot commands.
Tool | Description |
| Spawn shell (or run |
| Incremental output since |
| Send keystrokes/commands to stdin. |
| Store dimensions (metadata; no PTY ioctl yet). |
|
|
| Block until regex |
| Terminate session. Destructive β prompts. |
| Live sessions with pid, cwd, age, buffer size. |
Background jobs
Tool | Description |
| Launch command detached. Optional |
| State, pid, exit code, buffer sizes. |
| Incremental |
| Block until exit or timeout. Prefer over polling. |
|
|
| All jobs, or |
Files
Tool | Description |
| Type, |
| Recursive name match ( |
| Recursive content regex. |
| File/dir copy. Source readable, dest writable. |
| Move/rename. Both ends must be writable. Destructive β prompts. |
| Delete file, or dir with |
| Exact-string replace ( |
| Unified diff apply ( |
| First N lines. |
| Last N lines. |
| ASCII tree, |
| Glob find, |
| Literal (default) or |
| Subsequence filename ranking, dependency-free. |
Process and system
Tool | Description |
|
|
| Signal by PID ( |
| User service status: systemd |
|
|
| One-call cpu/memory/disk/load/temps/battery/gpu/network/uptime JSON. |
| User journal tail with |
Git
Tool | Description |
| Branch + |
| Recent commits, short date format. Arg: |
| Uncommitted diff + |
| Local + remote branches ( |
|
|
| Commit with stat, oneline. Read-only. |
| Line-range blame of a tracked file. Read-only. |
|
|
|
|
| Checkout (or |
|
|
| Inverse commit of a revision. |
| Merge branch, conflict output on failure. |
| Rebase onto upstream; |
|
|
| Isolated worktree under |
| List worktrees. Read-only. |
| Remove an agent worktree. |
Network
Tool | Description |
|
|
| TCP reachability + |
|
|
| Hostname β addresses. |
| Interfaces with state + MAC. |
| Active sockets via |
| Listening sockets + owner pid/process ( |
| TCP connect to |
| Owner of a listening port: pid, comm, cmdline, cwd. |
| Layered diagnosis: |

Docker
Requires the docker CLI. Mutations are profile-gated (developer/full) and prompt.
Tool | Description |
| Containers (running default, |
| Tail container logs. |
| State, image, ports, mounts. |
| Lifecycle (10s stop timeout). |
|
|
Packages
Native manager auto-detected (apt/dnf/pacman/zypper/apk/brew/flatpak/snap). Search/info everywhere; mutations on apt/dnf/pacman/brew, developer/full profile only.
Tool | Description |
| Search packages. |
| Package metadata. |
| Install/remove. Prompt. |
| Refresh index. Prompt. |
Mind: time, memory, thinking
No new dependencies. Mirrors the official time/memory/sequential-thinking servers with stdlib-only internals.
Tool | Description |
| Current time in IANA timezone (default local). |
| ISO datetime between timezones. |
| List IANA zones, optional filter. |
| Store observation on entity (persistent JSON graph). |
| Typed relation between two entities. |
| Substring recall over entities/observations/relations. |
| Delete observation or whole entity. Destructive β prompts. |
| Record one reasoning step in a chain. |
| Return the thought chain. Read-only. |
| Clear the chain. Destructive β prompts. |
Web data: fetch, search, browser
Tool | Description |
| Fetch URL β LLM-ready text (boilerplate stripped, β€3 redirects). |
| Keyless-first fan-out (html+wiki+duck, deduped); |
| Dedicated Wikipedia search. Keyless, reputable, structured. |
| JS render via local Chrome when installed, fetch_text fallback otherwise. |
| Page screenshot PNG into writable roots. Opt-in; prompts. |
Integrations: GitHub, databases, maps, drive, Slack
All credential-gated: without keys they return setup errors, never crash. Secrets never reach the audit log.
Tool | Description |
| Repo metadata keyless (60/hr); token raises quota. |
| List/get/create issues. Create prompts. |
| List/get/create PRs. Create prompts. |
| SELECT-first SQL; empty dsn auto-discovers local sqlite. Writes need |
| Keyless DB probe: sqlite files, postgres/redis reachability. |
| List tables for a DSN. |
| GET a key; defaults to local 127.0.0.1:6379; docker:redis fallback. |
| Forward geocode (Google with key, else nominatim). |
| Routing (Google with key, else straight-line km). |
| List |
| Download remote file into writable roots. Prompts. |
| List channels ( |
| Post a message. Prompts. |
9router: local AI gateway
Your 9router (npm 0.5.69) at 127.0.0.1:20128 becomes 14 tools + 2 resources. Auth is automatic: NINEROUTER_API_KEY wins, else the first active key from ~/.9router/db/data.sqlite. No new setup.
Tool | Description |
| Health + version. No key needed. Read-only. |
| 349 routable combos + provider models. Read-only. |
| 26 bundles ( |
| 37 connections, health only, no secrets. Read-only. |
| Requests, tokens, cost, providers. Read-only. |
| Ask any combo/model. Returns text + usage. |
| SSE chat, concatenated text. |
| Same prompt to N models in parallel (max 6). Judge/ensemble primitive. |
| Generate images ( |
| Text-to-speech. Shape passes through. |
| Speech-to-text from base64 audio. |
| Embed texts. Shape passes through. |
| Web search via 9router |
| Video generation. Speculative on most hosts. |
Resources: nine://status, nine://models.
Multi-agent pattern:
nine_fanout(["sina-economy","sina-pro"], prompt)β compare βnine_chat(judge)β decide. Fanout concurrency is capped at 6 to protect free-tier quotas.
Snapshots and audit
Tool | Description |
| Copy file/dir into timestamped slot before risky ops. |
| Slots with source + creation time. |
| Copy slot back. Destructive β prompts; |
| One-call pre-edit file snapshot. |
| Restore newest slot for a path. Destructive β prompts. |
| Last N audit records (paths/sizes only, never contents). |
| Filter by tool substring + ok true/false. |
Accounts: link once, manage everything
One token store (~/.local/share/claude-host-mcp/accounts/*.json, chmod 600). Never pasted into audit. Resolution everywhere: explicit env β stored β CLI auto-login (gh, vercel) β keyless.
Tool | Description |
| Linked providers with source + live status. Never returns secrets. Read-only. |
| Start linking. Returns open-link URL + |
| Block until you authorize. Polls the live login flow (GitHub device, Vercel callback), then CLI-login state. Poll interval follows the provider (β₯5s). |
| Validate pasted token live, store chmod 600, close request. |
| Delete a stored token. Prompts. CLI logins untouched. |
| List projects (name, id, URL). Auto token. Read-only. |
| List deployments, optional project filter. Read-only. |
| Aliases, state, regions, creator. Read-only. |
| Build/runtime event tail. Read-only. |
| Rebuild a deployment. Prompts (creates live deploys). |
| Zones (id, name, status, plan). Read-only. |
| First account id/name. Read-only. |
| List DNS records for a zone. Read-only. |
| Create a DNS record. Prompts. |
| Delete a DNS record by id. Prompts. |
| Purge a zone cache. Prompts. |
| Validate token + identity: handle, email, id. Read-only. |
| File metadata: name, lastModified, thumbnailUrl, version. Read-only. |
| Validate token + identity: username, email, id. Read-only. |
| List workspaces: id, name, type. Read-only. |
| List collections: id/uid, name. Optional workspace filter. Read-only. |
| Validate token + list teams: id, name. Read-only. |
The flow Claude uses: sees
accountsunlinked βaccounts_connectreturns a link plus a live login β you open it and approve βaccounts_waitnotices by itself. GitHub: openlogin.verification_uri, typelogin.user_code, approve (device flow, no app to create; override viaHOST_MCP_GITHUB_CLIENT_ID). Vercel: withHOST_MCP_VERCEL_CLIENT_IDset, openlogin.urland approve on localhost (port viaHOST_MCP_VERCEL_REDIRECT_PORT, default 8765); without it,vercel loginin your terminal or a pasted token viaaccounts_complete. Cloudflare / Figma / Postman / Apidog: token-only (no OAuth exists) βaccounts_connectauto-opens the token page,accounts_completevalidates live (GET /v1/meFigma,GET /mePostman,GET /v1/teamsApidog).
π‘ Resources
Live context without tool calls:
URI | Content |
| One-line identity, uptime, disk, memory. |
| Full |
| Listening-port table JSON. |
| Profile, roots, caps, destructive set JSON. |
| Last 20 audit records JSON. |
| ps row + cmdline + cwd JSON. |
| Buffer tail + alive state JSON. |
| Status + stdout/stderr tails JSON. |
β Approval policy
Only destructive tools prompt: file_delete, file_move, terminal_close, terminal_signal, process_kill, job_cancel, git_commit, git_reset, git_revert, git_merge, git_rebase, git_checkout, git_clean (exec), git_tag (create/delete), git_stash (pop/drop), git_worktree_* (create/remove), snapshot_restore, file_restore, docker_* (mutations), package_* (mutations), memory_forget, think_clear, github_issue/github_pr (create), db_query (writes), browser_shot, drive_get, slack_send, accounts_remove, accounts_complete, vercel_redeploy, cloudflare_dns_create, cloudflare_dns_delete, cloudflare_purge. Everything else β shell, reads, search, monitoring, journal, ports, diagnose β runs without approval friction.
Caveat: deletion via shell (
rm/Remove-Iteminsiderun_command) is NOT blocked and does NOT prompt. Usefile_deletefor guarded deletes that request approval.
π‘οΈ Safety at a glance

Three profiles, one rule: destructive = prompt. safe passes read-only tools only; developer (default) adds workspace+git+process+network; full unlocks Docker/package/service-style ops. reset --hard and clean execution additionally need confirm=true in the call itself. Secrets (tokens, DSNs) never reach the audit log.
π Security
Runs as your normal user. Anything that user can read/modify is reachable through tools.
Hard blocks in run_command: sudo/su/pkexec, shutdown/reboot/poweroff (Restart-Computer/Stop-Computer on Windows), disk tools (mkfs, wipefs, fdisk, parted, diskpart, Format-Volume, Clear-Disk), raw dd of=/dev/*, recursive rm of / or $HOME (drive-root Remove-Item C:\ on Windows), root-wide chown/chmod, fork bombs.
Policy engine (HOST_MCP_PROFILE): safe = read-only tools pass, everything else blocked server-side; developer (default) = full workspace + git + process + network; full = developer + Docker/package/service-restart style ops. Destructive git ops (reset --hard, clean exec) additionally require confirm=true in the call. docker_exec --privileged always blocked. process_kill refuses PID 1 and self; file_delete refuses configured roots; git_commit never pushes; service_status user-scope only; download_file/http_fetch http(s) only, byte-capped.
Rate limits (HOST_MCP_RATE_LIMIT, default 60/60): per-family call budget; excess calls fail with a rate-limit error instead of executing.
Audit (~/.local/share/claude-host-mcp/audit.jsonl, override HOST_MCP_AUDIT_FILE, empty disables): every mutating tool logs timestamp/tool/args-hint/ok. File contents never logged.
Blocklist = guardrail, not sandbox. General shell access is inherently powerful. Tighten
*_ROOTSto least privilege.
Requirements
Linux, macOS, or Windows; Python 3.10+
Claude Desktop with local MCP support
uvoptional; installers fall back tovenv+ pip
Configuration
Set under host-system β env in claude_desktop_config.json. Restart Claude Desktop after change.
Variable | Default | Description |
|
|
|
|
| Readable roots (OS path separator). |
|
| Writable roots (OS path separator). |
|
| Output truncation cap, chars. |
|
| Max |
|
| Download/fetch cap, bytes (20 MB). |
|
| Audit trail path; empty disables. |
|
| Snapshot slot directory. |
|
|
|
|
| Python log level. |
|
| Knowledge-graph file. |
|
| Default backend: |
|
|
|
| (unset) | Optional: raises quota + enables create; reads work keyless. |
| (unset) | Default DSNs for |
| (unset) | Google backend for |
| (unset) | e.g. |
| (unset) | Bot token for |
| (auto from | Optional override; else first active 9router key. |
|
| 9router gateway address. |
| (public default) | Override for GitHub device flow. Default is the public GitHub CLI app id (public client, no secret). |
| (unset) | Your own Vercel Integration client id. Enables localhost-callback login in |
|
| Localhost callback port for Vercel OAuth. |
| (unset) | Optional: Figma PAT override (else stored file). |
| (unset) | Optional: Postman API key override (starts with |
| (unset) | Optional: Apidog OpenAPI token override. |
|
| Apidog base URL; EU tenants use |
| (on) | Set |
Example:
{
"mcpServers": {
"host-system": {
"command": "/home/alice/.local/share/claude-host-mcp/.venv/bin/claude-host-mcp",
"args": [],
"env": {
"HOST_MCP_PROFILE": "developer",
"HOST_MCP_READ_ROOTS": "/home/alice:/etc:/var/log",
"HOST_MCP_WRITE_ROOTS": "/home/alice/Documents",
"HOST_MCP_MAX_TIMEOUT": "180",
"HOST_MCP_MAX_OUTPUT": "50000"
}
}
}
}Diagnostics
./doctor.sh # Linux / macOS.\doctor.ps1 # WindowsChecks OS, Python, venv entry point, MCP SDK import, registered config. MCP logs: Claude config/log dir; 3P Linux often ~/.config/Claude-3p/logs/.
Common fixes:
Full Claude Desktop restart (not just window reload), then a new session.
If scripts won't run after
git clone, re-applychmod +x install.sh install-mac.sh doctor.sh uninstall.sh.On Windows, if PowerShell blocks scripts:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass, then.\install.ps1.If the wrong config got edited, re-run with
CLAUDE_DESKTOP_CONFIG(Unix) or-ClaudeConfig(Windows) pointing at the right file.
Uninstall
./uninstall.sh # Linux / macOS.\uninstall.ps1 # WindowsRemoves host-system entry (config backed up first) and installed runtime. Restart Claude Desktop.
Development
Layout: src/claude_host_mcp/ (server.py, sessions.py, jobs.py, policy.py, files.py, gitx.py, ops.py, snapshots.py, resources.py, mind.py, webdata.py, ninerouter.py), skills/ (morning-diagnose, safe-deploy), pyproject.toml (hatchling), install.sh, install-mac.sh, install.ps1, doctor.sh, doctor.ps1, uninstall.sh, uninstall.ps1.
Skills
Two prompt-only skills live in skills/. No code, just fixed tool order. Built from real audit.jsonl patterns (edit_file bursts, web_search loops, nine_fanout usage).
morning-diagnose:diagnoseβ layer drill (service_status,journal_query,process_list,port_owner) βsnapshot_createβedit_file(dry run first) β verify (git_diff,journal_query,port_check) β fail pathfile_restore+audit_log.safe-deploy:snapshot_createβedit_file(dry run) βgit_diff+job_start/job_waittests βgit_commit(never push) β red pathfile_restore+audit_log.
Triggers: service down / "Ψ¨Ψ§ΩΨ§ ΩΩ ΫΨ§Ψ―" β morning-diagnose. Patch/fix/deploy / "Ψ―Ψ±Ψ³ΨͺΨ΄ Ϊ©Ω" β safe-deploy.
Installers copy skills/ into ~/.claude/skills/ automatically (install.sh, install-mac.sh, install.ps1). Skip with ./install.sh --skip-skills or .\install.ps1 -SkipSkills. Override dest with HOST_MCP_SKILLS_DIR. Only skills carrying installed-by-host-mcp are removed on uninstall; your own same-named skills are backed up, never overwritten. ./doctor.sh / .\doctor.ps1 report installed vs missing.
from mcp.server import MCPServer
mcp = MCPServer("Host System")Rules: no stdout logging under stdio transport (stdout = JSON-RPC; log to stderr). Smoke test:
python3 -c "import sys; sys.path.insert(0,'src'); import claude_host_mcp.server; print('OK')"Full handshake check (tools + resources count):
PYTHONPATH=src python -m claude_host_mcp.server # speak JSON-RPC on stdin; see CHANGELOG processChangelog
See CHANGELOG.md. Current: 0.7.0.
License
MIT β see LICENSE.
Available Tools
146 toolsaccountsLinked accountsARead-only
Linked providers with source + live status. Never returns secrets.
Inputs: no named parameters. Returns: object
accounts_completeComplete linkD
Validate a pasted token live, store chmod 600, close request.
Inputs: token (required), request_id (required). Returns: object
accounts_connectConnect accountA
Start linking github|vercel|cloudflare. Returns open-link + request_id (or already:true).
Inputs: provider (required). Returns: object
accounts_removeRemove accountADestructive
Delete a stored token. Prompts. CLI logins untouched.
Inputs: provider (required). Returns: object
accounts_waitWait for linkBRead-only
Block until the user authorizes (link opened) or timeout. Polls 5s.
Inputs: request_id (required), timeout_seconds. Returns: object
apply_patchApply patchBIdempotent
Apply a unified diff to a file (patch binary preferred, naive fallback otherwise).
Inputs: path (required), patch (required), dry_run. Returns: object
audit_logAudit logARead-only
Return the last N mutating-tool audit records (paths and sizes only, never contents).
Inputs: count. Returns: result
audit_searchSearch audit logARead-only
Filter audit trail by tool name substring and ok true/false/any.
Inputs: ok, tool, count. Returns: result
browser_fetchBrowser renderARead-only
Render JS page in headless Chrome, return DOM text. Opt-in.
Inputs: url (required), max_chars, timeout_seconds. Returns: object
browser_shotBrowser screenshotADestructive
Screenshot page to PNG in writable roots. Opt-in; prompts.
Inputs: url (required), dest (required), width, timeout_seconds. Returns: object
cloudflare_accountCloudflare accountCRead-only
First account id/name. Needs Account:Read.
Inputs: no named parameters. Returns: object
cloudflare_dnsCloudflare DNSBRead-only
List DNS records for a zone (name or id).
Inputs: zone (required), name, dtype. Returns: object
cloudflare_dns_createCloudflare DNS createCDestructive
Create a DNS record. Prompts.
Inputs: name (required), zone (required), dtype (required), content (required), +2 more. Returns: object
cloudflare_dns_deleteCloudflare DNS deleteCDestructive
Delete a DNS record by id. Prompts.
Inputs: zone (required), record_id (required). Returns: object
cloudflare_purgeCloudflare purgeCDestructive
Purge a zone cache. Prompts.
Inputs: zone (required). Returns: object
cloudflare_zonesCloudflare zonesARead-only
List zones (id, name, status, plan). Needs token.
Inputs: name. Returns: object
connection_listList connectionsBRead-only
Active TCP/UDP sockets via ss or netstat.
Inputs: limit. Returns: result
db_querySQL queryC
SELECT-first SQL (postgres psql / sqlite stdlib). Writes need confirm+full.
Inputs: dsn, sql, limit, confirm. Returns: object
db_statusDB statusBRead-only
Keyless DB probe: sqlite files, postgres/redis reachability.
Inputs: no named parameters. Returns: object
db_tablesList DB tablesB
List tables for a DSN.
Inputs: dsn. Returns: object
diagnoseDiagnose targetARead-only
Layered diagnosis: host:port/http(s):// (DNS/TCP/owner/HTTP/resources) or service:NAME.
Inputs: target (required). Returns: object
directory_treeDirectory treeBRead-only
Render an ASCII tree of a directory (noise dirs hidden).
Inputs: path, depth, max_entries. Returns: result
disk_usageDisk usageARead-only
Show filesystem usage (df on Linux/macOS, drive usage on Windows) plus size of one allowed path.
Inputs: path. Returns: result
dns_lookupDNS lookupBRead-only
Resolve a hostname to addresses.
Inputs: host (required). Returns: object
docker_execDocker execADestructive
Run sh -c inside a container. --privileged blocked.
Inputs: command (required), container (required), timeout_seconds. Returns: object
docker_inspectDocker inspectBRead-only
State, image, ports and mounts of a container.
Inputs: container (required). Returns: object
docker_logsDocker logsBRead-only
Tail logs of a container.
Inputs: container (required), lines. Returns: result
docker_psDocker containersARead-only
List containers (running by default, all=true for all).
Inputs: all. Returns: result
docker_restartDocker restartBDestructive
Restart a container (10s timeout).
Inputs: container (required). Returns: object
docker_rmDocker removeADestructive
Remove a (stopped) container.
Inputs: container (required). Returns: object
docker_startDocker startCDestructive
Start a container.
Inputs: container (required). Returns: object
docker_stopDocker stopADestructive
Stop a container (10s timeout).
Inputs: container (required). Returns: object
download_fileDownload fileBIdempotent
Download an http(s) URL to a file inside writable roots. Total size is capped.
Inputs: url (required), dest (required), overwrite, timeout_seconds. Returns: object
drive_getDrive downloadCDestructive
Copy remote file into writable roots. Prompts.
Inputs: dest (required), remote_path (required), overwrite. Returns: object
drive_listDrive listCRead-only
List rclone remote path (needs RCLONE_REMOTE).
Inputs: path, max_entries. Returns: result
edit_fileEdit fileCIdempotent
Replace an exact string in a file. dry_run=true previews a unified diff without writing.
Inputs: new (required), old (required), path (required), dry_run, +1 more. Returns: object
fetch_textFetch as textARead-only
Fetch URL, strip boilerplate, return LLM-ready text (<=3 redirects).
Inputs: url (required), max_chars, timeout_seconds. Returns: object
file_copyCopy host fileAIdempotent
Copy a file or directory. Source must be readable, destination must be writable.
Inputs: dest (required), source (required), overwrite. Returns: object
file_deleteDelete host fileADestructiveIdempotent
Delete a file, or a directory when recursive=true. Never deletes a configured root itself.
Inputs: path (required), recursive. Returns: object
file_grepSearch file contentsBRead-only
Recursively search file contents for a regex pattern. Prefers ripgrep, falls back to grep or pure Python.
Inputs: root (required), pattern (required), max_matches. Returns: result
file_moveMove host fileADestructiveIdempotent
Move or rename a file or directory inside writable roots.
Inputs: dest (required), source (required), overwrite. Returns: object
file_restoreRestore file versionBDestructiveIdempotent
Restore the newest snapshot recorded for this path.
Inputs: path (required). Returns: object
file_searchSearch files by nameBRead-only
Recursively find files whose name matches a glob pattern (e.g. *.log).
Inputs: root (required), pattern (required), max_results. Returns: result
file_statFile statARead-only
Return size, modification time and type for a file on the host.
Inputs: path (required). Returns: object
file_versionVersion fileBRead-only
One-call pre-edit snapshot of a single file.
Inputs: path (required). Returns: object
find_files_toolFind filesBRead-only
Find files by glob, fd preferred with find/pathlib fallback.
Inputs: root (required), pattern, max_results. Returns: result
fuzzy_find_toolFuzzy find filesARead-only
Subsequence filename search ranked by match compactness.
Inputs: root (required), query (required), max_results. Returns: result
git_blameGit blameBRead-only
Blame line ranges of a tracked file. Read-only.
Inputs: file (required), path (required), count, start. Returns: result
git_branchGit branchesARead-only
List local and remote branches for a repository on the host.
Inputs: path (required). Returns: result
git_checkoutGit checkoutBDestructive
Checkout branch (create with -b). Refuses on dirty tree.
Inputs: path (required), branch (required), create. Returns: object
git_cleanGit clean previewADestructive
Preview (dry_run) or execute clean; execution requires confirm=true.
Inputs: path (required), dirs, confirm, dry_run. Returns: object
git_commitGit commitADestructive
Stage all changes and commit in a repository inside writable roots. Never pushes.
Inputs: path (required), message (required). Returns: object
git_diffGit diffARead-only
Show uncommitted changes (or staged changes with staged=true) for a repository.
Inputs: path (required), staged. Returns: result
github_issueGitHub issuesD
List/get/create issues. create prompts.
Inputs: full_name (required), body, title, action, +1 more. Returns: object
github_prGitHub PRsD
List/get/create PRs. create prompts.
Inputs: full_name (required), base, body, head, +3 more. Returns: object
github_repoGitHub repoBRead-only
Repo metadata (needs GITHUB_TOKEN).
Inputs: full_name (required). Returns: object
git_logGit logCRead-only
Show recent commits for a repository on the host.
Inputs: path (required), count. Returns: result
git_mergeGit mergeCDestructive
Merge a branch into the current one.
Inputs: path (required), branch (required), no_ff. Returns: object
git_rebaseGit rebaseCDestructive
Rebase onto upstream; abort/continue conflicted rebases.
Inputs: path (required), cont, abort, upstream. Returns: object
git_resetGit resetDDestructive
Reset modes; --hard requires confirm=true.
Inputs: path (required), rev, mode, confirm. Returns: object
git_revertGit revertBDestructive
Revert a commit by creating an inverse commit.
Inputs: rev (required), path (required), no_commit. Returns: object
git_showGit showCRead-only
Show a commit with stat (oneline). Read-only.
Inputs: path (required), rev, max_chars. Returns: result
git_stashGit stashBDestructive
Stash list/push/pop/drop. pop/drop are destructive.
Inputs: path (required), index, action, message. Returns: result
git_statusGit statusARead-only
Show git status and current branch for a repository on the host.
Inputs: path (required). Returns: result
git_tagGit tagADestructive
List/create/delete tags. list is read-only; create/delete prompt.
Inputs: path (required), name, action, message. Returns: object
git_worktree_createGit worktree createADestructive
Create an isolated worktree under .worktrees/ for agent work.
Inputs: path (required), branch (required). Returns: object
git_worktree_listGit worktree listCRead-only
List worktrees of a repository. Read-only.
Inputs: path (required). Returns: result
git_worktree_removeGit worktree removeCDestructive
Remove an agent worktree created by git_worktree_create.
Inputs: path (required), branch (required), force. Returns: object
head_fileFile headARead-only
Return the first N lines of a file.
Inputs: path (required), lines. Returns: result
host_identityHost identityARead-only
Return identity information for the real host running this MCP server.
Inputs: no named parameters. Returns: object
http_fetchFetch URLCRead-only
Fetch an http(s) URL from the host and return its text. Response size is capped.
Inputs: url (required), max_chars, timeout_seconds. Returns: object
interface_listList interfacesBRead-only
Network interfaces with state and MAC.
Inputs: no named parameters. Returns: object
job_cancelCancel jobADestructiveIdempotent
Terminate a running job (TERM, then KILL after 5s).
Inputs: job_id (required). Returns: object
job_listList jobsBRead-only
List background jobs, optionally only running ones.
Inputs: running_only. Returns: result
job_outputJob outputARead-only
Read new job output since cursor. Returns new cursor.
Inputs: job_id (required), limit, cursor, stream. Returns: object
job_startStart background jobB
Launch a command in background. Returns job_id; page with job_output, block with job_wait.
Inputs: command (required), cwd, timeout_seconds. Returns: object
job_statusJob statusARead-only
Show state, pid, exit code and buffer sizes for a job.
Inputs: job_id (required). Returns: object
job_waitWait for jobARead-only
Block until a job exits or timeout. Prefer over polling job_status.
Inputs: job_id (required), timeout_seconds. Returns: object
journal_queryQuery journalARead-only
User journal tail, optional service/priority/since filter.
Inputs: lines, since, service, priority. Returns: result
list_directoryList host directoryBRead-only
List an allowed directory on the real host.
Inputs: path, max_entries. Returns: result
maps_directionsDirectionsBRead-only
Directions (google with key, else straight-line km).
Inputs: origin (required), destination (required), mode. Returns: object
maps_geocodeGeocodeARead-only
Forward geocode (google with key, else nominatim).
Inputs: query (required). Returns: object
memory_forgetMemory forgetBDestructive
Delete an observation or whole entity. Prompts.
Inputs: entity (required), observation. Returns: object
memory_linkMemory linkC
Link two entities with a typed relation.
Inputs: relation (required), to_entity (required), from_entity (required). Returns: object
memory_recallMemory recallBRead-only
Substring recall over entities, observations and relations.
Inputs: query (required), max_results. Returns: object
memory_storeMemory storeB
Store one observation on an entity (persistent knowledge graph).
Inputs: entity (required), observation (required), entity_type. Returns: object
network_checkCheck TCP portBRead-only
Test whether a TCP port on a host is reachable from this machine.
Inputs: host (required), port (required), timeout_seconds. Returns: object
nine_chat9router chatB
Ask any combo/model. Single-shot completion with usage.
Inputs: model (required), prompt (required), system, max_tokens, +2 more. Returns: object
nine_chat_stream9router stream chatC
SSE chat; returns concatenated text.
Inputs: model (required), prompt (required), system, max_tokens, +1 more. Returns: object
nine_combos9router combosCRead-only
Combos with member models (sina-pro, image, FastImg...).
Inputs: no named parameters. Returns: object
nine_embeddings9router embeddingsC
Embed texts. Shape varies by host.
Inputs: texts (required), model. Returns: object
nine_fanout9router fanoutB
Same prompt to N models in parallel (max 6). Judge/ensemble primitive.
Inputs: models (required), prompt (required), system, max_tokens, +1 more. Returns: object
nine_image9router imageA
Generate images (b64_json). Default auto-picks FastImg member.
Inputs: prompt (required), n, size, model, +1 more. Returns: object
nine_models9router modelsBRead-only
List routable combos + provider models.
Inputs: no named parameters. Returns: object
nine_providers9router providersBRead-only
Provider health, no secrets.
Inputs: no named parameters. Returns: object
nine_search9router web searchARead-only
Web search through 9router's connection. Keyless for you.
Inputs: query (required), count, provider. Returns: object
nine_status9router statusARead-only
Gateway health + version. No key needed.
Inputs: no named parameters. Returns: object
nine_stt9router STTC
Speech-to-text from base64 audio.
Inputs: audio_b64 (required), model, timeout_seconds. Returns: object
nine_tts9router TTSC
Text-to-speech. Shape varies by host.
Inputs: text (required), model, voice, timeout_seconds. Returns: object
nine_usage9router usageCRead-only
Requests, tokens, cost, provider list.
Inputs: no named parameters. Returns: object
nine_video9router videoC
Video generation. Speculative on this host; kept for others.
Inputs: prompt (required), model, timeout_seconds. Returns: object
package_infoPackage infoCRead-only
Show package metadata from native manager.
Inputs: package (required). Returns: result
package_installPackage installADestructive
Install a package (apt/dnf/pacman/brew). Developer/full profile only.
Inputs: package (required). Returns: object
package_removePackage removeADestructive
Remove a package. Developer/full profile only.
Inputs: package (required). Returns: object
package_searchPackage searchBRead-only
Search native package manager (apt/dnf/pacman/brew/...).
Inputs: query (required), count. Returns: result
package_updatePackage update indexADestructive
Refresh package index (apt-get update / brew update / ...).
Inputs: no named parameters. Returns: object
port_checkCheck portBRead-only
TCP connect to host:port with latency.
Inputs: port (required), host. Returns: object
port_listList portsARead-only
Listening sockets with owner pid/process (/proc on Linux, ss/lsof fallback).
Inputs: no named parameters. Returns: result
port_ownerPort ownerBRead-only
Which process owns a listening port (pid, comm, cmdline, cwd).
Inputs: port (required). Returns: result
process_killKill processBDestructiveIdempotent
Send a signal to a host process. PID 1 and the MCP server itself are protected.
Inputs: pid (required), signal_name. Returns: object
process_listList processesARead-only
List host processes (ps sorted by CPU on Linux/macOS, tasklist on Windows), optionally filtered by a substring.
Inputs: limit, filter. Returns: result
read_fileRead host fileCRead-only
Read a text file from an allowed host path.
Default readable roots are the home directory plus /etc and /var/log on Linux/macOS. Configure HOST_MCP_READ_ROOTS to change them.
Inputs: path (required), max_chars. Returns: result
redis_getRedis GETC
GET a redis key (needs REDIS_URL or url=).
Inputs: key (required), url. Returns: object
run_commandRun command on hostB
Run a shell command on the real host as the current desktop user.
Bash (/bin/bash -lc) on Linux/macOS, PowerShell on Windows.
The server blocks privilege escalation and several obviously destructive system commands.
Note: deletion via shell (rm / Remove-Item) is NOT blocked and does NOT prompt;
use file_delete for guarded deletes that request approval.
Inputs: command (required), cwd, timeout_seconds. Returns: object
search_text_toolSearch textBRead-only
Search contents: literal by default, regex=true for patterns. rg preferred.
Inputs: root (required), pattern (required), regex, max_matches, +1 more. Returns: result
service_statusUser service statusARead-only
Show status of a user-scope service: systemd --user on Linux, launchctl on macOS, sc query on Windows.
Inputs: name (required), log_lines. Returns: result
slack_listSlack channelsARead-only
List channels (needs SLACK_BOT_TOKEN).
Inputs: no named parameters. Returns: object
slack_sendSlack sendCDestructive
Post a message. Prompts.
Inputs: text (required), channel (required). Returns: object
snapshot_createCreate snapshotBRead-only
Copy a file/dir into a timestamped slot before risky ops.
Inputs: path (required), label. Returns: object
snapshot_listList snapshotsARead-only
List snapshot slots with source and creation time.
Inputs: no named parameters. Returns: result
snapshot_restoreRestore snapshotBDestructiveIdempotent
Copy a slot back. Prompts (destructive); overwrite required on clash.
Inputs: slot (required), dest, overwrite. Returns: object
system_snapshotSystem snapshotARead-only
Point-in-time cpu/memory/disk/load/temps/battery/gpu/network/uptime.
Inputs: no named parameters. Returns: object
system_summarySystem summaryARead-only
Get a compact summary of the real host: identity, uptime, disk and memory.
Inputs: no named parameters. Returns: result
tail_fileFile tailARead-only
Return the last N lines of a file.
Inputs: path (required), lines. Returns: result
terminal_closeClose terminalCDestructiveIdempotent
Terminate a terminal session and release it.
Inputs: session_id (required). Returns: object
terminal_createCreate terminal sessionA
Start a persistent shell session (or run a command interactively).
Empty command spawns a login shell kept alive across calls. Use terminal_write to send input, terminal_read for incremental output, terminal_wait to block for a pattern/exit instead of polling.
Inputs: cwd, cols, rows, command. Returns: object
terminal_listList terminalsARead-only
List live terminal sessions with pid, cwd, age and buffer size.
Inputs: no named parameters. Returns: result
terminal_readRead terminal outputARead-only
Read new output from a terminal session since cursor. Returns new cursor.
Inputs: session_id (required), limit, cursor. Returns: object
terminal_resizeResize terminalBRead-only
Store terminal dimensions (metadata; no PTY ioctl yet).
Inputs: session_id (required), cols, rows. Returns: object
terminal_signalSignal terminalBDestructiveIdempotent
Send INT/TERM/KILL (HUP on Unix) to a terminal session.
Inputs: session_id (required), signal_name. Returns: object
terminal_waitWait on terminalARead-only
Block until regex pattern appears in new output, process exits, or timeout.
Inputs: session_id (required), pattern, wait_exit, timeout_seconds. Returns: object
terminal_writeWrite to terminalA
Send keystrokes/commands to a terminal session's stdin.
Inputs: data (required), session_id (required). Returns: object
thinkThink stepA
Record one reasoning step in a sequential chain.
Inputs: thought (required), next_needed, thought_number, total_thoughts. Returns: object
think_clearThink clearCDestructive
Clear the thought chain. Prompts.
Inputs: no named parameters. Returns: object
think_listThink chainARead-only
Return the current thought chain.
Inputs: no named parameters. Returns: object
time_convertConvert timeBRead-only
Convert ISO datetime between IANA timezones.
Inputs: to_tz (required), moment (required), from_tz (required). Returns: object
time_nowCurrent timeARead-only
Current time in an IANA timezone (default local).
Inputs: timezone. Returns: object
time_zonesList timezonesBRead-only
List IANA zones, optionally filtered.
Inputs: query, max_results. Returns: object
vercel_deploymentsVercel deploymentsBRead-only
List deployments, optional project name/id filter.
Inputs: limit, project. Returns: object
vercel_inspectVercel inspectBRead-only
Deployment detail: aliases, state, regions, creator.
Inputs: deployment (required). Returns: object
vercel_logsVercel logsBRead-only
Build/runtime event tail for a deployment.
Inputs: deployment (required), limit. Returns: object
vercel_projectsVercel projectsARead-only
List Vercel projects. Auto token (env > stored > CLI login).
Inputs: limit. Returns: object
vercel_redeployVercel redeployCDestructive
Rebuild a deployment. Prompts (creates live deploys).
Inputs: deployment (required), target. Returns: object
web_searchWeb searchARead-only
Keyless-first search: auto fans out to html+wiki+duck; brave when keyed.
Inputs: query (required), count, backend. Returns: object
wiki_searchWikipedia searchARead-only
Dedicated Wikipedia search. Keyless, reputable, structured.
Inputs: query (required), count. Returns: object
write_fileWrite host fileAIdempotent
Write a text file inside an allowed writable host root.
Existing files are not replaced unless overwrite=true. Default writable root is the user's home directory. Configure HOST_MCP_WRITE_ROOTS to change it.
Inputs: path (required), content (required), overwrite. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 146 tools
Many tools have overlapping purposes: web_search/wiki_search/nine_search, fetch_text/http_fetch/browser_fetch, find_files_tool/file_search/fuzzy_find_tool, search_text_tool/file_grep, and port_check/network_check are near-duplicates. The boundaries are often subtle and depend on backend or mode, which creates real misselection risk for an agent.
The set is mostly snake_case and readable, but conventions are mixed: some names are verb_noun (read_file, edit_file, run_command), some are noun_verb (file_search, terminal_create, web_search), and some are noun_noun (db_status, git_show, docker_ps). Inconsistent prefixes like git_ vs github_ and odd suffixes like find_files_tool or fuzzy_find_tool further break uniformity.
146 tools is an extreme count for a single MCP server, far beyond even a broad host-management scope. Rather than a focused tool set, this is a grab-bag of host operations, git, Docker, databases, AI services, and multiple SaaS integrations that would be better split into several purpose-specific servers.
Core host operations are very well covered: files, processes, git, Docker, terminal, jobs, network, snapshots, and packages all have solid lifecycle support. However, several bundled external domains are incompleteβGitHub issues/PRs lack update/merge operations, Cloudflare DNS has create/delete but no update, Slack only sends and lists channels, and Drive only lists and fetches.
Maintenance
Related MCP Connectors
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides Claude Desktop with direct access to your local file system for development tasks, enabling file operations (read, write, edit), directory browsing, command execution, and codebase search within a configured projects directory.6MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to control the local desktop via screenshot, mouse, keyboard, and clipboard operations.MIT
- FlicenseNot gradedqualityBmaintenanceEnables Claude Desktop or other MCP clients to execute shell commands, read/write files, and list directories on the local machine. Includes basic safety guardrails to block obviously destructive operations.-
- AlicenseAqualityBmaintenanceEnables Claude Desktop and Claude Code to list, search, and read files, run one terminal command, query SQLite, and manage named scheduled tasks without calling the Claude API.121MIT


