Skip to main content
Glama
claude-host-mcp
by isina-nej

claude-host-mcp

version tools resources platform license

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.sh

macOS: 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.

claude-host-mcp hero

  • πŸ–₯️ 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-mcp and a host-system entry 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.sh
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-mac.sh

Writes 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.ps1

Writes to %APPDATA%\Claude\claude_desktop_config.json. Install dir: %USERPROFILE%\.local\share\claude-host-mcp.

Then do all three, in order:

  1. Fully quit Claude Desktop (not just the window) and reopen it.

  2. Open a new session/task.

  3. 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 session

Custom paths:

CLAUDE_DESKTOP_CONFIG="$HOME/path/claude_desktop_config.json" ./install.sh
HOST_MCP_INSTALL_DIR="$HOME/custom-dir" ./install.sh

OS

Installer

Config location

Linux / WSL

./install.sh

~/.config/Claude-3p/ or ~/.config/Claude/

macOS

./install-mac.sh

~/Library/Application Support/Claude/

Windows

.\install.ps1

%APPDATA%\Claude\

Same 146 tools everywhere β€” the Python code checks platform.system() and adapts: run_command β†’ Bash or PowerShell, process_list β†’ ps or tasklist, service_status β†’ systemctl / launchctl / sc, port_list β†’ ss / lsof / netstat fallback.


πŸ“Έ See it in action

πŸ” diagnose finds the break

πŸ–₯️ Terminals stay alive

↩️ Snapshots = undo

diagnose demo

terminal demo

snapshot demo

One call runs DNS β†’ TCP β†’ owner β†’ HTTP β†’ resources and tells you which layer failed.

Dev servers and REPLs keep running between calls. Cursor reads, wait instead of polling.

file_version before risky edits, file_restore when tests fail.


πŸ“‘ Contents


🧭 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 limits

Concrete things Claude can now do for you:

  • 🌑️ "Why is my laptop hot?" β†’ system_snapshot shows CPU, temps, top processes in one call.

  • πŸ”Œ "Why won't localhost:3000 load?" β†’ diagnose pinpoints 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_store today, memory_recall next 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).

architecture

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

host_identity

Hostname, os (Linux/Darwin/Windows), kernel, arch, user, home, server PID. Health-check tool.

system_summary

Linux: hostname/uname/id/uptime/df/free. macOS: df/vm_stat/sysctl hw.memsize. Windows: hostname/whoami/Get-ComputerInfo/Get-PSDrive.

run_command

Bash (/bin/bash -lc) on Linux/macOS, PowerShell on Windows. Args: command, cwd, timeout_seconds. Returns exit_code, stdout, stderr.

read_file

Text read inside readable roots. Args: path, max_chars.

write_file

Text write inside writable roots. Refuses overwrite unless overwrite=true.

list_directory

DIR/FILE listing inside readable roots. Args: path, max_entries.

Terminal sessions (persistent)

One shell process per session, kept alive across calls. For dev servers, REPLs, ssh β€” not one-shot commands.

Tool

Description

terminal_create

Spawn shell (or run command interactively). Returns session_id, pid, cwd.

terminal_read

Incremental output since cursor. Returns new cursor.

terminal_write

Send keystrokes/commands to stdin.

terminal_resize

Store dimensions (metadata; no PTY ioctl yet).

terminal_signal

INT/TERM/KILL (HUP on Unix). Destructive β€” prompts.

terminal_wait

Block until regex pattern, exit, or timeout_seconds. Replaces polling loops.

terminal_close

Terminate session. Destructive β€” prompts.

terminal_list

Live sessions with pid, cwd, age, buffer size.

Background jobs

Tool

Description

job_start

Launch command detached. Optional timeout_seconds watchdog kill. Returns job_id.

job_status

State, pid, exit code, buffer sizes.

job_output

Incremental stdout/stderr since cursor.

job_wait

Block until exit or timeout. Prefer over polling.

job_cancel

TERM then KILL after 5s. Destructive β€” prompts.

job_list

All jobs, or running_only=true.

Files

Tool

Description

file_stat

Type, size_bytes, mtime, mode.

file_search

Recursive name match (*.log). Permission errors skipped, matches kept.

file_grep

