wdk-wallet-rln-mcp

wdk-wallet-rln-mcp

Exposes an RGB Lightning Node wallet to AI agents, enabling full wallet control including balances, RGB invoices, Lightning payments, channel management, and atomic swap taker support.

Category
Visit Server

README

wdk-wallet-rln-mcp

MCP server that exposes an RGB Lightning Node (RLN) wallet to AI agents via the Model Context Protocol.

Provides full wallet control: balances, RGB invoices, Lightning payments, channel management, and atomic swap taker support.

Tools

Node & Balances

Tool Description
wdk_get_node_info Node pubkey, channel count, Lightning balance, connected peers
wdk_get_balances BTC on-chain (vanilla + colored UTXOs) and Lightning balance
wdk_get_asset_balance RGB asset balance by asset_id — settled, spendable, off-chain
wdk_list_assets All RGB assets held by the node (NIA, UDA, CFA schemas)
wdk_get_address On-chain BTC deposit address

Invoices & Payments

Tool Description
wdk_create_rgb_invoice Create an RGB invoice to receive an asset off-chain
wdk_create_ln_invoice Create a BOLT11 Lightning invoice to receive BTC
wdk_pay_invoice Pay a BOLT11 Lightning invoice
wdk_send_btc Send BTC on-chain
wdk_send_asset Send an RGB asset on-chain to a recipient ID

Channel Management

Tool Description
wdk_list_channels All channels: capacity, outbound/inbound balance, usability, RGB asset
wdk_open_channel Open a new channel, optionally with RGB asset allocation

Transfers & Payments History

Tool Description
wdk_list_payments Recent Lightning payments (sent and received)
wdk_refresh_transfers Flush pending RGB asset transfers

Atomic Swap Taker

Tool Description
wdk_atomic_taker Step 2 of atomic swap — whitelist HTLC on node before execute
wdk_list_swaps List all atomic swaps on the node
wdk_get_swap Get atomic swap state by payment_hash

Atomic Swap Flow

This server handles step 2 of the 5-step atomic swap flow:

kaleidoswap_atomic_init    → swapstring + payment_hash  (kaleidoswap-mcp)
wdk_atomic_taker           → whitelist HTLC on node     ← this server
wdk_get_node_info          → taker_pubkey               ← this server
kaleidoswap_atomic_execute → HTLC settlement            (kaleidoswap-mcp)

Installation

npm install
npm run build

Usage

# Stdio transport (use with any MCP host)
RLN_NODE_URL=http://localhost:3001 node dist/index.js

Claude Desktop

{
  "mcpServers": {
    "wdk_wallet": {
      "command": "node",
      "args": ["/path/to/wdk-wallet-rln-mcp/dist/index.js"],
      "env": {
        "RLN_NODE_URL": "http://localhost:3001"
      }
    }
  }
}

Configuration

Env var Default Description
RLN_NODE_URL http://localhost:3001 RLN daemon HTTP API URL

Requirements

A running RGB Lightning Node daemon accessible at RLN_NODE_URL.

License

Apache-2.0

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured