NWC MCP Server

Official

make_invoice

Generate a Bitcoin Lightning invoice with customizable fields such as amount, description, expiry, and metadata, using NWC MCP Server to enable payment functionalities within language models.

Instructions

Create a lightning invoice

Input Schema

NameRequiredDescriptionDefault
amountYesamount in millisats
descriptionNonote, memo or description describing the invoice
description_hashNohash of a note, memo or description that is too long to fit within the invoice
expiryNoexpiry in seconds
metadataNoOptional metadata to include with the payment

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "amount": { "description": "amount in millisats", "type": "number" }, "description": { "description": "note, memo or description describing the invoice", "type": "string" }, "description_hash": { "description": "hash of a note, memo or description that is too long to fit within the invoice", "type": "string" }, "expiry": { "description": "expiry in seconds", "type": "number" }, "metadata": { "additionalProperties": true, "description": "Optional metadata to include with the payment", "properties": {}, "type": "object" } }, "required": [ "amount" ], "type": "object" }

You must be authenticated.

Other Tools from NWC MCP Server

Related Tools

ID: 0xq1g0rw52