Recursive content regex. rg preferred, grep on Unix, pure-Python fallback on Windows. Returns file:line.

file_copy

File/dir copy. Source readable, dest writable.

file_move

Move/rename. Both ends must be writable. Destructive β€” prompts.

file_delete

Delete file, or dir with recursive=true. Never deletes a configured root. Destructive β€” prompts.

edit_file

Exact-string replace (old β†’ new). dry_run=true previews unified diff. Refuses ambiguous multi-match unless replace_all=true.

apply_patch

Unified diff apply (patch binary preferred, naive fallback). dry_run supported.

head_file

First N lines.

tail_file

Last N lines.

directory_tree

ASCII tree, depth + max_entries, noise dirs (__pycache__, .git, .venv, node_modules) hidden.

find_files_tool

Glob find, fd preferred, find/pathlib fallback.

search_text_tool

Literal (default) or regex=true content search, rg preferred.

fuzzy_find_tool

Subsequence filename ranking, dependency-free.

Process and system

Tool

Description

process_list

ps sorted by CPU (Linux/macOS), tasklist on Windows. Args: filter substring, limit.

process_kill

Signal by PID (HUP/INT/TERM/KILL; no HUP on Windows). Protects PID 1 and self. Destructive β€” prompts.

service_status

User service status: systemd --user (Linux), launchctl list filtered (macOS), sc query (Windows).

disk_usage

df -h (Linux/macOS) or drive usage (Windows); plus du -sh / dir size for one allowed path.

system_snapshot

One-call cpu/memory/disk/load/temps/battery/gpu/network/uptime JSON.

journal_query

User journal tail with service/priority/since filters (macOS log show).

Git

Tool

Description

git_status

Branch + status --short --branch.

git_log

Recent commits, short date format. Arg: count.

git_diff

Uncommitted diff + --stat. staged=true shows --cached.

git_branch

Local + remote branches (branch -a -v).

git_commit

add -A + commit -m. Refuses empty message, clean tree. Never pushes. Destructive β€” prompts.

git_show

Commit with stat, oneline. Read-only.

git_blame

Line-range blame of a tracked file. Read-only.

git_tag

list (read-only) / create / delete.

git_stash

list / push / pop / drop. pop/drop destructive.

git_checkout

Checkout (or -b create). Refuses on dirty tree.

git_reset

--soft/--mixed/--hard; --hard requires confirm=true.

git_revert

Inverse commit of a revision.

git_merge

Merge branch, conflict output on failure.

git_rebase

Rebase onto upstream; abort/cont for conflicts.

git_clean

dry_run=true default preview; execution requires confirm=true.

git_worktree_create

Isolated worktree under .worktrees/ for agent work.

git_worktree_list

List worktrees. Read-only.

git_worktree_remove

Remove an agent worktree.

Network

Tool

Description

http_fetch

http(s) GET, capped size. Returns status, content_type, truncated, body.

network_check

TCP reachability + latency_ms. Args: host, port, timeout_seconds.

download_file

http(s) to writable root, byte-capped. Aborts + cleans partial on overflow.

dns_lookup

Hostname β†’ addresses.

interface_list

Interfaces with state + MAC.

connection_list

Active sockets via ss/netstat.

port_list

Listening sockets + owner pid/process (/proc on Linux, ss/lsof fallback).

port_check

TCP connect to host:port with latency.

port_owner

Owner of a listening port: pid, comm, cmdline, cwd.

diagnose

Layered diagnosis: host:port/http(s):// runs DNS→TCP→owner→HTTP→resources; service:NAME runs service→process→journal→ports. Returns failed_layers.

diagnose flow

Docker

Requires the docker CLI. Mutations are profile-gated (developer/full) and prompt.

Tool

Description

docker_ps

Containers (running default, all=true for all).

docker_logs

Tail container logs.

docker_inspect

State, image, ports, mounts.

docker_start / docker_stop / docker_restart / docker_rm

Lifecycle (10s stop timeout).

docker_exec

sh -c inside container. --privileged blocked.

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

package_search

Search packages.

package_info

Package metadata.

package_install / package_remove

Install/remove. Prompt.

package_update

Refresh index. Prompt.

Mind: time, memory, thinking

