LL

lightninglabs/lightning-agent-tools

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

61 stars 20 forks 品質 60 トレンド 17

Lightning Networkの支払いのためのAIエージェントツールキット(skills+MCPサーバー)。 ノードを実行し、API (L402) を支払い、有料エンドポイントをホストし、認証情報を管理します.

概要

AIエージェントは、文書やコードの書き出し、複雑なワークフローのオーケストレーションを行なうことができますが、簡単に物事を支払うことはできません。 従来の支払いレールには、政府のID、銀行口座、マニュアルの登録が必要です。ただし、自動的なソフトウェアでは機能しません。 Lightning Agent Tools は、エージェントが、即時かつ大量の取引が可能な分散型の決済プロトコルであるLightning Network にネイティブアクセスすることで、このギャップを埋めます。 ツールキットは、7つの互換性のあるスキルとMCPサーバーで構成されています。 エージェントがLightningノードを実行し、L402プロトコルを使用してWeb上のリソースを支払い、独自の有料APIエンドポイントをホストし、スコープ付き認証情報の管理、およびモデルコンテキストプロトコルによるクエリノードの状態を行えます。 スキルは、シェルコマンドを実行できる任意のエージェントフレームワークで動作します: クロードコード、コーデックス、または独自のツーリング。 MCP サーバは、モデルコンテキストプロトコル規格に従い、互換性のあるクライアントと連携します.

概要(AI 翻訳)

AIエージェントは、文書の読み書き、コードの書き、複雑なワークフローの編集ができます。 しかし、物事を簡単に支払うことはできません。 従来の支払柵は要求します 政府のID、銀行口座、およびマニュアルの登録、どれも 自動ソフトウェア。 ライトニングエージェントは、エージェントを与えることによって、このギャップを埋める Lightning Networkのネイティブアクセス 即時、大量取引が可能な分散型決済プロトコル アイデンティティの要求無し。

ツールキットは、7つの互換性のあるスキルとMCPサーバーで構成されています。 一緒に エージェントがLightningノードを実行し、Web上でリソースを支払います。 L402 プロトコル, 独自の有料 API エンドポイントをホストし、スコープ付き認証情報の管理、およびクエリノードの状態の管理 モデルコンテキストプロトコルを介して。 あらゆるエージェントフレームワークと連携するスキル シェルコマンドを実行できます: Claude コード, コードックス、または独自のツーリング。 MCP サーバー モデルコンテキストプロトコル規格に従う あらゆる互換の顧客と働かせて下さい。 リモートへのセキュリティモデルのデフォルト 秘密鍵を別々の機械に、離れたから保つ署名者の建築 エージェントのランタイム環境。

インストール

MCPサーバー (インストール、MCPクライアント):

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Lightning Agent Tools

AI agents can read documentation, write code, and orchestrate complex workflows, but they can’t easily pay for things. Traditional payment rails require government IDs, bank accounts, and manual enrollment, none of which work for autonomous software. Lightning Agent Tools bridges this gap by giving agents native access to the Lightning Network, a decentralized payment protocol capable of instant, high-volume transactions with no identity requirements.

The toolkit consists of seven composable skills and an MCP server. Together they let an agent run a Lightning node, pay for resources on the web using the L402 protocol, host its own paid API endpoints, manage scoped credentials, and query node state through the Model Context Protocol. The skills work with any agent framework that can execute shell commands: Claude Code, Codex, or your own tooling. The MCP server follows the Model Context Protocol standard and works with any compatible client. The security model defaults to a remote signer architecture that keeps private keys on a separate machine, away from the agent’s runtime environment.

Install

MCP server (zero-install, any MCP client):

claude mcp add --transport stdio lnc -- npx -y @lightninglabs/lightning-mcp-server

Full plugin (all 7 skills via Claude Code):

claude plugin marketplace add lightninglabs/lightning-agent-tools
claude plugin install lightning-agent-tools@lightninglabs

From source (requires Go 1.24+):

git clone https://github.com/lightninglabs/lightning-agent-tools.git
cd lightning-agent-tools
skills/lightning-mcp-server/scripts/install.sh
skills/lightning-mcp-server/scripts/configure.sh --production
skills/lightning-mcp-server/scripts/setup-claude-config.sh --scope project

See Quick Start below for detailed setup options including environment variables, regtest mode, and the full commerce stack.

How It Works

graph TD
    CC["Your Agent"] --> Skills

    subgraph Skills["Skills"]
        lnd["lndrun a Lightning node"]
        lsm["lightning-security-moduleremote signer"]
        mb["macaroon-bakeryscoped credentials"]
        lg["lngetL402 HTTP client"]
        ap["apertureL402 reverse proxy"]
        mcp["lightning-mcp-serverMCP server"]
        com["commercebuyer/seller workflows"]
    end

    subgraph Runtime["Daemons & Tools"]
        lnd_d["lnd daemon"]
        signer_d["lnd signer"]
        aperture_d["aperture proxy"]
        lnget_d["lnget CLI"]
        mcp_d["lightning-mcp-server"]
    end

    lnd --> lnd_d
    lsm --> signer_d
    lg --> lnget_d
    ap --> aperture_d
    mcp --> mcp_d
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →