npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

lnlink-mcp-service

v1.0.7

Published

This is a **Model Context Protocol (MCP) Node Service** designed to facilitate interaction with **LnLink nodes**, which are built upon the **Nostr protocol**. It provides a robust interface for managing and interacting with both **Lightning Network (LND/L

Readme

LnLink MCP Node Service

This is a Model Context Protocol (MCP) Node Service designed to facilitate interaction with LnLink nodes, which are built upon the Nostr protocol. It provides a robust interface for managing and interacting with both Lightning Network (LND/LITD) and RGB Protocol functionalities.

Features

  • Nostr-based Interaction: Seamlessly connects and interacts with LnLink nodes leveraging the Nostr protocol.
  • Comprehensive Lightning Network Management: Provides tools for LND/LITD operations, including:
    • Node status and information queries
    • Wallet management (initialization, unlocking, balance checks, address generation)
    • Peer and channel management (listing peers, opening/closing channels, connecting to peers)
    • Invoice creation and payment
  • RGB Protocol Integration: Supports RGB Protocol functionalities for colored assets, including:
    • Service status and information queries
    • Wallet management (initialization, unlocking, balance checks, address generation)
    • UTXO management
    • Peer and channel management
    • Invoice creation and payment for RGB assets
  • Command-Line Interface (CLI) Ready: Designed to be easily executed via npx as a command-line tool.

Installation

  1. Node.js Requirement: Ensure you have Node.js installed (version 16 or higher recommended).
  2. Clone Repository:
    git clone https://github.com/lnfi-network/lnlink-mcp-server.git
    cd lnlink-mcp-server
  3. Install Dependencies:
    npm install

Building the Project

To compile TypeScript files to JavaScript, use the following command:

npm run build

This command will:

  1. Compile TypeScript files using Vite.
  2. Make the built JavaScript files (located in the dist/ directory) executable.

Usage

After building the project, you can start the service:

npm start

Running with npx

This service is designed to be run as an npx command. You will need to provide your Nostr private key and a sendTo public key as arguments.

Example mcpServers configuration for your client (replace placeholders with your actual keys):

{
  "mcpServers": {
    "lnlink": {
      "command": "npx",
      "args": [
        "@lnfi-network/lnlink-mcp-service@latest",
        "YOUR_NOSTR_PRIVATE_KEY_HERE",
        "YOUR_NOSTR_PUBLIC_KEY_TO_SEND_TO_HERE"
      ]
    }
  }
}

Note: For local development and testing, after running npm run build in this project, you can use yarn link (in this project's root) and then yarn link @lnfi-network/lnlink-mcp-service (in your client project's root) to use your local development version directly via npx.

Dependencies

  • @modelcontextprotocol/sdk: Core SDK for Model Context Protocol interactions.
  • @lnfi-network/lnlink-js-sdk: JavaScript SDK for interacting with LnLink nodes.
  • zod: TypeScript-first schema validation library.
  • vite: Next generation frontend tooling, used for building this service.