No new dependencies. Mirrors the official time/memory/sequential-thinking servers with stdlib-only internals.

Tool

Description

time_now

Current time in IANA timezone (default local).

time_convert

ISO datetime between timezones.

time_zones

List IANA zones, optional filter.

memory_store

Store observation on entity (persistent JSON graph).

memory_link

Typed relation between two entities.

memory_recall

Substring recall over entities/observations/relations.

memory_forget

Delete observation or whole entity. Destructive β€” prompts.

think

Record one reasoning step in a chain.

think_list

Return the thought chain. Read-only.

think_clear

Clear the chain. Destructive β€” prompts.

Web data: fetch, search, browser

Tool

Description

fetch_text

Fetch URL β†’ LLM-ready text (boilerplate stripped, ≀3 redirects).

web_search

Keyless-first fan-out (html+wiki+duck, deduped); backend auto|wiki|duck|html|brave; Brave when keyed.

wiki_search

Dedicated Wikipedia search. Keyless, reputable, structured.

browser_fetch

JS render via local Chrome when installed, fetch_text fallback otherwise.

browser_shot

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

github_repo

Repo metadata keyless (60/hr); token raises quota.

github_issue

List/get/create issues. Create prompts.

github_pr

List/get/create PRs. Create prompts.

db_query

SELECT-first SQL; empty dsn auto-discovers local sqlite. Writes need confirm=true + full profile.

db_status

Keyless DB probe: sqlite files, postgres/redis reachability.

db_tables

List tables for a DSN.

redis_get

GET a key; defaults to local 127.0.0.1:6379; docker:redis fallback.

maps_geocode

Forward geocode (Google with key, else nominatim).

maps_directions

Routing (Google with key, else straight-line km).

drive_list

List rclone remote; auto-picks when one remote exists.

drive_get

Download remote file into writable roots. Prompts.

slack_list

List channels (SLACK_BOT_TOKEN; send also works via webhook).

slack_send

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

nine_status

Health + version. No key needed. Read-only.

nine_models

349 routable combos + provider models. Read-only.

nine_combos

26 bundles (sina-pro, image, FastImg...) with members. Read-only.

nine_providers

37 connections, health only, no secrets. Read-only.

nine_usage

Requests, tokens, cost, providers. Read-only.

nine_chat

Ask any combo/model. Returns text + usage.

nine_chat_stream

SSE chat, concatenated text.

nine_fanout

Same prompt to N models in parallel (max 6). Judge/ensemble primitive.

nine_image

Generate images (b64_json). Auto-picks FastImg member. Verified live.

nine_tts

Text-to-speech. Shape passes through.

nine_stt

Speech-to-text from base64 audio.

nine_embeddings

Embed texts. Shape passes through.

nine_search

Web search via 9router searchapi. Keyless for you.

nine_video

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

snapshot_create

Copy file/dir into timestamped slot before risky ops.

snapshot_list

Slots with source + creation time.

snapshot_restore

Copy slot back. Destructive β€” prompts; overwrite required on clash.

file_version

One-call pre-edit file snapshot.

file_restore

Restore newest slot for a path. Destructive β€” prompts.

audit_log

Last N audit records (paths/sizes only, never contents).

audit_search

Filter by tool substring + ok true/false.

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

accounts

Linked providers with source + live status. Never returns secrets. Read-only.

accounts_connect

Start linking. Returns open-link URL + request_id (or already:true) plus a live login sub-flow when available: GitHub device code (login.user_code + login.verification_uri), Vercel localhost callback (login.url) when HOST_MCP_VERCEL_CLIENT_ID is set.

accounts_wait

Block until you authorize. Polls the live login flow (GitHub device, Vercel callback), then CLI-login state. Poll interval follows the provider (β‰₯5s).

accounts_complete

Validate pasted token live, store chmod 600, close request.

accounts_remove

Delete a stored token. Prompts. CLI logins untouched.

vercel_projects

List projects (name, id, URL). Auto token. Read-only.

vercel_deployments

List deployments, optional project filter. Read-only.

vercel_inspect

Aliases, state, regions, creator. Read-only.

vercel_logs

Build/runtime event tail. Read-only.

vercel_redeploy

