beginner⏱️ 14-24 minutes📅 Updated June 2026

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

Alby Bitcoin Payments + SpinAI: 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 SpinAI, 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 SpinAI, 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 SpinAI
  • 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
  • SpinAI installed and configured
  • Compatible operating system (Node.js)

Installation

Step 1: Install Alby Bitcoin Payments

Configuration

Step 2: Configure SpinAI

  1. Open SpinAI 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 SpinAI:

E-commerce Integration

undefined

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

Expected Result: undefined

Micropayments for Content

undefined

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

Expected Result: undefined

Global Remittance

undefined

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

Expected Result: undefined

Testing Your Setup

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

Troubleshooting

Common Issues

Tool Execution Error

Symptoms: Agent fails to retrieve data

Cause: MCP server process crashed or returned invalid JSON

Solution:

  • Enable debug logging in SpinAI
  • Check stderr of the MCP server process

Timeout

Symptoms: Agent hangs on tool call

Cause: MCP server is unresponsive

Solution:

  • Configure timeouts in createMCPTool options

Alby Bitcoin Payments not appearing in SpinAI

Symptoms: Server not listed, Tools not available

Cause: Configuration or installation issue

Solution:

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

Next Steps

Now that Alby Bitcoin Payments is integrated with SpinAI:

  • Explore all Alby Bitcoin Payments capabilities through SpinAI
  • Check out other MCP servers that work with SpinAI
  • 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 SpinAI

Need Help?

Join the MCP community for support and discussions

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