beginner⏱️ 14-24 minutes📅 Updated June 2026

Step-by-step guide to integrate Alby Bitcoin Payments MCP server with GenAIScript. Includes send_payment and receive_payment.

Alby Bitcoin Payments + GenAIScript: 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 GenAIScript, 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 GenAIScript, 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 GenAIScript
  • 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
  • GenAIScript installed and configured
  • Compatible operating system (Windows, macOS, Linux, VS Code)

Installation

Step 1: Install Alby Bitcoin Payments

Configuration

Step 2: Configure GenAIScript

  1. Open GenAIScript settings
  2. Navigate to MCP server configuration
  3. Add Alby Bitcoin Payments server with appropriate settings
  4. Save and restart if needed

Examples

Once configured, you can use Alby Bitcoin Payments in GenAIScript:

E-commerce Integration

undefined

Ask GenAIScript: "Create invoice for $25 subscription payment"

Expected Result: undefined

Micropayments for Content

undefined

Ask GenAIScript: "Pay 100 sats for premium article access"

Expected Result: undefined

Global Remittance

undefined

Ask GenAIScript: "Send $50 worth of Bitcoin to family member"

Expected Result: undefined

Testing Your Setup

  1. Launch GenAIScript
  2. Verify Alby Bitcoin Payments is available in the tools list
  3. Test basic Alby Bitcoin Payments functionality

Troubleshooting

Common Issues

GenAIScript Installation Failed

Symptoms: npm install errors, Command not found

Cause: Node.js version or npm configuration issues

Solution:

  • Verify Node.js 18+ is installed
  • Check npm global installation permissions
  • Try using yarn instead of npm
  • Clear npm cache and retry installation

MCP Server Not Found

Symptoms: Server not available in scripts, Connection errors

Cause: Server configuration or PATH issues

Solution:

  • Verify server is properly installed
  • Check genaiscript.config.ts configuration
  • Use absolute path to server executable
  • Test server independently first

Script Execution Fails

Symptoms: Runtime errors, Tool execution failures

Cause: Script syntax or MCP integration issues

Solution:

  • Check TypeScript syntax and imports
  • Verify MCP server is responding
  • Use --debug flag for detailed logging
  • Test with simpler script first

VS Code Extension Issues

Symptoms: Extension not working, No intellisense

Cause: Extension installation or configuration problems

Solution:

  • Verify extension is properly installed
  • Reload VS Code window
  • Check workspace is GenAIScript project
  • Update extension to latest version

Alby Bitcoin Payments not appearing in GenAIScript

Symptoms: Server not listed, Tools not available

Cause: Configuration or installation issue

Solution:

  • Verify configuration syntax
  • Check Alby Bitcoin Payments installation
  • Restart GenAIScript
  • Check logs for error messages

Next Steps

Now that Alby Bitcoin Payments is integrated with GenAIScript:

  • Explore all Alby Bitcoin Payments capabilities through GenAIScript
  • Check out other MCP servers that work with GenAIScript
  • Join the MCP community for tips and support
  • Consider contributing to Alby Bitcoin Payments development

Need Help?

Related Resources

More Integrations

Explore other MCP servers that work with GenAIScript

Need Help?

Join the MCP community for support and discussions

Alby Bitcoin Payments + GenAIScript: MCP Setup Guide (2026)