Rebuild a deployment. Prompts (creates live deploys).

cloudflare_zones

Zones (id, name, status, plan). Read-only.

cloudflare_account

First account id/name. Read-only.

cloudflare_dns

List DNS records for a zone. Read-only.

cloudflare_dns_create

Create a DNS record. Prompts.

cloudflare_dns_delete

Delete a DNS record by id. Prompts.

cloudflare_purge

Purge a zone cache. Prompts.

figma_me

Validate token + identity: handle, email, id. Read-only.

figma_file

File metadata: name, lastModified, thumbnailUrl, version. Read-only.

postman_me

Validate token + identity: username, email, id. Read-only.

postman_workspaces

List workspaces: id, name, type. Read-only.

postman_collections

List collections: id/uid, name. Optional workspace filter. Read-only.

apidog_teams

Validate token + list teams: id, name. Read-only.

The flow Claude uses: sees accounts unlinked β†’ accounts_connect returns a link plus a live login β†’ you open it and approve β†’ accounts_wait notices by itself. GitHub: open login.verification_uri, type login.user_code, approve (device flow, no app to create; override via HOST_MCP_GITHUB_CLIENT_ID). Vercel: with HOST_MCP_VERCEL_CLIENT_ID set, open login.url and approve on localhost (port via HOST_MCP_VERCEL_REDIRECT_PORT, default 8765); without it, vercel login in your terminal or a pasted token via accounts_complete. Cloudflare / Figma / Postman / Apidog: token-only (no OAuth exists) β€” accounts_connect auto-opens the token page, accounts_complete validates live (GET /v1/me Figma, GET /me Postman, GET /v1/teams Apidog).

πŸ“‘ Resources

Live context without tool calls:

URI

Content

system://summary

One-line identity, uptime, disk, memory.

system://snapshot

Full system_snapshot JSON.

system://ports

Listening-port table JSON.

policy://current

Profile, roots, caps, destructive set JSON.

audit://recent

Last 20 audit records JSON.

process://{pid}

ps row + cmdline + cwd JSON.

terminal://{session}

Buffer tail + alive state JSON.

job://{job_id}

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-Item inside run_command) is NOT blocked and does NOT prompt. Use file_delete for guarded deletes that request approval.

πŸ›‘οΈ Safety at a glance

safety model

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 *_ROOTS to least privilege.

Requirements

  • Linux, macOS, or Windows; Python 3.10+

  • Claude Desktop with local MCP support

  • uv optional; installers fall back to venv + pip

Configuration

Set under host-system β†’ env in claude_desktop_config.json. Restart Claude Desktop after change.

Variable

Default

Description

HOST_MCP_PROFILE

developer

safe (read-only) / developer / full.

HOST_MCP_READ_ROOTS

$HOME:/etc:/var/log (Linux/macOS), $HOME (Windows)

Readable roots (OS path separator).

HOST_MCP_WRITE_ROOTS

$HOME

Writable roots (OS path separator).

HOST_MCP_MAX_OUTPUT

50000

Output truncation cap, chars.

HOST_MCP_MAX_TIMEOUT

180

Max run_command timeout, seconds.

HOST_MCP_MAX_DOWNLOAD

20971520

Download/fetch cap, bytes (20 MB).

HOST_MCP_AUDIT_FILE

~/.local/share/claude-host-mcp/audit.jsonl

Audit trail path; empty disables.

HOST_MCP_SNAPSHOT_DIR

~/.local/share/claude-host-mcp/snapshots

Snapshot slot directory.

HOST_MCP_RATE_LIMIT

60/60

N/seconds per tool family.

HOST_MCP_LOG_LEVEL

WARNING

Python log level.

HOST_MCP_MEMORY_FILE

~/.local/share/claude-host-mcp/memory.json

Knowledge-graph file.

HOST_MCP_WEB_SEARCH

auto

Default backend: auto (keyless fan-out), off disables; BRAVE_API_KEY forces Brave.

HOST_MCP_BROWSER

auto

auto uses local Chrome if installed (else fetch_text fallback); off disables.

GITHUB_TOKEN / GH_TOKEN

(unset)

Optional: raises quota + enables create; reads work keyless.

POSTGRES_DSN / REDIS_URL

