albyhub-admin-mcp

v0.1.2
io.github.llmops-pro/albyhub-admin-mcp Checked 2 days ago Published 5 months ago

Admin an Alby Hub Lightning node from an agent: info, balances, channels; safety-gated writes.

Values you need

VariableWhat it is
ALBYHUB_URLrequired Base URL of the Alby Hub instance
ALBYHUB_TOKENrequired secret Alby Hub API bearer token
ALBYHUB_READ_ONLYoptional Set true to block all write operations (recommended for first-time setup)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add albyhub-admin-mcp -e 'ALBYHUB_TOKEN=<ALBYHUB_TOKEN>' -e 'ALBYHUB_URL=<ALBYHUB_URL>' -- npx -y albyhub-admin-mcp@0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "albyhub-admin-mcp": {
      "args": [
        "-y",
        "albyhub-admin-mcp@0.1.2"
      ],
      "command": "npx",
      "env": {
        "ALBYHUB_TOKEN": "<ALBYHUB_TOKEN>",
        "ALBYHUB_URL": "<ALBYHUB_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "albyhub-admin-mcp": {
      "args": [
        "-y",
        "albyhub-admin-mcp@0.1.2"
      ],
      "command": "npx",
      "env": {
        "ALBYHUB_TOKEN": "<ALBYHUB_TOKEN>",
        "ALBYHUB_URL": "<ALBYHUB_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ALBYHUB_TOKEN",
      "id": "albyhub-token",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ALBYHUB_URL",
      "id": "albyhub-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "albyhub-admin-mcp": {
      "args": [
        "-y",
        "albyhub-admin-mcp@0.1.2"
      ],
      "command": "npx",
      "env": {
        "ALBYHUB_TOKEN": "${input:albyhub-token}",
        "ALBYHUB_URL": "${input:albyhub-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.albyhub-admin-mcp]
command = "npx"
args = ["-y", "albyhub-admin-mcp@0.1.2"]
env = { "ALBYHUB_TOKEN" = "<ALBYHUB_TOKEN>", "ALBYHUB_URL" = "<ALBYHUB_URL>" }

For AI agents

  1. Ask the user for: ALBYHUB_URL, ALBYHUB_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: albyhub_proxy_request, albyhub_confirm_request, albyhub_get_node_info, albyhub_get_balances, albyhub_list_apps, albyhub_list_channels.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json