albyhub-admin-mcp
v0.1.2Admin an Alby Hub Lightning node from an agent: info, balances, channels; safety-gated writes.
Values you need
| Variable | What it is | |
|---|---|---|
ALBYHUB_URL | required | Base URL of the Alby Hub instance |
ALBYHUB_TOKEN | required secret | Alby Hub API bearer token |
ALBYHUB_READ_ONLY | optional | 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.2Add 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
- Ask the user for: ALBYHUB_URL, ALBYHUB_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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.
- 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