Skip to main content
Glama

LDK MCP Server

by StevenGeller

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NETWORKNoBitcoin network: mainnet, testnet, or regtesttestnet
LOG_LEVELNoLogging verbosity: debug, info, warn, errorinfo

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
ldk_generate_invoice

Generate a Lightning invoice with real payment hash for testing

ldk_pay_invoice

Test payment flows by paying a Lightning invoice

ldk_channel_status

Monitor channel states and balances while coding

ldk_node_info

Get current node status and connectivity information

ldk_backup_state

Test channel backup and restore flows

ios_keychain_test

Validate private key storage patterns with iOS Keychain

ios_background_test

Test Lightning background processing and channel monitoring

ios_push_notification

Test payment notification flows and push setup

ios_biometric_auth

Integrate Touch/Face ID with Lightning operations

ldk_create_channel

Open a Lightning channel with a peer node

ldk_close_channel

Close a Lightning channel cooperatively or force close

ldk_get_balance

Get Lightning wallet balance and channel liquidity

ldk_decode_invoice

Decode and validate Lightning invoices

ldk_list_payments

List recent Lightning payments with status

ldk_estimate_fee

Estimate Lightning routing fees for a payment

ldk_generate_mnemonic

Generate BIP39 mnemonic for wallet initialization

ldk_derive_address

Derive Bitcoin addresses from seed using BIP84

ldk_get_swift_code

Get Swift code examples for specific LDK operations

ldk_get_architecture

Get iOS Lightning wallet architecture patterns and best practices

ldk_test_scenario

Run complete Lightning development scenarios for testing

ldk_network_graph

Get network graph operations and RapidGossipSync implementation

ldk_event_handling

Get comprehensive LDK event handling patterns and implementations

ldk_chain_sync

Get chain synchronization implementations for LDK with Electrum/Esplora

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/StevenGeller/ldk-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server