Skip to main content
Glama

NWC MCP Server

by getAlby

pay_invoice

Process a Bitcoin Lightning invoice payment via the NWC MCP Server, enabling fast and secure transactions directly within supported platforms.

Instructions

Pay a lightning invoice

Input Schema

NameRequiredDescriptionDefault
amountNoOptional amount in millisats to pay a zero-amount invoice
invoiceYesThe lightning invoice to pay
metadataNoOptional metadata to include with the payment

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "amount": { "description": "Optional amount in millisats to pay a zero-amount invoice", "type": "number" }, "invoice": { "description": "The lightning invoice to pay", "type": "string" }, "metadata": { "additionalProperties": true, "description": "Optional metadata to include with the payment", "properties": {}, "type": "object" } }, "required": [ "invoice" ], "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