原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Universal Host Manager MCP

作者:Abktya版本 0.1.15i★ –i在你的电脑上运行
注册名称io.github.Abktya/universal-host-manager-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: Streamable HTTP
  • 分类: 开发者工具
  • 你需要填写:MCP_WORKSPACE_DIR, AUTH0_DOMAIN, AUTH0_CLIENT_ID, AUTH0_CLIENT_SECRET, AUTH0_AUDIENCE

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: HOST, PORT, MCP_WORKSPACE_DIR, AUTH0_DOMAIN, AUTH0_CLIENT_ID, AUTH0_CLIENT_SECRET, AUTH0_AUDIENCE, ALLOW_INSECURE_NO_AUTH

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "universal-host-manager": {
      "command": "uvx",
      "args": [
        "universal-host-manager-mcp"
      ],
      "env": {
        "HOST": "your-value",
        "PORT": "your-value",
        "MCP_WORKSPACE_DIR": "your-value",
        "AUTH0_DOMAIN": "your-value",
        "AUTH0_CLIENT_ID": "your-value",
        "AUTH0_CLIENT_SECRET": "your-value",
        "AUTH0_AUDIENCE": "your-value",
        "ALLOW_INSECURE_NO_AUTH": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add universal-host-manager --env HOST=your-value --env PORT=your-value --env MCP_WORKSPACE_DIR=your-value --env AUTH0_DOMAIN=your-value --env AUTH0_CLIENT_ID=your-value --env AUTH0_CLIENT_SECRET=your-value --env AUTH0_AUDIENCE=your-value --env ALLOW_INSECURE_NO_AUTH=your-value -- uvx universal-host-manager-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "universal-host-manager": {
      "command": "uvx",
      "args": [
        "universal-host-manager-mcp"
      ],
      "env": {
        "HOST": "your-value",
        "PORT": "your-value",
        "MCP_WORKSPACE_DIR": "your-value",
        "AUTH0_DOMAIN": "your-value",
        "AUTH0_CLIENT_ID": "your-value",
        "AUTH0_CLIENT_SECRET": "your-value",
        "AUTH0_AUDIENCE": "your-value",
        "ALLOW_INSECURE_NO_AUTH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "universal-host-manager": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "universal-host-manager-mcp"
      ],
      "env": {
        "HOST": "your-value",
        "PORT": "your-value",
        "MCP_WORKSPACE_DIR": "your-value",
        "AUTH0_DOMAIN": "your-value",
        "AUTH0_CLIENT_ID": "your-value",
        "AUTH0_CLIENT_SECRET": "your-value",
        "AUTH0_AUDIENCE": "your-value",
        "ALLOW_INSECURE_NO_AUTH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • HOST env
    Interface to bind to
  • PORT env
    Port to listen on
  • MCP_WORKSPACE_DIR 必填 env
    Directory that read_file/write_file/list_dir are restricted to
  • AUTH0_DOMAIN 必填 env
    Auth0 tenant domain, e.g. your-tenant.eu.auth0.com
  • AUTH0_CLIENT_ID 必填 env
    Auth0 application client ID
  • AUTH0_CLIENT_SECRET 机密 必填 env
    Auth0 application client secret
  • AUTH0_AUDIENCE 必填 env
    Auth0 API audience/identifier
  • ALLOW_INSECURE_NO_AUTH env
    Set to true only for local-only testing without Auth0

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Abktya 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4906 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4906 个服务器的 53% 更新
  • 基础检查结果等于或优于此分类中其他 4906 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Universal Host Manager MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:MCP_WORKSPACE_DIR, AUTH0_DOMAIN, AUTH0_CLIENT_ID, AUTH0_CLIENT_SECRET, AUTH0_AUDIENCE

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.15)于39天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Universal Host Manager MCP

A cross-platform Model Context Protocol server for administering a Linux or macOS host through MCP clients such as ChatGPT and Claude.

It uses FastMCP Streamable HTTP transport, Auth0 OAuth, bounded file tools, output limits and command timeouts.

[!CAUTION]

This project exposes arbitrary shell execution. Authentication decides who may use it; it does not make commands harmless. Read SECURITY.md before deploying it.

Features

  • Linux and macOS support
  • Streamable HTTP endpoint
  • Auth0 OAuth integration
  • File reads, writes and directory listings constrained to MCP_WORKSPACE_DIR
  • Configurable command timeouts and output truncation
  • File-size limits and decoding fallback
  • Fail-closed startup when authentication is not configured
  • Example systemd and launchd services

Tools

ToolParametersPurpose
run_commandcommand: str, timeout: intRuns an arbitrary shell command with the workspace as its working directory
read_filepath: strReads a text file inside the workspace
write_filepath: str, content: strWrites UTF-8 text inside the workspace
list_dirpath: str = "."Lists a directory inside the workspace
system_metricsnoneReports disk, memory and top-process information

The workspace boundary applies to the file tools. It does not sandbox run_command; commands retain all permissions of the service's OS user.

Requirements

  • Python 3.10+
  • Linux or macOS
  • Auth0 account for remote use
  • HTTPS endpoint for remote MCP clients

Install

PyPI (recommended)
pip install universal-host-manager-mcp

Next: run uhm-setup to generate your .env — see Configure below.

uv / pipx

Without polluting a project environment:

uvx --from universal-host-manager-mcp uhm-setup

This installs into a throwaway environment, runs the setup wizard, and writes .env in the current directory. From then on, run the server itself the same way: uvx universal-host-manager-mcp.

From source (for development)
git clone https://github.com/Abktya/universal-host-manager-mcp.git

cd universal-host-manager-mcp python3 -m venv .venv source .venv/bin/activate pip install -e .

Next: run uhm-setup to generate your .env — see Configure below.

Configure

The easiest way is the interactive setup wizard, installed alongside the server:

uhm-setup

Run it from the directory where you want to keep the configuration. The server must later be started from that same directory so it can find .env.

For a first test, choose 1 — Local-only test. Press Enter to accept the port 8765; the port prompt expects a number, not y or n. This mode:

  • creates a separate workspace directory by default;
  • listens only on 127.0.0.1, so other computers cannot connect;
  • requires no domain, tunnel, or Auth0 account;
  • enables unauthenticated access only for that local test.

The wizard also offers Cloudflare Tunnel, an ngrok static domain, and an existing HTTPS URL for remote use. Remote modes require Auth0 and will not write a misleading, unusable configuration if Auth0 is skipped. It validates domains and URLs, then writes .env with 600 permissions—backing up an existing file to .env.bak first.

If a virtual environment is active, install and run both commands through that environment:

python -m pip install universal-host-manager-mcp

uhm-setup universal-host-manager-mcp

To verify that the command belongs to the active environment on macOS/Linux:

command -v uhm-setup

command -v universal-host-manager-mcp python -m pip show universal-host-manager-mcp

The first two paths should normally point inside .venv/bin. If they point to /opt/homebrew/bin while a virtual environment is active, reinstall with python -m pip install universal-host-manager-mcp.

Prefer to do it by hand? Create a .env file (copy .env.example if you installed from source) with an explicitly restricted workspace:

HOST=127.0.0.1

PORT=8765 MCP_BASE_URL=https://mcp.example.com MCP_WORKSPACE_DIR=/home/youruser/workspace

AUTH0_DOMAIN=your-tenant.eu.auth0.com AUTH0_CLIENT_ID=replace_me AUTH0_CLIENT_SECRET=replace_me AUTH0_AUDIENCE=https://mcp.example.com/

Never commit .env.

Auth0 setup

This project uses FastMCP's Auth0Provider fixed-client OAuth integration.

  1. Open auth0.com, create an account, and open the Auth0 Dashboard.
  2. Go to Applications → APIs → Create API.
  3. Use your public MCP URL as its Identifier (audience), for example https://mcp.example.com/. Keep RS256 as the signing algorithm.
  4. Go to Applications → Applications → Create Application, enter a name, select Regular Web Application, and create it.
  5. Set Application Ownership to First-party. Open Application > API Access, select the API you created, and enable User-delegated Access.
  6. On Auth0's Integrate into your application page, click Copy above the .env block. The wizard can import AUTH0_DOMAIN, AUTH0_CLIENT_ID, and AUTH0_CLIENT_SECRET from your clipboard or from a pasted block. If Auth0 displays MASKED, reveal and copy the real Client Secret from the application's Settings tab; masked secrets are rejected.
  7. Copy the API's Identifier into AUTH0_AUDIENCE when the wizard asks for it. It is intentionally separate because Auth0's application .env block does not contain the API audience.
  8. In the Auth0 application's Settings, use the MCP server's public origin (without /mcp) as follows:
Auth0 fieldValue
Application OwnershipFirst-party
Application TypeRegular Web Application
Application Login URILeave blank
Allowed Callback URLshttps://mcp.example.com/auth/callback
Allowed Logout URLshttps://mcp.example.com
Allowed Web Originshttps://mcp.example.com
Allowed Origins (CORS)https://mcp.example.com
Allow Cross-Origin AuthenticationOff / disabled
Cross-Origin Verification Fallback URLLeave blank
API Identifier / Audiencehttps://mcp.example.com/
Signing AlgorithmRS256
Application > API AccessUser-delegated Access enabled for the created API
MCP endpoint (entered in the AI client, not Auth0)https://mcp.example.com/mcp
  1. Save the Auth0 application settings, then run the wizard. Never share the Client Secret or commit .env to Git.

The callback above is FastMCP's fixed upstream callback. Do not put Claude, ChatGPT, or Grok callback URLs into Auth0: those products are downstream MCP clients and FastMCP validates their redirect URIs separately during MCP client registration. Connect each product to https://mcp.example.com/mcp.

Auth0's Python quickstart also shows AUTH0_SECRET, APP_BASE_URL, PORT, and sample Flask code. They belong to Auth0's standalone sample web application and are not used by this MCP server; the wizard safely ignores them when importing the copied block.

Client notes:

  • ChatGPT supports MCP OAuth client registration with CIMD and DCR. The server allows https://chatgpt.com/connector_platform_oauth_redirect; add the public /mcp endpoint in ChatGPT developer mode.
  • Claude custom connectors accept the public /mcp endpoint and start OAuth when you connect.
  • Grok custom connectors accept a publicly reachable MCP server URL and complete any required authentication. Grok availability may depend on the current Grok plan and workspace controls.

FastMCP also supports an Auth0 MCP-native/DCR path through Auth0MCPProvider. This repository currently uses the manually managed, fixed-client Auth0Provider path.

Run

universal-host-manager-mcp

(Running from a source checkout with the .venv activated works the same way — the console script is installed by pip install -e ..)

With the default port, the Streamable HTTP endpoint is:

http://127.0.0.1:8765/mcp

For an intentional local-only test without Auth0:

ALLOW_INSECURE_NO_AUTH=true universal-host-manager-mcp

Do not use insecure mode on a publicly reachable endpoint.

After starting the server (and the tunnel for remote mode), verify it:

curl -i https://mcp.example.com/mcp

Expected without a token: HTTP 401

curl -i https://mcp.example.com/.well-known/oauth-authorization-server

Expected: HTTP 200

The server and tunnel must remain running; closing either makes a tunneled endpoint unavailable.

Cloudflare Tunnel

Install cloudflared, authenticate it and create a named tunnel:

cloudflared tunnel login

cloudflared tunnel create universal-host-manager-mcp cloudflared tunnel route dns universal-host-manager-mcp mcp.example.com

Create ~/.cloudflared/config.yml:

tunnel: YOUR_TUNNEL_ID

credentials-file: /home/youruser/.cloudflared/YOUR_TUNNEL_ID.json

ingress:

  • hostname: mcp.example.com service: http://127.0.0.1:8765
  • service: http_status:404

Validate and run it:

cloudflared tunnel ingress validate

cloudflared tunnel run universal-host-manager-mcp

Keep both universal-host-manager-mcp and cloudflared running. Closing either process takes the public endpoint offline. The setup wizard can create an executable uhm-enable-autostart.sh installer. It writes Linux systemd-user services or macOS LaunchAgents for both processes and shows one command to run.

Your remote MCP URL will be:

https://mcp.example.com/mcp

Set MCP_BASE_URL=https://mcp.example.com; do not include /mcp in MCP_BASE_URL.

No domain? Use ngrok's free static domain

Auth0 OAuth needs a stable HTTPS URL, but you don't need to own a domain to get one. Unlike ngrok's old random URLs (which changed every restart) or Cloudflare's login-free quick tunnels (same problem), ngrok's free tier includes one static subdomain per account that never changes, at no cost.

  1. Create a free account at ngrok.com. On macOS install it with brew install ngrok/ngrok/ngrok; on Ubuntu use sudo snap install ngrok. Other Linux distributions can use ngrok's official download instructions.
  2. Open the ngrok authtoken page, copy your token, and run:
   ngrok config add-authtoken YOUR_NGROK_TOKEN

Use the authtoken, not the domain ID. Never share it; reset it in the dashboard if it is exposed.

  1. Claim your free static domain from the ngrok dashboard (Domains → New Domain). You'll get something like your-name.ngrok-free.dev.
  2. Start universal-host-manager-mcp from the directory containing .env.
  3. In a second terminal, start the tunnel:
   ngrok http --url=your-name.ngrok-free.dev 8765

Both processes must remain running. Closing either one takes the public endpoint offline. The wizard can create uhm-enable-autostart.sh, which installs Linux systemd-user services or macOS LaunchAgents for both processes.

  1. Set MCP_BASE_URL=https://your-name.ngrok-free.dev in .env (keep HOST=127.0.0.1; ngrok forwards to the local port while the server listen

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx