NWC MCP サーバー
Nostr Wallet Connect ( NWCまたはNIP-47 ) を使用して、ビットコイン ライトニング ウォレットを LLM に接続します。
このMCPサーバーは公式MCP TypeScript SDKを使用しています
クイックスタート
クロードデスクトップに追加
claude_desktop_config.json に以下を追加します:
グースに追加
タイプ
goose configure拡張機能の追加 -> コマンドライン拡張機能
nwcと呼ぶ実行すべきコマンド:
npx -y @getalby/nwc-mcp-serverタイムアウト: 30
説明: なし
環境変数: はい
環境変数名:
NWC_CONNECTION_STRING環境変数の値:
nostr+walletconnect://...(ここにNWC接続シークレットを入力してください)
クラインに追加
以下のコードをコピーして、cline プロンプトに貼り付けてください。接続文字列の更新を促すメッセージが表示されます。
N8N(コミュニティノード)に追加
現在、この MCP サーバーはコマンド ライン (STDIO) 経由でのみ動作します。
n8n-nodes-mcpコミュニティノードをインストールし、ツールを有効にしてn8nを実行できます。例:
空のワークフローを作成し、AIエージェントノードを追加します。LLMモデルを設定し、新しいツール「MCPクライアント」を追加します(横にキューブが表示され、コミュニティノードであることを示します)。
コマンド ライン (STDIO) を選択して資格情報を追加し、MCP クライアントを構成します。
コマンド: npx引数: -y @getalby/nwc-mcp-server環境NWC_CONNECTION_STRING=nostr+walletconnect://your_key_here (パスワード フィールドはプレーンテキストに切り替えることができないため、テキスト エディターで行全体を作成して貼り付けます)
完全な例については、N8N有料チャットワークフローをご覧ください。
ソースから
前提条件
Node.js 20以上
糸
NWCをサポートするライトニングウォレットからの接続文字列
インストール
建物
NWC接続を追加する
.env.exampleを.envにコピーし、接続文字列を更新します。
ツールを検査する(LLMなしで使用/テストする)
yarn inspect
サポートされているツール
ツールディレクトリを参照
Related MCP Servers
- -security-license-qualityA server that adds Bitcoin payment capabilities to LLMs, enabling sending/receiving payments, creating charges, managing wallets, and performing other Bitcoin Lightning Network operations.Last updated -3
- -security-license-qualityA Model Context Protocol server that enables LLMs to access Binance Smart Chain data, perform blockchain queries, and create Four.meme tokens.
- Asecurity-licenseAqualityEnables interaction with lightning addresses and common lightning tools via your LLM, providing Lightning Network functionality through natural language.Last updated -3121
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs like Claude to interact with the Nostr social network, allowing for fetching user profiles, text notes, and zap payment information.Last updated -18630MIT License