(unset)

Default DSNs for db_* / redis_get.

GOOGLE_MAPS_API_KEY

(unset)

Google backend for maps_*; else nominatim/fallback.

RCLONE_REMOTE

(unset)

e.g. gdrive: enables drive_*.

SLACK_BOT_TOKEN

(unset)

Bot token for slack_*; SLACK_WEBHOOK_URL also enables send.

NINEROUTER_API_KEY

(auto from ~/.9router)

Optional override; else first active 9router key.

NINEROUTER_BASE_URL

http://127.0.0.1:20128

9router gateway address.

HOST_MCP_GITHUB_CLIENT_ID

(public default)

Override for GitHub device flow. Default is the public GitHub CLI app id (public client, no secret).

HOST_MCP_VERCEL_CLIENT_ID

(unset)

Your own Vercel Integration client id. Enables localhost-callback login in accounts_connect.

HOST_MCP_VERCEL_REDIRECT_PORT

8765

Localhost callback port for Vercel OAuth.

FIGMA_TOKEN / FIGMA_ACCESS_TOKEN

(unset)

Optional: Figma PAT override (else stored file).

POSTMAN_API_KEY

(unset)

Optional: Postman API key override (starts with PMAK-).

APIDOG_TOKEN / APIDOG_API_TOKEN

(unset)

Optional: Apidog OpenAPI token override.

HOST_MCP_APIDOG_BASE

https://api.apidog.com

Apidog base URL; EU tenants use https://api.eu.apidog.com.

HOST_MCP_AUTO_OPEN_BROWSER

(on)

Set 0 to disable auto-open browser in accounts_connect.

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       # Windows

Checks 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-apply chmod +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    # Windows

Removes 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 path file_restore + audit_log.

  • safe-deploy: snapshot_create β†’ edit_file (dry run) β†’ git_diff + job_start/job_wait tests β†’ git_commit (never push) β†’ red path file_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 process

Changelog

See CHANGELOG.md. Current: 0.7.0.

License

MIT β€” see LICENSE.

Available Tools

146 tools
accountsLinked accountsA
Read-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 accountA
Destructive

Delete a stored token. Prompts. CLI logins untouched.

Inputs: provider (required). Returns: object

accounts_waitWait for linkB
Read-only

Block until the user authorizes (link opened) or timeout. Polls 5s.

Inputs: request_id (required), timeout_seconds. Returns: object

apply_patchApply patchB
Idempotent

Apply a unified diff to a file (patch binary preferred, naive fallback otherwise).

Inputs: path (required), patch (required), dry_run. Returns: object

audit_logAudit logA
Read-only

Return the last N mutating-tool audit records (paths and sizes only, never contents).

Inputs: count. Returns: result

browser_fetchBrowser renderA
Read-only

Render JS page in headless Chrome, return DOM text. Opt-in.

Inputs: url (required), max_chars, timeout_seconds. Returns: object

browser_shotBrowser screenshotA
Destructive

Screenshot page to PNG in writable roots. Opt-in; prompts.

Inputs: url (required), dest (required), width, timeout_seconds. Returns: object

cloudflare_accountCloudflare accountC
Read-only

First account id/name. Needs Account:Read.

Inputs: no named parameters. Returns: object

cloudflare_dnsCloudflare DNSB
Read-only

List DNS records for a zone (name or id).

Inputs: zone (required), name, dtype. Returns: object

cloudflare_dns_createCloudflare DNS createC
Destructive

Create a DNS record. Prompts.

Inputs: name (required), zone (required), dtype (required), content (required), +2 more. Returns: object

cloudflare_dns_deleteCloudflare DNS deleteC
Destructive

Delete a DNS record by id. Prompts.

Inputs: zone (required), record_id (required). Returns: object

cloudflare_purgeCloudflare purgeC
Destructive

Purge a zone cache. Prompts.

Inputs: zone (required). Returns: object

cloudflare_zonesCloudflare zonesA
Read-only

List zones (id, name, status, plan). Needs token.

Inputs: name. Returns: object

connection_listList connectionsB
Read-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 statusB
Read-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 targetA
Read-only

Layered diagnosis: host:port/http(s):// (DNS/TCP/owner/HTTP/resources) or service:NAME.

