Skip to main content
Glama

LDK MCP Server

by StevenGeller

ldk_close_channel

Initiate cooperative or forced closure of a Lightning channel using the specified channel ID. Manage channel termination efficiently with the LDK MCP Server's Lightning Development Kit integration.

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