Alby Bitcoin Payments + mcphub.nvim: Complete MCP Integration
Alby Bitcoin Payments is a MCP server that Connect any bitcoin lightning wallet to your agent to send and receive instant payments globally with your agent..
When integrated with mcphub.nvim, you can:
- Send Lightning Network payments instantly
- Generate invoices to receive Lightning payments
- Check current Lightning wallet balance
This guide provides step-by-step instructions to set up Alby Bitcoin Payments in mcphub.nvim, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- Alby Bitcoin Payments will be fully integrated and operational
- You can use Alby Bitcoin Payments tools directly in mcphub.nvim
- All Alby Bitcoin Payments capabilities will be available for your workflows
- Access to 5 different tools
Prerequisites
Before starting, ensure you have:
- Nostr Wallet Connect connection string from Lightning wallet
- mcphub.nvim installed and configured
- Compatible operating system (Neovim)
Installation
Step 1: Install Alby Bitcoin Payments
Configuration
Step 2: Configure mcphub.nvim
-
Locate your configuration file:
- Windows:
%LOCALAPPDATA%\mcphub\servers.json - macOS:
~/.config/mcphub/servers.json - Linux:
~/.config/mcphub/servers.json
- Windows:
-
Add server configuration:
{
"mcpServers": {
"alby-bitcoin-payments": {
"command": "alby bitcoin payments",
"args": [],
"env": {
"NWC_CONNECTION_STRING": "nostr+walletconnect://...",
"ALBY_AUTH_TOKEN": "bearer_token_abc123"
}
}
}
}
- Restart mcphub.nvim
Completely quit and restart mcphub.nvim to load the new configuration.
Examples
Once configured, you can use Alby Bitcoin Payments in mcphub.nvim:
E-commerce Integration
undefined
Ask mcphub.nvim: "Create invoice for $25 subscription payment"
Expected Result: undefined
Micropayments for Content
undefined
Ask mcphub.nvim: "Pay 100 sats for premium article access"
Expected Result: undefined
Global Remittance
undefined
Ask mcphub.nvim: "Send $50 worth of Bitcoin to family member"
Expected Result: undefined
Testing Your Setup
- Launch mcphub.nvim
- Verify Alby Bitcoin Payments is available in the tools list
- Test basic Alby Bitcoin Payments functionality
Troubleshooting
Common Issues
Servers not showing in :McpHub
Symptoms: Empty server list, Configuration not loaded
Cause: Incorrect configuration file path or JSON syntax error
Solution:
- Verify servers.json exists in ~/.config/mcphub/ or .vscode/mcp.json in project root
- Check JSON syntax for errors (trailing commas, missing quotes)
- Run :checkhealth mcphub to diagnose issues
Tool execution fails
Symptoms: Error message when AI tries to use tool, No response
Cause: Server command failed or environment variables missing
Solution:
- Check server logs in :McpHub
- Verify "command" path is correct and executable
- Ensure required environment variables are set in the config
Chat plugin not recognizing tools
Symptoms: AI says it cannot perform the action, Tools not listed in chat
Cause: Integration issue with the specific chat plugin
Solution:
- Ensure you are using a supported version of the chat plugin
- Check mcphub.nvim documentation for plugin-specific setup instructions
- Restart Neovim to reload the integration
Alby Bitcoin Payments not appearing in mcphub.nvim
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Alby Bitcoin Payments installation
- Restart mcphub.nvim
- Check logs for error messages
Next Steps
Now that Alby Bitcoin Payments is integrated with mcphub.nvim:
- Explore all Alby Bitcoin Payments capabilities through mcphub.nvim
- Check out other MCP servers that work with mcphub.nvim
- Join the MCP community for tips and support
- Consider contributing to Alby Bitcoin Payments development
Need Help?
- Search for Alby Bitcoin Payments documentation
- Check the mcphub.nvim MCP guide
- Join the MCP community discussions