Inputs: target (required). Returns: object

directory_treeDirectory treeB
Read-only

Render an ASCII tree of a directory (noise dirs hidden).

Inputs: path, depth, max_entries. Returns: result

disk_usageDisk usageA
Read-only

Show filesystem usage (df on Linux/macOS, drive usage on Windows) plus size of one allowed path.

Inputs: path. Returns: result

dns_lookupDNS lookupB
Read-only

Resolve a hostname to addresses.

Inputs: host (required). Returns: object

docker_execDocker execA
Destructive

Run sh -c inside a container. --privileged blocked.

Inputs: command (required), container (required), timeout_seconds. Returns: object

docker_inspectDocker inspectB
Read-only

State, image, ports and mounts of a container.

Inputs: container (required). Returns: object

docker_logsDocker logsB
Read-only

Tail logs of a container.

Inputs: container (required), lines. Returns: result

docker_psDocker containersA
Read-only

List containers (running by default, all=true for all).

Inputs: all. Returns: result

docker_restartDocker restartB
Destructive

Restart a container (10s timeout).

Inputs: container (required). Returns: object

docker_rmDocker removeA
Destructive

Remove a (stopped) container.

Inputs: container (required). Returns: object

docker_startDocker startC
Destructive

Start a container.

Inputs: container (required). Returns: object

docker_stopDocker stopA
Destructive

Stop a container (10s timeout).

Inputs: container (required). Returns: object

download_fileDownload fileB
Idempotent

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 downloadC
Destructive

Copy remote file into writable roots. Prompts.

Inputs: dest (required), remote_path (required), overwrite. Returns: object

drive_listDrive listC
Read-only

List rclone remote path (needs RCLONE_REMOTE).

Inputs: path, max_entries. Returns: result

edit_fileEdit fileC
Idempotent

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 textA
Read-only

Fetch URL, strip boilerplate, return LLM-ready text (<=3 redirects).

Inputs: url (required), max_chars, timeout_seconds. Returns: object

file_copyCopy host fileA
Idempotent

Copy a file or directory. Source must be readable, destination must be writable.

Inputs: dest (required), source (required), overwrite. Returns: object

file_deleteDelete host fileA
DestructiveIdempotent

Delete a file, or a directory when recursive=true. Never deletes a configured root itself.

Inputs: path (required), recursive. Returns: object

file_grepSearch file contentsB
Read-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 fileA
DestructiveIdempotent

Move or rename a file or directory inside writable roots.

Inputs: dest (required), source (required), overwrite. Returns: object

file_restoreRestore file versionB
DestructiveIdempotent

Restore the newest snapshot recorded for this path.

Inputs: path (required). Returns: object

file_statFile statA
Read-only

Return size, modification time and type for a file on the host.

Inputs: path (required). Returns: object

file_versionVersion fileB
Read-only

One-call pre-edit snapshot of a single file.

Inputs: path (required). Returns: object

find_files_toolFind filesB
Read-only

Find files by glob, fd preferred with find/pathlib fallback.

Inputs: root (required), pattern, max_results. Returns: result

fuzzy_find_toolFuzzy find filesA
Read-only

Subsequence filename search ranked by match compactness.

Inputs: root (required), query (required), max_results. Returns: result

git_blameGit blameB
Read-only

Blame line ranges of a tracked file. Read-only.

Inputs: file (required), path (required), count, start. Returns: result

git_branchGit branchesA
Read-only

List local and remote branches for a repository on the host.

Inputs: path (required). Returns: result

git_checkoutGit checkoutB
Destructive

Checkout branch (create with -b). Refuses on dirty tree.

Inputs: path (required), branch (required), create. Returns: object

git_cleanGit clean previewA
Destructive

Preview (dry_run) or execute clean; execution requires confirm=true.

Inputs: path (required), dirs, confirm, dry_run. Returns: object

git_commitGit commitA
Destructive

Stage all changes and commit in a repository inside writable roots. Never pushes.

Inputs: path (required), message (required). Returns: object

git_diffGit diffA
Read-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 repoB
Read-only

Repo metadata (needs GITHUB_TOKEN).

Inputs: full_name (required). Returns: object

git_logGit logC
Read-only

Show recent commits for a repository on the host.

Inputs: path (required), count. Returns: result

git_mergeGit mergeC
Destructive

Merge a branch into the current one.

Inputs: path (required), branch (required), no_ff. Returns: object

git_rebaseGit rebaseC
Destructive

Rebase onto upstream; abort/continue conflicted rebases.

Inputs: path (required), cont, abort, upstream. Returns: object

git_resetGit resetD
Destructive

Reset modes; --hard requires confirm=true.

Inputs: path (required), rev, mode, confirm. Returns: object

git_revertGit revertB
Destructive

Revert a commit by creating an inverse commit.

Inputs: rev (required), path (required), no_commit. Returns: object

git_showGit showC
Read-only

Show a commit with stat (oneline). Read-only.

Inputs: path (required), rev, max_chars. Returns: result

git_stashGit stashB
Destructive

Stash list/push/pop/drop. pop/drop are destructive.

Inputs: path (required), index, action, message. Returns: result

git_statusGit statusA
Read-only

Show git status and current branch for a repository on the host.

Inputs: path (required). Returns: result

git_tagGit tagA
Destructive

List/create/delete tags. list is read-only; create/delete prompt.

Inputs: path (required), name, action, message. Returns: object

git_worktree_createGit worktree createA
Destructive

Create an isolated worktree under .worktrees/ for agent work.

Inputs: path (required), branch (required). Returns: object

git_worktree_listGit worktree listC
Read-only

List worktrees of a repository. Read-only.

Inputs: path (required). Returns: result

git_worktree_removeGit worktree removeC
Destructive

Remove an agent worktree created by git_worktree_create.

Inputs: path (required), branch (required), force. Returns: object

head_fileFile headA
Read-only

Return the first N lines of a file.

Inputs: path (required), lines. Returns: result

host_identityHost identityA
Read-only

Return identity information for the real host running this MCP server.

Inputs: no named parameters. Returns: object

http_fetchFetch URLC
Read-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 interfacesB
Read-only

Network interfaces with state and MAC.

Inputs: no named parameters. Returns: object

job_cancelCancel jobA
DestructiveIdempotent

Terminate a running job (TERM, then KILL after 5s).

Inputs: job_id (required). Returns: object

job_listList jobsB
Read-only

List background jobs, optionally only running ones.

Inputs: running_only. Returns: result

job_outputJob outputA
Read-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 statusA
Read-only

Show state, pid, exit code and buffer sizes for a job.

Inputs: job_id (required). Returns: object

job_waitWait for jobA
Read-only

Block until a job exits or timeout. Prefer over polling job_status.

Inputs: job_id (required), timeout_seconds. Returns: object

journal_queryQuery journalA
Read-only

User journal tail, optional service/priority/since filter.

Inputs: lines, since, service, priority. Returns: result

list_directoryList host directoryB
Read-only

List an allowed directory on the real host.

Inputs: path, max_entries. Returns: result

maps_directionsDirectionsB
Read-only

Directions (google with key, else straight-line km).

Inputs: origin (required), destination (required), mode. Returns: object

maps_geocodeGeocodeA
Read-only

Forward geocode (google with key, else nominatim).

Inputs: query (required). Returns: object

memory_forgetMemory forgetB
Destructive

Delete an observation or whole entity. Prompts.

Inputs: entity (required), observation. Returns: object

memory_recallMemory recallB
Read-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 portB
Read-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 combosC
Read-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 modelsB
Read-only

List routable combos + provider models.

Inputs: no named parameters. Returns: object

nine_providers9router providersB
Read-only

Provider health, no secrets.

Inputs: no named parameters. Returns: object

nine_status9router statusA
Read-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 usageC
Read-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 infoC
Read-only

Show package metadata from native manager.

Inputs: package (required). Returns: result

package_installPackage installA
Destructive

Install a package (apt/dnf/pacman/brew). Developer/full profile only.

Inputs: package (required). Returns: object

package_removePackage removeA
Destructive

Remove a package. Developer/full profile only.

Inputs: package (required). Returns: object

package_updatePackage update indexA
Destructive

Refresh package index (apt-get update / brew update / ...).

