360 Secure SkillHub
360 安全技能中心

YunoHost MCP

通过本地签名桥接工具为 OpenClaw 设置 YunoHost MCP 连接:收集服务地址、运行安装命令、生成每个客户端专属的 Nostr 身份并写入 OpenClaw 配置,并提供连接失败时的排查步骤,过程中不读取私钥内容。

分类:开发
imattau
imattau
热度 10.63
最近更新 2026-09-05 10:59:38

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add imattau/yunohost-mcp
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
yunohost-mcp
description
Set up and diagnose a secure, Nostr-authenticated YunoHost MCP connection in OpenClaw.
metadata
{"openclaw":{"requires":{"bins":["uvx"]},"emoji":"🛡️","homepage":"https://github.com/imattau/yunohost-mcp"}}

YunoHost MCP setup

Use the local signed bridge so OpenClaw can connect to a YunoHost MCP endpoint.

Setup

  1. Ask the user for the YunoHost MCP URL, for example https://host.example/mcp.

  2. Run:

    uvx --from yunohost-mcp-connect yunohost-mcp-connect setup \
      --server https://your-yunohost-domain/mcp \
      --client openclaw
    
  3. Explain that setup creates a per-client Nostr identity and writes ~/.openclaw/openclaw.json (or the path in OPENCLAW_CONFIG_PATH). Preserve unrelated settings.

  4. Never print or request the private key contents.

  5. Tell the user to enrol the displayed npub with the appropriate YunoHost role, restart OpenClaw, and run the doctor command printed by setup.

Diagnosis

If the connection fails, verify the remote URL, confirm the npub has the required YunoHost role, check that the key file is readable only by the user, and rerun the printed doctor command.