# universal-host-manager-mcp [Health: Active]

**Category:** 🖥️ Command Line  
**Repository:** https://github.com/Abktya/universal-host-manager-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/universal-host-manager-mcp

## Description
Cross-platform FastMCP server for authenticated remote Linux/macOS host administration

## Tools
Capabilities this server exposes over MCP:

- **run_command** — Runs an arbitrary shell command with the workspace as its working directory
- **read_file** — Reads a text file inside the workspace
- **write_file** — Writes UTF-8 text inside the workspace
- **list_dir** — Lists a directory inside the workspace
- **system_metrics** — Reports disk, memory and top-process information

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "universal-host-manager-mcp": {
    "command": "uvx",
    "args": ["--from","universal-host-manager-mcp","uhm-setup"],
    "env": {
      "HOST": "",
      "PORT": "",
      "MCP_BASE_URL": "",
      "MCP_WORKSPACE_DIR": "",
      "AUTH0_DOMAIN": "",
      "AUTH0_CLIENT_ID": "",
      "AUTH0_CLIENT_SECRET": "",
      "AUTH0_AUDIENCE": ""
    }
  }
}
```

**Requires environment variables:** `HOST`, `PORT`, `MCP_BASE_URL`, `MCP_WORKSPACE_DIR`, `AUTH0_DOMAIN`, `AUTH0_CLIENT_ID`, `AUTH0_CLIENT_SECRET`, `AUTH0_AUDIENCE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What universal-host-manager-mcp MCP server does

The universal-host-manager-mcp MCP server exposes host-administration operations to MCP clients for Linux and macOS systems. Its tools can execute shell commands, read and write text files, list workspace directories, and report disk, memory, and top-process information.

File operations are restricted to the directory configured by `MCP_WORKSPACE_DIR`. Shell execution is different: `run_command` uses that directory as its working directory but is not sandboxed to it. Commands retain the permissions of the operating-system account running the service.

## How it works

The server runs with FastMCP over Streamable HTTP. A local test can listen on `127.0.0.1`, while remote use requires a publicly reachable HTTPS endpoint and Auth0 OAuth configuration. Authentication is intended to control who can invoke the tools; it does not reduce the privileges of commands after authentication succeeds.

The default MCP endpoint uses `/mcp`, with port `8765` in the documented examples. Command execution accepts a timeout, and command output can be truncated. File reads have size limits and decoding fallback behavior. Startup fails closed when authentication is expected but has not been configured, except when the explicit local insecure-test setting is enabled.

## Setup and configuration

Install with Python 3.10 or newer using PyPI, `uvx`, or an editable source checkout. The `uhm-setup` wizard creates a `.env` file, can configure a local-only test or remote deployment, and backs up an existing configuration before replacing it. The server must be started from the directory containing that file.

Remote deployments require an Auth0 account, an HTTPS URL, and an Auth0 API and application configured for the server’s public origin. The documented setup uses FastMCP’s fixed-client `Auth0Provider` flow. Keep the generated `.env` file private; the configuration contains the Auth0 client secret.

For a local test, the wizard creates a separate workspace and binds only to localhost. Unauthenticated mode is enabled with `ALLOW_INSECURE_NO_AUTH=true` and should not be used on a publicly reachable endpoint.

## Tools and capabilities

- `run_command`: runs a shell command with a supplied timeout.
- `read_file`: reads a text file within the configured workspace.
- `write_file`: writes UTF-8 text within the configured workspace.
- `list_dir`: lists a workspace directory, defaulting to `.`.
- `system_metrics`: reports disk, memory, and top-process information.

Example systemd and launchd service configurations are included for deployment.

## Limitations and notes

The universal-host-manager-mcp MCP server does not make shell commands safe merely by requiring OAuth. A compromised account or overly privileged service user could affect the host beyond the workspace boundary. Review the project’s security guidance before exposing the endpoint remotely.

The server targets Linux and macOS, not Windows according to the stated requirements. Remote operation depends on a valid HTTPS endpoint and correctly configured Auth0 settings.

_Full upstream README: https://allmcps.com/mcp/universal-host-manager-mcp/readme_

