RGB Lightning Node

RGB Lightning Node

lnfi-network

Connects to RGB Lightning Node APIs to manage Bitcoin Layer 2 assets, Lightning Network operations, and on-chain transactions. Enables AI assistants to interact with RGB assets and perform Bitcoin-related operations.

Integrates with RGB Lightning Node APIs to provide Bitcoin Layer 2 asset management, Lightning Network operations, on-chain transactions, and asset swaps with comprehensive error handling and authentication.

1241 views2Local (stdio)

What it does

  • Check node status and network information
  • List RGB assets and check balances
  • Send RGB assets between wallets
  • Create and pay Lightning Network invoices
  • Generate Bitcoin addresses and send transactions
  • Manage asset swaps and trading operations

Best for

Bitcoin developers building Layer 2 applicationsLightning Network node operatorsRGB asset traders and portfolio managersBitcoin wallet integration projects
Comprehensive RGB asset managementLightning Network channel operationsOptional API key authentication

About RGB Lightning Node

RGB Lightning Node is a community-built MCP server published by lnfi-network that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with RGB Lightning Node for Bitcoin Layer 2 asset management, Lightning, on-chain transactions, swaps, and sec It is categorized under finance.

How to install

You can install RGB Lightning Node in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

RGB Lightning Node is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

RGB API MCP Server

A Model Context Protocol (MCP) server that provides integration with RGB Lightning Node APIs. This server enables AI assistants to interact with RGB assets, Lightning Network operations, and Bitcoin on-chain transactions.

Features

  • Node Operations: Check node status, get network information
  • RGB Asset Management: List assets, check balances, send RGB assets
  • Lightning Network: Create/pay invoices, manage channels
  • On-chain Transactions: Generate addresses, send Bitcoin, list transactions
  • Swap Operations: List and manage asset swaps

Quick Start

npx

You can use this server directly with MCP clients like Cursor, Claude Desktop, Trae, or Cherry Studio by running

Note: Please replace with your RGB api key: xxxxxxxxxxxxxxxxxxxx Or /path/rgbapi.key

MCP Client Configuration

Add this configuration to your MCP client (e.g., Claude Desktop config):

{
    "mcpServers": {
        "rgb-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "rgb-mcp-server"
            ],
            "env": {
                "RGB_API_BASE_URL": "http://localhost:3000",
                "RGB_API_KEY": "xxxxxxxxxxxxxxxxxxxx" //Optional: RGB api key Or /path/rgbapi.key
            }
        }
    }
}

Development

For developers who want to contribute or use this project:

Installation

  1. Make sure you have Node.js installed (version 16 or higher recommended)
  2. Install dependencies:
npm install rgb-mcp-server

Programmatic Usage

After installing the package, you can use it programmatically in your Node.js application:

import { getRGBMcpServer } from "rgb-mcp-server";

// Initialize the RGB MCP server
const rgbMcpServer = await getRGBMcpServer({
    baseUrl: process.env.RGB_API_BASE_URL || 'http://localhost:3000',  // RGB API server URL
    apiKey: process.env.RGB_API_KEY,                                   // Optional: API key for authentication
    timeout: 30000                                                     // Optional: request timeout in ms
});

// Access available tools
const rgbTools = rgbMcpServer._registeredTools;
console.log('Available RGB tools:', Object.keys(rgbTools));

Available Tools

The server provides the following MCP tools:

  1. rgb_get_node_info - Get RGB node information
  2. rgb_get_node_status - Get node status and uptime
  3. rgb_list_assets - List all RGB assets
  4. rgb_get_asset_balance - Get balance for a specific asset
  5. rgb_send_asset - Send RGB assets
  6. rgb_generate_address - Generate new on-chain address
  7. rgb_list_transactions - List on-chain transactions
  8. rgb_send_bitcoin - Send Bitcoin to an address
  9. rgb_create_lightning_invoice - Create Lightning invoice
  10. rgb_pay_lightning_invoice - Pay Lightning invoice
  11. rgb_list_lightning_channels - List Lightning channels
  12. rgb_list_swaps - List available swaps
  13. rgb_create_swap - Create a new asset swap

License

MIT

Alternatives

Related Skills

Browse all skills
actual-budget

Query and manage personal finances via the official Actual Budget Node.js API. Use for budget queries, transaction imports/exports, account management, categorization, rules, schedules, and bank sync with self-hosted Actual Budget instances.

0
lightning

Send and receive Bitcoin Lightning payments using LNI (Lightning Node Interface). Supports LND, CLN, Phoenixd, NWC, and custodial services (Strike, Blink, Speed).

0
senior-architect

Comprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin, Flutter, Postgres, GraphQL, Go, Python. Includes architecture diagram generation, system design patterns, tech stack decision frameworks, and dependency analysis. Use when designing system architecture, making technical decisions, creating architecture diagrams, evaluating trade-offs, or defining integration patterns.

234
mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

103
finance-skills

Production-ready financial analyst skill with ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction. 4 Python tools (all stdlib-only). Works with Claude Code, Codex CLI, and OpenClaw.

55
senior-fullstack

Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects, analyzing code quality, implementing design patterns, or setting up development workflows.

33