Loading...

NWC MCP Server connects Lightning wallets to LLMs via Nostr Wallet Connect, enabling bitcoin payments and interactions within AI agent workflows.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
NWC MCP Server connects Lightning wallets to LLMs via Nostr Wallet Connect, enabling bitcoin payments and interactions within AI agent workflows.
The NWC MCP Server's safety depends heavily on the configuration of the NWC connection and the permissions granted. It's relatively safe for read-only operations or when user approval is strictly enforced for all transactions. However, it becomes risky if the NWC connection string is exposed or if the agent is granted broad permissions without sufficient oversight.
Performance is limited by the speed of the Lightning Network and the responsiveness of the connected wallet. Expect delays for transaction confirmations.
Lightning Network transaction fees are typically very low, but can vary depending on network congestion. Consider the cost of running the MCP server itself.
npx -y{
"mcpServers": {
"nwc": {
"command": "npx",
"args": ["-y", "@getalby/nwc-mcp-server"],
"env": {
"NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
}
}
}
}N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGENWC_CONNECTION_STRINGMODEnwc_invoiceCreates a Lightning invoice for payment.
Involves creating financial requests.
nwc_payPays a Lightning invoice.
Directly executes financial transactions.
nwc_get_balanceRetrieves the balance of the connected Lightning wallet.
Read-only operation.
nwc_get_infoRetrieves information about the connected Lightning wallet.
Read-only operation.
Environment Variable
hybrid
The NWC MCP Server's safety depends heavily on the configuration of the NWC connection and the permissions granted. It's relatively safe for read-only operations or when user approval is strictly enforced for all transactions. However, it becomes risky if the NWC connection string is exposed or if the agent is granted broad permissions without sufficient oversight.
Autonomy is limited by the NWC permissions. The agent can only perform actions explicitly allowed by the user's wallet configuration.
Production Tip
Monitor NWC connection status and wallet balance to ensure continuous operation.
NWC is a protocol that allows you to connect your Lightning wallet to applications without sharing your private keys.
Most modern Lightning wallets support NWC and will provide you with a connection string.
It depends on the permissions you grant to the agent. Start with minimal permissions and only grant more if needed.
Revoke the connection string in your wallet and generate a new one.
No, only wallets that support the Nostr Wallet Connect protocol are compatible.
Transaction fees are determined by the Lightning Network and are typically very low.
Monitor the logs of the MCP server and your Lightning wallet for transaction details.