1. Conduid
  2. Blockchain
  3. Polar
MCP server · Blockchain

Polar

One-click Bitcoin Lightning networks for local app development & testing

81Strong

Scored 17 hours ago · breakdown

About Polar

Polar is an MCP server published by jamaljsr in the Blockchain category: one-click Bitcoin Lightning networks for local app development & testing. Conduid read 48 tools from its source: add_litd_session, add_node, close_channel, close_tap_channel, create_asset_invoice, create_invoice and 42 more. No package is published for it, so it installs from a source checkout.

The repository has 862 stars and 187 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v4.0.0 (6 Jan 2026): This release introduces two new major features into Polar. It follows v3.3.0 (20 Jun 2025), and the 5 most recent releases go back to v3.0.0 (23 Jul 2024). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include weather-api and weather-station.

Install

From source
git clone https://github.com/jamaljsr/polar

Tools (48)

add_litd_sessionCreate a new Lightning Node Connect (LNC) session for a litd node. This generates a pairing phrase that can be used to connect remote applications to the Lightning node. Sessions can be admin (full access), read_only (view only), or custom (specific permissions).
ParameterTypeDescription
expiresAtnumberUnix timestamp when the session expires (in seconds). Defaults to 90 days from now if not provided.
label *stringHuman-readable label for the session
mailboxServerAddrstringOptional mailbox server address for the session (defaults to ${LNC_MAILBOX_SERVER})
networkId *numberID of the network
nodeName *stringName of the litd node to create session for
type *stringType of session permissions
add_nodeAdds a Bitcoin Core or Lightning Network node to an existing Polar network. Supports Bitcoin Core (bitcoind), LND, c-lightning, eclair, and litd (Lightning Terminal) implementations. If the network is started, the node will be automatically started as well.
ParameterTypeDescription
implementation *stringNode implementation to use
networkId *numberID of the network to add the node to
versionstringVersion of the implementation (optional, uses latest if not specified). Use the list_node_versions tool to see supported versions.
close_channelClose a Lightning Network channel in a Polar network. This cooperatively closes the specified channel and returns the funds to the on-chain wallet.
ParameterTypeDescription
channelPoint *stringChannel point identifier in the format "txid:output_index" (e.g., "abc123...def:0")
networkId *numberID of the network
nodeName *stringName of the Lightning node that has the channel
close_tap_channelClose a Taproot Asset-enabled Lightning Network channel in a Polar network. This cooperatively closes the specified asset-enabled channel and returns the locked Taproot Assets to the on-chain wallet. Works with litd nodes only.
ParameterTypeDescription
channelPoint *stringChannel point identifier in the format "txid:output_index" (e.g., "abc123...def:0")
networkId *numberID of the network
nodeName *stringName of the litd node that has the channel
create_asset_invoiceCreate a Lightning invoice payable with Taproot Assets from a litd node. The node must have sufficient assets in channels to create the invoice. Works only with litd nodes (which include integrated LND + Lightning Terminal + tapd).
ParameterTypeDescription
amount *numberAmount of the asset to invoice for
assetId *stringID of the Taproot Asset to create invoice for
networkId *numberID of the network
nodeName *stringName of the litd node to create the invoice from
create_invoiceCreate a Lightning Network payment invoice for a node. Generates a payment request string (BOLT11 invoice) that can be paid by other Lightning nodes. The invoice contains the payment amount and an optional memo. Returns the payment request string that can be used with pay_invoice. Works with LND, c-lightning, eclair, and litd nodes.
ParameterTypeDescription
amount *numberAmount in satoshis for the invoice
memostringOptional description/memo for the invoice
networkId *numberID of the network
nodeName *stringName of the Lightning node to create invoice on
create_networkCreates a new Lightning Network in Polar with the specified node implementations and versions. Use the list_node_versions tool to see supported versions. Nodes that omit a version will use the latest available.
ParameterTypeDescription
descriptionstringDescription of the network
name *stringName of the network
nodesarrayList of nodes to include in the new network. Each entry may specify a version and count (defaults to 1).
decode_tap_addressDecode Taproot Asset address
ParameterTypeDescription
address *stringThe Taproot Asset address to decode
networkId *numberID of the network
nodeName *stringName of the tapd or litd node
delete_networkPermanently deletes a Lightning Network in Polar. This will remove all nodes, channels, and data associated with the network. This action cannot be undone.
ParameterTypeDescription
networkId *numberID of the network to delete
deposit_fundsDeposit Bitcoin from the network to a Lightning node on-chain wallet. This sends funds from the Bitcoin Core node to the Lightning node, then mines blocks to confirm the transaction. The deposited funds will be available in the Lightning node wallet for opening channels or on-chain transactions. Works with LND, c-lightning, eclair, and litd nodes.
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the Lightning node to deposit funds to
sats *numberAmount in satoshis to deposit
export_network_to_zipExports a Lightning Network to a .polar.zip file. The network must be in Stopped or Error status. The exported file can be imported back into Polar using the import_network_from_zip tool.
ParameterTypeDescription
networkId *numberID of the network to export
outputPath *stringAbsolute path where the .polar.zip file will be saved
fund_tap_channelFund a Lightning Network channel with Taproot Assets between two litd nodes. This creates an asset-enabled payment channel using the specified asset as collateral. The asset must exist on the source node and will be locked in the channel. Works with litd nodes only (which include integrated LND + tapd).
ParameterTypeDescription
amount *numberAmount of the asset to fund the channel with
assetId *stringAsset ID of the Taproot Asset to use for funding
fromNode *stringName of the source litd node (the one holding the asset)
networkId *numberID of the network
toNode *stringName of the destination litd node
get_assets_in_channelsGet all Taproot Assets available in Lightning channels for a litd node. Returns assets with their balances and peer information. Works only with litd nodes (which include integrated LND + Lightning Terminal + tapd).
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the litd node to get assets in channels for
get_bitcoin_wallet_infoGet wallet information from a Bitcoin node including the total balance and transaction count. Returns the current wallet balance in BTC and the total number of transactions in the wallet.
ParameterTypeDescription
networkId *numberID of the network
nodeNamestringName of the Bitcoin node to query (optional, uses first node if not specified)
get_blockchain_infoGet blockchain information from a Bitcoin node in a Polar network. Returns current block height, chain name, difficulty, and other blockchain state.
ParameterTypeDescription
networkId *numberID of the network
nodeNamestringName of the Bitcoin node to query (optional, uses first node if not specified)
get_default_node_commandReturns the default docker command for a given node implementation and version. The command includes placeholders like {{name}}, {{backendName}}, etc. that get replaced with actual values when the node starts. If version is not provided, the latest version will be used.
ParameterTypeDescription
implementation *stringThe node implementation to get the default command for
versionstringOptional version of the implementation. Uses latest if not specified.
get_new_bitcoin_addressGenerate new Bitcoin address for Lightning/Bitcoin nodes. This creates a new receiving address that can be used to receive on-chain Bitcoin payments.
ParameterTypeDescription
networkId *numberID of the network
nodeNamestringName of the node to generate address for (optional, uses first available node if not specified)
get_node_infoGet information about a Lightning node including its public key, alias, sync status, block height, and channel counts. This provides essential node information for monitoring and debugging Lightning Network operations.
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the Lightning node to get info for
get_tap_addressGenerate Taproot Asset address
ParameterTypeDescription
amount *stringThe amount of the asset to send
assetId *stringThe asset ID to create an address for
networkId *numberID of the network
nodeName *stringName of the tapd or litd node
get_tap_balancesGet all Taproot Asset balances for a specific tapd or litd node. Returns a list of assets with their balances. Works with tapd nodes and litd nodes (which include integrated tapd).
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the tapd or litd node to get balances from
get_wallet_balanceGet the on-chain wallet balance for a Lightning node (LND, c-lightning, eclair, or litd). Returns the total, confirmed, and unconfirmed balances in satoshis. This shows the funds available in the node's on-chain Bitcoin wallet that can be used to open channels or for on-chain transactions. Note: This does not return channel balances - use list_channels to see balances within Lightning channels.
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the Lightning node to get balance for
import_network_from_zipImports a Lightning Network from a .polar.zip file that was previously exported from Polar. The zip file must exist at the specified path. Returns the imported network summary.
ParameterTypeDescription
path *stringAbsolute path to the .polar.zip file to import
list_channelsList all Lightning Network channels for a specific node, including both channels initiated by the node and channels where the node is the peer. Returns information about each channel including status, balances, capacity, and whether the channel is pending, open, or closed. This is useful for checking channel connectivity and balance distribution.
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the Lightning node to list channels for
list_litd_sessionsList all Lightning Node Connect (LNC) sessions for a litd node. This provides information about active sessions including labels, states, pairing phrases, and expiration times. Useful for managing remote Lightning node connections.
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the litd node to list sessions for
list_networksLists all Lightning Networks in Polar with their configurations and status
list_node_versionsLists all supported versions for node implementations included in Polar and the compatibility requirements for each version. The compatibility requirements are a map of version to the minimum version that is compatible with it.
ParameterTypeDescription
implementationstringFilter to show versions for a specific implementation only (optional)
list_tap_assetsList all Taproot Assets for a specific tapd or litd node. Returns asset details including ID, name, type, amount, genesis point, and decimals. Works with tapd nodes and litd nodes (which include integrated tapd).
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the tapd or litd node to list assets from
mine_blocksMine Bitcoin blocks in a Polar network. This generates new blocks on the Bitcoin blockchain, which is necessary for confirming transactions and advancing the chain.
ParameterTypeDescription
blocksnumberNumber of blocks to mine (default: 6)
networkId *numberID of the network
nodeNamestringName of the Bitcoin node to mine with (optional, uses first node if not specified)
mint_tap_assetMint a new Taproot Asset on a tapd or litd node. Creates a new asset with the specified parameters. For normal assets, you can specify an amount and decimals. For collectibles, the amount is always 1. Set finalize=true to automatically finalize the batch and mine blocks to confirm. Set autoFund=true to automatically fund the node with Bitcoin if needed. Works with tapd nodes and litd nodes (which include integrated tapd).
ParameterTypeDescription
amount *numberAmount to mint (ignored for collectibles, which are always 1)
assetType *stringType of asset: "normal" for fungible assets, "collectible" for NFTs
autoFundbooleanWhether to automatically fund the LND node with Bitcoin if needed
decimalsnumberNumber of decimal places for the asset (default: 0, max: 8). Only for normal assets. The amount must be the total number of units in the supply, so 10000 amount with 2 decimals would be displayed as 100.00
enableEmissionbooleanWhether to enable future emission for this asset (creates an asset group)
finalizebooleanWhether to finalize the batch immediately and mine blocks to confirm
name *stringName of the asset
networkId *numberID of the network
nodeName *stringName of the tapd or litd node to mint the asset on
open_channelOpen a Lightning Network channel between two nodes in a Polar network. This creates a payment channel with the specified capacity. You can optionally set the channel as private and auto-fund the source node if it lacks sufficient balance.
ParameterTypeDescription
autoFundbooleanAutomatically deposit funds to the source node if it lacks sufficient balance. Default: true
fromNode *stringName of the source Lightning node (the one funding the channel)
isPrivatebooleanWhether the channel should be private (not announced to the network). Default: false
networkId *numberID of the network
sats *numberChannel capacity in satoshis
toNode *stringName of the destination Lightning node
pay_asset_invoicePay a Lightning invoice using Taproot Assets from a litd node. The node must have sufficient assets in channels to pay the invoice. Works only with litd nodes (which include integrated LND + Lightning Terminal + tapd).
ParameterTypeDescription
assetId *stringID of the Taproot Asset to use for payment
fromNode *stringName of the litd node to pay the invoice from
invoice *stringThe Lightning invoice string to pay
networkId *numberID of the network
pay_invoicePay a Lightning Network payment invoice from a specific node. The invoice is a BOLT11 payment request string. An optional amount can be provided for invoices without a specific amount. Returns a payment receipt with the preimage and fees paid. Works with LND, c-lightning, eclair, and litd nodes.
ParameterTypeDescription
amountnumberOptional amount in satoshis to pay for an invoice without a specified amount
fromNode *stringName of the Lightning node to pay the invoice from
invoice *stringThe BOLT11 payment request string to pay
networkId *numberID of the network
remove_nodeRemoves a node from an existing Polar network. This will permanently delete the node and all its data. Supports removing Lightning nodes (LND, c-lightning, eclair, litd), Bitcoin nodes (bitcoind), and Taproot Asset nodes (tapd). If the network is running, the node will be stopped before removal.
ParameterTypeDescription
networkId *numberID of the network containing the node to remove
nodeName *stringName of the node to remove from the network
rename_networkRenames a Lightning Network in Polar and optionally updates its description. The name is used for identification and must be unique among networks.
ParameterTypeDescription
descriptionstringOptional new description for the network
name *stringNew name for the network
networkId *numberID of the network to rename
rename_nodeRenames a node in an existing Polar network. This will update the node name throughout the system, including Docker containers, configuration files, and UI references. Supports renaming Lightning nodes (LND, c-lightning, eclair, litd), Bitcoin nodes (bitcoind), and Taproot Asset nodes (tapd). If the network is running, it will be temporarily stopped during the rename operation.
ParameterTypeDescription
networkId *numberID of the network containing the node to rename
newName *stringNew name for the node
oldName *stringCurrent name of the node to rename
restart_nodeRestarts a specific node in a Polar network. The node must be in Started or Error state. This operation stops the node first, then starts it again. Supports Bitcoin Core, Lightning Network, and Taproot Assets daemon nodes.
ParameterTypeDescription
networkId *numberID of the network containing the node
nodeName *stringName of the node to restart
revoke_litd_sessionRevoke an existing Lightning Node Connect (LNC) session for a litd node. This permanently disables the session and invalidates its pairing phrase. The session will no longer be usable for remote connections.
ParameterTypeDescription
localPublicKey *stringLocal public key of the session to revoke
networkId *numberID of the network
nodeName *stringName of the litd node to revoke session for
send_bitcoinSend on-chain Bitcoin transaction from a Bitcoin node to an address, optionally mining blocks to confirm the transaction.
ParameterTypeDescription
amount *numberAmount of Bitcoin to send (in bitcoin, so 0.00000001 is 1 satoshi)
autoMinebooleanWhether to automatically mine 6 blocks to confirm the transaction (default: false)
fromNode *stringName of the node sending the Bitcoin
networkId *numberID of the network
toAddress *stringBitcoin address to send to
send_tap_assetSend a Taproot Asset from a tapd or litd node to a given address. Set autoFund=true to automatically fund the node with Bitcoin if needed. Works with tapd nodes and litd nodes (which include integrated tapd).
ParameterTypeDescription
address *stringThe Taproot Asset address to send to
autoFundbooleanWhether to automatically fund the LND node with Bitcoin if needed
fromNode *stringName of the tapd or litd node to send the asset from
networkId *numberID of the network
set_auto_mine_modeSet the auto-mining mode for a Polar network. Auto-mining automatically generates new blocks at regular intervals, which is useful for testing Lightning Network functionality.
ParameterTypeDescription
mode *numberAuto-mining mode: 0=Off, 30=Every 30s, 60=Every 1m, 300=Every 5m, 600=Every 10m
networkId *numberID of the network
set_lightning_backendChanges the Bitcoin backend node for a Lightning Network node. This reassigns which Bitcoin node the Lightning node will connect to as its backend. If the network is running, the Lightning node will be restarted to apply the change.
ParameterTypeDescription
bitcoinNodeName *stringName of the Bitcoin node to set as the backend
lightningNodeName *stringName of the Lightning node whose backend should be changed
networkId *numberID of the network containing the nodes
set_tap_backendChanges the LND backend node for a Taproot Assets (TAP) node. This reassigns which LND node the TAP node will connect to as its backend.
ParameterTypeDescription
lndNodeName *stringName of the LND node to set as the backend
networkId *numberID of the network containing the nodes
tapNodeName *stringName of the TAP node whose backend should be changed
start_networkStarts a Lightning Network in Polar. This will start all Bitcoin and Lightning nodes in the specified network.
ParameterTypeDescription
networkId *numberID of the network to start
start_nodeStarts a specific node in a Polar network. The node must be in Stopped or Error state. Supports Bitcoin Core, Lightning Network, and Taproot Assets daemon nodes.
ParameterTypeDescription
networkId *numberID of the network containing the node
nodeName *stringName of the node to start
stop_networkStops a Lightning Network in Polar. This will gracefully shut down all Bitcoin and Lightning nodes in the specified network.
ParameterTypeDescription
networkId *numberID of the network to stop
stop_nodeStops a specific node in a Polar network. The node must be in Started state. Supports Bitcoin Core, Lightning Network, and Taproot Assets daemon nodes.
ParameterTypeDescription
networkId *numberID of the network containing the node
nodeName *stringName of the node to stop
sync_tap_universeSync with Taproot Assets universe
ParameterTypeDescription
networkId *numberID of the network
nodeName *stringName of the tapd or litd node
universeNodeName *stringThe name of the tapd node to sync with
update_node_commandUpdates the custom docker command for a node in a network. This allows customization of node startup parameters. The command will be used instead of the default command for the node implementation. Leave command empty to reset to the default.
ParameterTypeDescription
command *stringThe docker command to use for the node. Empty string resets to default.
networkId *numberID of the network containing the node
nodeName *stringName of the node whose command should be updated

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 716 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by yarn.lock.
  • !No dynamic code executionScanned 294 source files and found 2 calls to eval or shell execution, in electron/hacks/windows.ts:8 and electron/hacks/windows.ts:26. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
2 callselectron/hacks/windows.ts:8, electron/hacks/windows.ts:26
Outbound network calls
1 callsrc/lib/lightning/eclair/eclairApi.ts:93
Writes or deletes files
No file writes or deletes
Lockfile
yarn.lock

Pattern matches on the source text of 294 files: places to read, not proof of what the code does at run time.

Releases

v4.0.0Polar v4.0.0 · 6 Jan 2026This release introduces two new major features into Polar. 1. Adds a new Model Context Protocol (MCP) server into Polar which allows AI assistants (Claude Code, Codex, Cursor, etc) to perform automated actions within Polar. They now have…
v3.3.0Polar v3.3.0 · 20 Jun 2025This release adds support for the final v0.15.0 version of Terminal (`litd`) which improves support for making asset payments over Lightning. All of the node implementations have also been updated to their latests versions: LND…
v3.2.0Polar v3.2.0 · 20 Dec 2024This release adds support for the final v0.14.0 version of Terminal (`litd`) which officially adds support for making asset payments over Lightning. All of the node implementations have also been updated to their latests versions: LND…
v3.1.0Polar v3.1.0 · 30 Nov 2024What's Changed This minor release is needed to support the latest released versions of `litd` v0.14.0-alpha.rc1 and `tapd` v0.5.0-alpha.rc1. Features Add Description field when creating a new network by @kelvinator07 in…
v3.0.0Polar v3.0.0 · 23 Jul 2024What's Changed The big feature of this major release is added support for Lightning Terminal (`litd`) nodes with the ability to open Taproot Asset channels and send/receive assets across the Lightning Network. There are also a handful of…

README

The repository's README runs to about 716 words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About Polar

How do I install Polar?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Polar safe to use with an AI agent?

Its trust score is 81 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 294 source files found that it starts other programs (2 calls) and makes outbound network calls (1 call). Its dependencies are pinned by yarn.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Polar still maintained?

Yes — the last commit was 23 hours ago. The repository has 862 stars and 187 forks and 76 open issues.

What tools does Polar provide?

Conduid read 48 tools from the source: add_litd_session, add_node, close_channel, close_tap_channel, create_asset_invoice, create_invoice, create_network, decode_tap_address and 40 more. 47 of them publish their parameters, listed under Tools above.

What license is Polar released under?

The repository declares the MIT license. That applies to the latest release, v4.0.0, as well.