About Lnlink MCP Server
Lnlink MCP Server is an MCP server published by lnfi-network in the Developer Tools category: mCP server: Lnlink MCP Server.
The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/lnfi-network/lnlink-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Lnlink MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
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
npxas a command-line tool.
Installation
- Node.js Requirement: Ensure you have Node.js installed (version 16 or higher recommended).
- Clone Repository:
git clone https://github.com/lnfi-network/lnlink-mcp-server.git cd lnlink-mcp-server - Install Dependencies:
npm install
Building the Project
To compile TypeScript files to JavaScript, use the following command:
npm run build
This command will:
- Compile TypeScript files using Vite.
- 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.
README fetched from the repository 8 days ago. The original is authoritative.