Skip to main content
Glama

LDK MCP Server

by StevenGeller

ldk_close_channel

Close a Lightning Network channel cooperatively or forcefully using a specified channel ID. This tool ensures proper channel termination, supporting both standard and urgent closure scenarios.

Instructions

Close a Lightning channel cooperatively or force close

Input Schema

NameRequiredDescriptionDefault
channelIdYesChannel ID to close
forceNoForce close the channel

Input Schema (JSON Schema)

{ "properties": { "channelId": { "description": "Channel ID to close", "type": "string" }, "force": { "default": false, "description": "Force close the channel", "type": "boolean" } }, "required": [ "channelId" ], "type": "object" }

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