Skip to main content
Glama

NWC MCP サーバー

Nostr Wallet Connect ( NWCまたはNIP-47 ) を使用して、ビットコイン ライトニング ウォレットを LLM に接続します。

このMCPサーバーは公式MCP TypeScript SDKを使用しています

クイックスタート

クロードデスクトップに追加

claude_desktop_config.json に以下を追加します:

{ "mcpServers": { "nwc": { "command": "npx", "args": ["-y", "@getalby/nwc-mcp-server"], "env": { "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE" } } } }

グースに追加

  1. タイプgoose configure

  2. 拡張機能の追加 -> コマンドライン拡張機能

  3. nwcと呼ぶ

  4. 実行すべきコマンド: npx -y @getalby/nwc-mcp-server

  5. タイムアウト: 30

  6. 説明: なし

  7. 環境変数: はい

  8. 環境変数名: NWC_CONNECTION_STRING

  9. 環境変数の値: nostr+walletconnect://... (ここにNWC接続シークレットを入力してください)

クラインに追加

以下のコードをコピーして、cline プロンプトに貼り付けてください。接続文字列の更新を促すメッセージが表示されます。

Add the following to my MCP servers list: "nwc": { "command": "npx", "args": ["-y", "@getalby/nwc-mcp-server"], "env": { "NWC_CONNECTION_STRING": "nostr+walletconnect://..." }, "disabled": false, "autoApprove": [] }

N8N(コミュニティノード)に追加

現在、この MCP サーバーはコマンド ライン (STDIO) 経由でのみ動作します。

n8n-nodes-mcpコミュニティノードをインストールし、ツールを有効にしてn8nを実行できます。例:

N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true npx 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をサポートするライトニングウォレットからの接続文字列

インストール

yarn install

建物

yarn build

NWC接続を追加する

.env.example.envにコピーし、接続文字列を更新します。

ツールを検査する(LLMなしで使用/テストする)

yarn inspect

サポートされているツール

ツールディレクトリを参照

Deploy Server
A
security – no known vulnerabilities
-
license - not tested
A
quality - confirmed to work

Related MCP Servers

  • -
    security
    -
    license
    -
    quality
    A 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
    • Apple
    • Linux
  • -
    security
    -
    license
    -
    quality
    A Model Context Protocol server that enables LLMs to access Binance Smart Chain data, perform blockchain queries, and create Four.meme tokens.
  • A
    security
    -
    license
    A
    quality
    Enables interaction with lightning addresses and common lightning tools via your LLM, providing Lightning Network functionality through natural language.
    Last updated -
    3
    12
    1
  • A
    security
    A
    license
    A
    quality
    A 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 -
    18
    6
    30
    MIT License
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getAlby/nwc-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server