Skip to main content
Glama

Nostr MCP Server

by AustinKelsay
// Zap-related utility functions export type ZapReceipt = { id: string; amount: number; comment?: string; zapper?: string; timestamp: number; eventId?: string; }; /** * Process a zap receipt and return formatted data */ export function processZapReceipt(zapReceipt: ZapReceipt, targetPubkey: string) { // Simple implementation that returns the zap receipt with target pubkey return { ...zapReceipt, targetPubkey }; } /** * Prepare an anonymous zap to a profile or event */ export async function prepareAnonymousZap( target: string, amountSats: number, comment: string = '' ) { // Simple mock implementation return { success: true, invoice: `lnbc${amountSats}`, targetData: { type: target.startsWith('npub') ? 'profile' : 'event', identifier: target }, comment }; }

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/AustinKelsay/nostr-mcp-server'

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