# Alby Bitcoin Payments MCP Server

## Introduction

{% hint style="info" %}
An MCP server is a connector that gives an AI “agent” access to a resource such as a database, API, or filesystem—via a standardized interface.
{% endhint %}

The **Alby Bitcoin Payments MCP Server** connects your AI agent to your bitcoin lightning wallet.\
Despite the technical name, the Alby MCP Server is designed for anyone using AI tools today, and it's especially easy to integrate with the LLM agents of your choice.

Just like with the Alby Browser Extension or the Alby Go mobile app, you can connect any NWC-enabled Lightning wallet.

**Give it a try!** Link your wallet to your AI agent to send and receive payments using natural language, build payment workflows, and explore new possibilities. ✨

## How to connect your wallet to an AI agent

**Wallet instructions:**

* [Alby Hub](#connect-alby-hub-to-your-claude-web-agent)
* [Coinos](#connect-coinos-wallet-to-your-claude-web-agent)
* [Primal](#connect-primal-wallet-to-your-goose-agent)
* Is your wallet not listed? Contact us and visit this [extensive list](https://github.com/getAlby/awesome-nwc?tab=readme-ov-file#nwc-wallets).

**Agent instructions:**

* [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)

### Connect Alby Hub to your Claude Web Agent

{% embed url="<https://youtu.be/AbJQZ14JaA0>" %}

### Connect Coinos wallet to your Claude Web Agent

{% embed url="<https://demos.getalby.com/demo/cmcngtsja27vr16b62ayzenhb>" %}

### Connect Primal wallet to your Goose Agent

{% embed url="<https://demos.getalby.com/demo/cmcuqcqxh00x1360i47ip6prm>" %}


---

# 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/user-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.
