{
"mcpServers": {
"ldk-server-mcp": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP (Model Context Protocol) server that exposes LDK Server operations as tools for AI agents. It communicates over JSON-RPC 2.0 via stdio and connects to an LDK Server instance over TLS using the ldk-server-client library.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 32 days ago. 1 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for Ldk Server Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP (Model Context Protocol) server that exposes LDK Server operations as tools for AI agents. It communicates over JSON-RPC 2.0 via stdio and connects to an LDK Server instance over TLS using the ldk-server-client library.
cargo build --release
The server reads configuration in this precedence order (highest wins):
LDK_BASE_URL, LDK_API_KEY, LDK_TLS_CERT_PATH--config <path> pointing to a TOML config file~/.ldk-server/config.toml, ~/.ldk-server/tls.crt, ~/.ldk-server/{network}/api_keyThe TOML config format is the same as used by ldk-server-cli:
[node]
rest_service_address = "localhost:3000"
network = "signet"
[tls]
cert_path = "/path/to/tls.crt"
export LDK_BASE_URL="localhost:3000"
export LDK_API_KEY="your_hex_encoded_api_key"
export LDK_TLS_CERT_PATH="/path/to/tls.crt"
./target/release/ldk-server-mcp
Or using a config file:
./target/release/ldk-server-mcp --config /path/to/config.toml
Add the following to your Claude Desktop MCP configuration (claude_desktop_config.json):
{
"mcpServers": {
"ldk-server": {
"command": "/path/to/ldk-server-mcp",
"env": {
"LDK_BASE_URL": "localhost:3000",
"LDK_API_KEY": "your_hex_encoded_api_key",
"LDK_TLS_CERT_PATH": "/path/to/tls.crt"
}
}
}
}
Add to your Claude Code MCP settings (.claude/settings.json):
{
"mcpServers": {
"ldk-server": {
"command": "/path/to/ldk-server-mcp",
"env": {
"LDK_BASE_URL": "localhost:3000",
"LDK_API_KEY": "your_hex_encoded_api_key",
"LDK_TLS_CERT_PATH": "/path/to/tls.crt"
}
}
}
}
The server exposes all 24 LDK Server operations as MCP tools:
| Tool | Description |
|------|-------------|
| get_node_info | Retrieve node info including node_id, sync status, and best block |
| get_balances | Retrieve an overview of all known balances (on-chain and Lightning) |
| Tool | Description |
|------|-------------|
| onchain_receive | Generate a new on-chain Bitcoin funding address |
| onchain_send | Send an on-chain Bitcoin payment to an address |
| Tool | Description |
|------|-------------|
| bolt11_receive | Create a BOLT11 Lightning invoice to receive a payment |
| bolt11_send | Pay a BOLT11 Lightning invoice |
| bolt12_receive | Create a BOLT12 offer for receiving Lightning payments |
| bolt12_send | Pay a BOLT12 Lightning offer |
| spontaneous_send | Send a spontaneous (keysend) payment to a Lightning node |
| Tool | Description |
|------|-------------|
| open_channel | Open a new Lightning channel with a remote node |
| close_channel | Cooperatively close a Lightning channel |
| force_close_channel | Force close a Lightning channel unilaterally |
| list_channels | List all known Lightning channels |
| update_channel_config | Update forwarding fees and CLTV delta for a channel |
| splice_in | Increase a channel's balance by splicing in on-chain funds |
| splice_out | Decrease a channel's balance by splicing out to on-chain |
| Tool | Description |
|------|-------------|
| list_payments | List all payments (supports pagination via page_token) |
| get_payment_details | Get details of a specific payment by its ID |
| list_forwarded_payments | List all forwarded payments (supports pagination via page_token) |
| Tool | Description |
|------|-------------|
| connect_peer | Connect to a Lightning