The Alby Bitcoin Payments MCP Server integrates a Bitcoin Lightning wallet with an LLM through Nostr Wallet Connect (NWC), supports the LNURL and L402 protocols, and provides both local and remote connection methods.
2.5 points
5.4K

What is the Alby MCP Server?

The Alby MCP Server is a tool based on the Model Context Protocol (MCP) that allows users to connect a Bitcoin Lightning wallet to a large language model (LLM) through Nostr Wallet Connect (NWC). It supports protocols such as LNURL and L402 and is suitable for scenarios where cryptocurrency payments need to be integrated into AI applications.

How to Use the Alby MCP Server?

Users can use the Alby MCP Server in multiple ways: 1. Use the remote server provided by Alby directly; 2. Run the server locally; 3. Integrate it into various AI platforms (such as Claude, Goose, N8N, etc.).

Applicable Scenarios

This server is suitable for applications that need to embed cryptocurrency payment functions in AI interactions, such as paid chat, content generation services, or subscription-based AI assistants. It is suitable for developers and enterprises to quickly build AI systems that support payments.

Main Features

NWC Connection Support
Seamlessly integrate with Lightning wallets through the Nostr Wallet Connect (NWC) protocol, enabling payments without managing private keys.
Multi-Platform Compatibility
Supports multiple AI platforms (such as Claude, Goose, N8N, etc.) and can be flexibly deployed on local or remote servers.
Payment Process Automation
Automatically process payment requests through the L402 protocol to ensure secure and efficient transactions.
Easy to Integrate
Provides detailed configuration guides and sample code to simplify the integration process for developers.
Advantages
Supports multiple AI platforms for easy expansion and integration
Enables secure payment connections via NWC without exposing private keys
Provides rich documentation and examples to lower the usage threshold
Supports HTTP and STDIO modes to meet different deployment requirements
Limitations
Requires a certain technical background for proper configuration and use
Relies on the support of the Lightning Network and NWC protocol
Some advanced features may require a paid or professional subscription

How to Use

Choose an Access Method
Choose an access method according to your needs: use the remote server provided by Alby or run the MCP server locally.
Obtain the NWC Connection Key
Generate an NWC connection key in your Lightning wallet and ensure it is complete and error-free.
Configure the MCP Server
Configure the parameters of the MCP server according to the selected access method, including authentication information and API endpoints, following the guide.
Test the Connection
Verify whether the MCP server is working properly through simple test commands or sample queries.

Usage Cases

Add a Payment Function to an AI Assistant
Embed payment logic in the conversations of an AI assistant through the Alby MCP Server to implement pay-per-use or subscription-based services.
Automate the Payment Process in N8N
Integrate the Alby MCP Server into an N8N workflow to implement automated payment processing, such as purchasing goods or subscribing to services.

Frequently Asked Questions

How to obtain the NWC connection key?
What dependencies does the Alby MCP Server require?
What if the connection fails?
Can I run the Alby MCP Server locally?

Related Resources

Alby MCP Official Documentation
Official SDK documentation providing detailed technical explanations and API references.
Alby SDK GitHub
The GitHub repository for the Alby SDK, containing code and examples.
Alby Support Center
The Alby technical support website, providing help and solutions.
NWC Protocol Specification
The official documentation of the Nostr Wallet Connect (NWC) protocol.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "nwc": {
      "command": "npx",
      "args": ["-y", "@getalby/mcp"],
      "env": {
        "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
      }
    }
  }
}

{
  "mcpServers": {
    "alby": {
      "serverUrl": "https://mcp.getalby.com/sse?nwc=ENCODED_NWC_URL"
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
9.4K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
5.4K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
C
Contracts Wizard
OpenZeppelin Contracts Wizard is an interactive smart contract building tool that allows users to generate contract code based on OpenZeppelin components by selecting contract types, parameters, and functions. It supports multiple programming languages and provides API and embedding functions.
TypeScript
9.1K
4 points
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
15.2K
5 points
O
Opendia
OpenDia is an open - source browser extension tool that allows AI models to directly control the user's browser, perform automated operations using existing login status, bookmarks and other data, support multiple browsers and AI models, and focus on privacy protection.
JavaScript
12.4K
5 points
N
Notte Browser
Certified
Notte is an open-source full-stack network AI agent framework that provides browser sessions, automated LLM-driven agents, web page observation and operation, credential management, etc. It aims to transform the Internet into an agent-friendly environment and reduce the cognitive burden of LLMs by describing website structures in natural language.
16.3K
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.8K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
15.6K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.6K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.3K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.6K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
29.4K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase