Lightning MCP Server

ReviewAudited by ClawScan on May 10, 2026.

Overview

The skill’s purpose is clear, but it registers an unpinned external MCP package that would handle Lightning node pairing credentials and financial data.

Review carefully before installing. If you proceed, use a verified and pinned build of the MCP server, prefer project-level MCP configuration, keep production TLS verification enabled, and only provide a least-privileged Lightning pairing phrase when you intend the assistant to query your node.

Findings (5)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A changed or compromised external package could run code in the MCP server position and see the Lightning node pairing phrase and returned financial data.

Why it was flagged

The recommended MCP registration runs an unpinned npm package/pre-built binary outside the reviewed artifacts. Because this server would handle Lightning pairing credentials and node data, the lack of pinning, checksum, or included server source is a material provenance concern.

Skill content
Zero-install via npx (downloads pre-built binary)
claude mcp add --transport stdio lnc -- npx -y @lightninglabs/lightning-mcp-server
Recommendation

Prefer a reviewed local build from a verified source, pin the package version, and verify checksums or signatures before registering it with Claude Code.

What this means

Installing and using the skill means the MCP server and agent workflow can access sensitive Lightning node account context, even if the documented tools are read-only.

Why it was flagged

The pairing phrase/password is a sensitive delegated credential for connecting to an lnd node. This is expected for the skill’s purpose, but registry metadata declares no primary credential.

Skill content
Agent calls `lnc_connect` with a pairing phrase and password
Recommendation

Use a least-privileged/read-only LNC pairing where possible, provide the pairing phrase only when needed, and revoke or rotate the pairing if you no longer trust the installed server.

What this means

Your Lightning node metadata and query timing may depend on the configured mailbox relay, even though the LNC tunnel is described as encrypted.

Why it was flagged

The skill routes the MCP server’s connection through an external LNC mailbox relay. The documentation says the tunnel is encrypted, and this is central to the purpose, but it is still an external communication path for node queries.

Skill content
lightning-mcp-server  <--LNC WebSocket-->  Mailbox  <-->  lnd
Recommendation

Use the official production mailbox or a trusted relay, and avoid custom mailbox servers unless you control or trust them.

NoteHigh Confidence
ASI10: Rogue Agents
What this means

If installed globally, the Lightning MCP server may be available to Claude Code in projects where you did not intend to use Lightning node access.

Why it was flagged

The setup script can persistently add the MCP server to global Claude Code configuration, making it available across projects after restart. This is disclosed and user-directed, but it persists beyond a single task.

Skill content
CONFIG_FILE="$HOME/.claude.json"
...
UPDATED=$(echo "$CONFIG" | jq --argjson entry "$MCP_ENTRY" '.mcpServers.lnc = $entry')
Recommendation

Use project scope unless you need global access, and remove the `lnc` MCP entry from `.mcp.json` or `~/.claude.json` when no longer needed.

What this means

Using insecure mode with a real Lightning node could weaken connection security.

Why it was flagged

Development mode defaults to disabling TLS verification. The artifacts label this as development-only, so it is purpose-aligned, but unsafe if accidentally used for production.

Skill content
dev)
        MAILBOX="${MAILBOX:-mailbox.terminal.lightning.today:443}"
        DEV_MODE="${DEV_MODE:-true}"
        INSECURE="${INSECURE:-true}"
Recommendation

Keep `LNC_INSECURE=false` for production and only use insecure mode with local/regtest environments.