
getalby/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Nostr Wallet Connectとモデルコンテキストプロトコルを使用して、ビットコインの落雷ウォレットをLLMに接続
概要
また、MCP をサポートしていないエージェントの Alby CLI をチェックします。 Nostr Wallet Connect (NWC) を使用して、ビットコインの落雷ウォレットを LLM に接続します。 このMCPサーバーは、公式MCP TypeScript SDKを使用します。 このMCPサーバーは、Alby SDKとAlby Lightning Toolsを使用してNWC、LNURL、L402の知識を持っています。 Alby MCP を使用できる場所を見てみましょう。 立ち止まる場合は、下のトラブルシューティングセクションを参照してください。 エージェントがリモート MCP サーバー - SSE (N8N など) または HTTP ストリーム可能なトランスポートをサポートしている場合、Alby の MCP サーバーに接続できます。 - SSE: https://mcp.getalby.com/sse - HTTP ストリーム可能: [https://mcp.getalby.com/mcp
概要(AI 翻訳)
NEW: MCP をサポートしていないエージェントの Alby CLI もチェックアウトします。
Nostr Wallet Connect (NWC) を使用して、ビットコインの落雷ウォレットを LLM に接続します。
このMCPサーバーは、公式MCP TypeScript SDKを使用します。
このMCPサーバーは、Alby SDKとAlby Lightning Toolsを使用してNWC、LNURL、L402の知識を持っています。
Alby MCP を使用できる場所は、Awesome AI Bitcoin をご覧ください。
クイックスタート
立ち止まる場合は、下のトラブルシューティングセクションを参照してください。
ホストされている MCP サーバーを使用する
エージェントがリモート MCP サーバー - SSE (N8N など) または HTTP ストリーム可能なトランスポートをサポートしている場合、Alby の MCP サーバーに接続できます。
- SSE:
https://mcp.getalby.com/sse - HTTP ストリーミング可能: [
https://mcp.getalby.com/mcp
####認証
どちらも、認証として NWC 接続シークレットを提供する必要があります。 Bearer 認証 (優先) または [nwc] クエリパラメータを介して。
########Bearer Auth の使い方
例:[Authorization: Bearer nostr+walletconnect://...
もしあなたのエージェント UI がベアア・オースをサポートしている場合は、接続シークレットをベアア・オースフィールドに貼り付けてください。
クエリパラメータ
もしあなたのエージェントがベアラーのauthをサポートしていない場合は、NWC接続シークレットをクエリパラメータとして渡すことができます.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Alby Bitcoin Payments MCP Server
NEW: also checkout Alby CLI for agents that don’t support MCP.
Connect a bitcoin lightning wallet to your LLM using Nostr Wallet Connect (NWC).
This MCP server uses the official MCP TypeScript SDK
This MCP server has knowledge of NWC, LNURL and L402 using Alby SDK and Alby Lightning Tools.
Take a look at Awesome AI Bitcoin for places where you can use the Alby MCP.
Quick Start
In case you get stuck, see troubleshooting section below.
Use the Alby-Hosted MCP Server
If your agent supports remote MCP servers - SSE (e.g. N8N) or HTTP Streamable transports, you can connect to Alby’s MCP server.
- SSE:
https://mcp.getalby.com/sse - HTTP Streamable:
https://mcp.getalby.com/mcp
Authentication
Both require providing an NWC connection secret as authentication, either as Bearer authentication (preferred) or via the nwc query parameter.
Bearer Auth
Example: Authorization: Bearer nostr+walletconnect://...
If your agent UI supports bearer auth, just paste the connection secret into the bearer auth field.
Query Parameter
If your agent doesn’t support bearer auth, you can pass the NWC connection secret as a query parameter.
Example: https://mcp.getalby.com/sse?nwc=ENCODED_CONNECTION_SECRET or https://mcp.getalby.com/mcp?nwc=ENCODED_CONNECTION_SECRET
To get ENCODED_CONNECTION_SECRET, open browser devtools (right click -> inspect) and enter this in the console, with your own NWC connection secret set:
encodeURIComponent("nostr+walletconnect://...");
In case there is a message asking for confirmation for pasting, follow the instructions, and then enter the above command again.
Once the command has run, copy the output and replace ENCODED_CONNECTION_SECRET. It will look like this: nostr%2Bwalletconnect%3A%2F%2F...
Add to Claude Web or Claude Desktop
Use the remote Alby MCP server
Currently, at least a Claude Pro subscription is required to be able to connect to remote MCP servers.
- Go to Settings -> Connectors
- Click on “Add custom connector”
- Call it
alby - What is the endpoint URI:
https://mcp.getalby.com/mcp?nwc=ENCODED_NWC_URL(see above for instructions)
Client-side
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"nwc": {
"command": "npx",
"args": ["-y", "@getalby/mcp"],
"env": {
"NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
}
}
インストール
npx -y @getalby/mcp設定
{
"mcpServers": {
"nwc": {
"command": "npx",
"args": ["-y", "@getalby/mcp"],
"env": {
"NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
}
}
}
}