Inputs: no named parameters. Returns: object

port_checkCheck portB
Read-only

TCP connect to host:port with latency.

Inputs: port (required), host. Returns: object

port_listList portsA
Read-only

Listening sockets with owner pid/process (/proc on Linux, ss/lsof fallback).

Inputs: no named parameters. Returns: result

port_ownerPort ownerB
Read-only

Which process owns a listening port (pid, comm, cmdline, cwd).

Inputs: port (required). Returns: result

process_killKill processB
DestructiveIdempotent

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 processesA
Read-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 fileC
Read-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 textB
Read-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 statusA
Read-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 channelsA
Read-only

List channels (needs SLACK_BOT_TOKEN).

Inputs: no named parameters. Returns: object

slack_sendSlack sendC
Destructive

Post a message. Prompts.

Inputs: text (required), channel (required). Returns: object

snapshot_createCreate snapshotB
Read-only

Copy a file/dir into a timestamped slot before risky ops.

Inputs: path (required), label. Returns: object

snapshot_listList snapshotsA
Read-only

List snapshot slots with source and creation time.

Inputs: no named parameters. Returns: result

snapshot_restoreRestore snapshotB
DestructiveIdempotent

Copy a slot back. Prompts (destructive); overwrite required on clash.

Inputs: slot (required), dest, overwrite. Returns: object

system_snapshotSystem snapshotA
Read-only

Point-in-time cpu/memory/disk/load/temps/battery/gpu/network/uptime.

Inputs: no named parameters. Returns: object

system_summarySystem summaryA
Read-only

Get a compact summary of the real host: identity, uptime, disk and memory.

Inputs: no named parameters. Returns: result

tail_fileFile tailA
Read-only

Return the last N lines of a file.

Inputs: path (required), lines. Returns: result

terminal_closeClose terminalC
DestructiveIdempotent

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 terminalsA
Read-only

List live terminal sessions with pid, cwd, age and buffer size.

Inputs: no named parameters. Returns: result

terminal_readRead terminal outputA
Read-only

Read new output from a terminal session since cursor. Returns new cursor.

Inputs: session_id (required), limit, cursor. Returns: object

terminal_resizeResize terminalB
Read-only

Store terminal dimensions (metadata; no PTY ioctl yet).

Inputs: session_id (required), cols, rows. Returns: object

terminal_signalSignal terminalB
DestructiveIdempotent

Send INT/TERM/KILL (HUP on Unix) to a terminal session.

Inputs: session_id (required), signal_name. Returns: object

terminal_waitWait on terminalA
Read-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 clearC
Destructive

Clear the thought chain. Prompts.

Inputs: no named parameters. Returns: object

think_listThink chainA
Read-only

Return the current thought chain.

Inputs: no named parameters. Returns: object

time_convertConvert timeB
Read-only

Convert ISO datetime between IANA timezones.

Inputs: to_tz (required), moment (required), from_tz (required). Returns: object

time_nowCurrent timeA
Read-only

Current time in an IANA timezone (default local).

Inputs: timezone. Returns: object

time_zonesList timezonesB
Read-only

List IANA zones, optionally filtered.

Inputs: query, max_results. Returns: object

vercel_deploymentsVercel deploymentsB
Read-only

List deployments, optional project name/id filter.

Inputs: limit, project. Returns: object

vercel_inspectVercel inspectB
Read-only

Deployment detail: aliases, state, regions, creator.

Inputs: deployment (required). Returns: object

vercel_logsVercel logsB
Read-only

Build/runtime event tail for a deployment.

Inputs: deployment (required), limit. Returns: object

vercel_projectsVercel projectsA
Read-only

List Vercel projects. Auto token (env > stored > CLI login).

Inputs: limit. Returns: object

vercel_redeployVercel redeployC
Destructive

Rebuild a deployment. Prompts (creates live deploys).

Inputs: deployment (required), target. Returns: object

write_fileWrite host fileA
Idempotent

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

    C2.6/5.0

    Scored across 146 tools

    Disambiguation2/5

    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.

    Naming Consistency3/5

    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.

    Tool Count1/5

    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.

    Completeness3/5

    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

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Provides 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.
      6
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables 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.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      12
      1
      MIT