Core Lightning MCP Server

by adi2011

Not rated
GitHub

About

A Rust-based gRPC server that provides a standardized MCP interface for Core Lightning nodes.

Details

Author
adi2011
Categories
Developer Tools, Other

Setup

Install Core Lightning MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/adi2011/CLN-MCP

Follow the installation instructions in the repository README, then restart your MCP client.

A Rust-based gRPC server that provides a standardized interface to Core Lightning nodes. This server implements the MCP (Model Context Protocol) specification to enable control of the Core Lightning node using LLM.
- Download the appropriate binary for your platform from thelatest release
- Extract the archive:

# For Linux/macOS tar -xzf cln-mcp-<platform>.tar.gz # For Windows # Use your preferred zip extractor

- Rust 1.80 or higher
- Protocol Buffers Compiler (protoc)
- Core Lightning (with gRPC enabled)
- MCP clients (
Claude,Goose, etc.)

sudo apt-get update sudo apt-get install -y protobuf-compiler
protoc --version # Should show version 3.0.0 or higher
git clone https://github.com/adi2011/cln-mcp.git cd cln-mcp

The server can be configured using command-line arguments:

cln-mcp [OPTIONS] Options: --certs-dir <path> Path to certificates directory --node-address <url> Node address (default: https://localhost:9736) --help Shows help message

Add the--grpc-port(default: 9736) option while running CLN, and it'll automatically generate the appropriate mTLS certificates.

Copy the following PEM files from the Lightning directory to a separate directory:

- ca.pem: CA certificate
- client.pem: Client certificate
- client-key.pem: Client private key

- InstallClaude
- Go to settings -> Developer
- Edit Config

{ "mcpServers" : { "cln-mcp" : { "command": "Path/to/cln-mcp" (ex: "/Users/MyPC/cln-mcp/target/release/cln-mcp" or the executable unzipped from the release), "args": [ "--certs-dir", "Path/to/certificates" (ex: "/Users/MyPC/cln-mcp/certs") ] } } }

[ ] Enable it to derive parameters for the RPC calls
[ ] Choose the most appropriate and useful RPCs for maximum utility
[ ] Extend support for LND
[ ] Host multiple servers to make it more efficient

This is a work in progress. We welcome code reviews, pull requests, and issues based on your usage.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Read/write to over 2k blockchains, enabling data querying, contract analysis/deployment, and transaction execution, powered by Thirdweb.

Server-side EVM wallet for Ai agents. Send transactions, manage tokens, and interact with smart contracts across multiple chains.

An MCP server providing onchain tools for AI applications to interact with the Base Network and Coinbase API.

A server for blockchain interactions, offering Ethereum vanity address generation, 4byte lookup, ABI encoding, and multi-chain RPC calls.

Interact with the CW-Social smart contract on Cosmos-based blockchains.

A comprehensive toolkit for Ethereum blockchain analysis directly within Claude AI.

About MCP server for TRON blockchain — connect AI agents to TRX, TRC20, smart contracts, staking & governance via GoTRON SDK

Provides onchain tools for AI applications to interact with the Hashkey Network.

Integrates with the Hyperlane protocol for cross-chain messaging and smart contract interactions.

The financial infrastructure for autonomous AI. Equips Claude and other agents with secure, programmable USDC smart accounts (ERC-4337). Tools exposed: get_balance, transfer_usdc, get_history. Features: Abstracted gas fees (Paymasters), native USDC settlement on Base, and strict developer-defined spending limits (Policy-as-Code) to eliminate LLM hallucination liability.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.