Skip to main content
Glama

NWC MCP Server

by getAlby

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

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/getAlby/nwc-mcp-server'

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