Skip to main content
Glama

get_wallet_service_info

Retrieve details about NWC capabilities, supported encryption, and notification types of the connected Lightning wallet to integrate payment functionalities with LLMs.

Instructions

Get NWC capabilities, supported encryption and notification types of the connected lightning wallet

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that fetches wallet service info from the NWC client and returns it as a formatted JSON text content block.
    async () => { const info = await client.getWalletServiceInfo(); return { content: [ { type: "text", text: JSON.stringify(info, null, 2), }, ], }; }
  • Function that registers the 'get_wallet_service_info' tool on the MCP server, including the name, description, and handler.
    export function registerGetWalletServiceInfoTool( server: McpServer, client: nwc.NWCClient ) { server.tool( "get_wallet_service_info", "Get NWC capabilities, supported encryption and notification types of the connected lightning wallet", async () => { const info = await client.getWalletServiceInfo(); return { content: [ { type: "text", text: JSON.stringify(info, null, 2), }, ], }; } ); }
  • Invocation of the registration function during MCP server creation to enable the tool.
    registerGetWalletServiceInfoTool(server, client);

Other Tools

Related Tools

Latest Blog Posts

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