MCPSERV.CLUB
AbdelStark

Nostr MCP Server

MCP Server

AI-powered Nostr interaction with censorship‑resistance

Stale(65)
3stars
1views
Updated Sep 1, 2025

About

A Model Context Protocol server that lets AI models post notes, send Lightning zaps, and subscribe to real‑time events on the Nostr network. It supports multiple relays and provides an MCP‑compliant API for seamless integration.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Lightning Network MCP Server is a lightweight, protocol‑compliant gateway that lets AI assistants such as Claude transact on the Lightning Network without leaving their native environment. By exposing a single tool, the server transforms a simple JSON payload into an on‑chain payment through an LNBITS backend. This eliminates the need for developers to embed complex Lightning libraries directly into their AI‑powered applications, reducing both attack surface and maintenance overhead.

The server solves the problem of bridging off‑chain payment capabilities to conversational agents. In many use cases—e.g., tipping content creators, purchasing micro‑services, or automating subscription renewals—the AI must be able to authorize a Lightning invoice on behalf of the user. Without an MCP server, developers would have to build custom integrations for each wallet or node provider, often dealing with differing APIs and security models. Lightning Network MCP Server abstracts these differences behind a single, well‑defined API surface that any MCP‑compatible client can consume.

Key capabilities include:

  • Invoice payment: The tool accepts a Lightning invoice string and routes it through the configured LNBITS node, returning status details back to the AI.
  • MCP compliance: The server implements the standard MCP specification, ensuring that tool discovery, parameter validation, and response formatting are handled automatically.
  • Environment‑driven configuration: All node credentials (URL, admin key, read key) are sourced from a file, allowing secure deployment across development, staging, and production environments.

Real‑world scenarios that benefit from this server are plentiful. A chatbot could automatically tip a streamer when the user expresses appreciation, or an AI‑driven marketplace could charge users in Lightning for on‑demand services. Because the server is written in TypeScript and runs on Node.js 18+, it fits naturally into modern JavaScript/TypeScript stacks, making it easy to deploy behind existing API gateways or serverless functions.

Unique advantages of Lightning Network MCP Server include its minimal footprint and focus on a single, high‑value operation. By limiting the surface area to invoice payment, the codebase remains small and auditable, which is critical for financial applications. Additionally, its integration with the widely used LNBITS platform means developers can leverage a battle‑tested node implementation without needing to run a full Lightning daemon themselves. This combination of simplicity, security, and compliance makes the server an attractive choice for any developer looking to add Lightning payments to AI assistants.