# Alby Bitcoin Payments MCP Server

## Introduction

{% hint style="info" %}
MCP stands for Model Context Protocol. It is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications.
{% endhint %}

The [Alby Bitcoin Payments MCP server](https://github.com/getAlby/mcp?ref=blog.getalby.com) enables seamless bitcoin payments directly within AI chat interfaces, bridging the gap between AI agents and financial transactions. By leveraging NWC, it ensures seamless and secure wallet access.&#x20;

AI tools like Claude, Cursor, Cline, Goose, and n8n are now able send, and receive payments or query transactions autonomously.&#x20;

## Benefits&#x20;

Despite its technical name our new NWC MCP server is built for anybody using AI tools today and particularly interesting for building payment-enabled chatbots, automating payment workflows, or integrating bitcoin payments into AI-native apps.&#x20;

What really sets the Alby MCP server apart is how easy it makes bitcoin payment integration for AI tools. Instead of dealing with local servers or complex setups, you can just drag and drop your wallet in any MCP enabled AI agent thanks to its remote server connection capabilities via HTTP streamable.&#x20;

The Alby Bitcoin Payments MCP Server also has knowledge of [NWC](https://nwc.dev/), [LNURL](https://github.com/lnurl/luds) and [L402](https://docs.lightning.engineering/the-lightning-network/l402) using [Alby SDK](https://github.com/getAlby/js-sdk) and [Alby Lightning Tools](https://github.com/getAlby/js-lightning-tools).

## What you can do <a href="#how-to-use-it" id="how-to-use-it"></a>

{% embed url="<https://www.youtube.com/watch?v=Gcl_NVig4NQ>" %}

## How to use it <a href="#how-to-use-it" id="how-to-use-it"></a>

Find instructions below for

* [Claude](https://github.com/getAlby/mcp?tab=readme-ov-file#add-to-claude-web-or-claude-desktop)&#x20;
* [Cline](https://github.com/getAlby/mcp?tab=readme-ov-file#add-to-cline)&#x20;
* [Goose](https://github.com/getAlby/mcp?tab=readme-ov-file#add-to-goose-desktop)&#x20;
* [N8N](https://github.com/getAlby/mcp?tab=readme-ov-file#add-to-n8n-via-stdio-community-node)&#x20;
* [Windsurf](https://github.com/getAlby/mcp?tab=readme-ov-file#add-to-windsurf)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.getalby.com/developer-guide/developer-guide/alby-bitcoin-payments-mcp-server/alby-bitcoin-payments-mcp-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
