BigBlocks

MCP Server

Bitcoin development toolkit for AI assistants via Model Context Protocol

BigBlocks MCP Server

The BigBlocks MCP (Model Context Protocol) Server provides Bitcoin development capabilities directly to AI assistants like Claude, enabling seamless Bitcoin application development.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI assistants to securely connect to external systems and tools. The BigBlocks MCP Server exposes Bitcoin functionality as a set of tools that AI assistants can use to help you build Bitcoin applications.

Features

  • Component Generation - Access to 90+ BigBlocks component prompts
  • Bitcoin Operations - Wallet creation, transaction signing, broadcasting
  • BSV Blockchain - Full Bitcoin SV blockchain integration
  • Code Examples - Production-ready code snippets and templates
  • Best Practices - Bitcoin development patterns and security guidelines

Quick Start

Installation

# Install globally
npm install -g bigblocks-mcp

# Or run directly
npx bigblocks-mcp

Connect to Claude

  1. Install the MCP Server:

    npm install -g bigblocks-mcp
  2. Add to Claude Desktop: Open Claude Desktop settings and add:

    {
      "mcpServers": {
        "bigblocks": {
          "command": "npx",
          "args": ["bigblocks-mcp"]
        }
      }
    }
  3. Restart Claude Desktop and you'll see BigBlocks tools available

Available Tools

Component Tools

  • get_component_prompt - Get prompts for specific BigBlocks components
  • search_components - Search components by category or functionality
  • list_categories - List all available component categories

Bitcoin Tools

  • create_wallet - Generate new Bitcoin wallets
  • sign_transaction - Sign Bitcoin transactions
  • broadcast_transaction - Broadcast transactions to BSV network
  • get_balance - Check wallet balances
  • get_utxos - Retrieve unspent transaction outputs

Development Tools

  • generate_template - Create project templates with BigBlocks
  • validate_setup - Check development environment
  • get_examples - Access code examples and patterns

Example Usage

Once connected, you can ask Claude:

"Create a Bitcoin payment button component using BigBlocks"

Claude will use the MCP server to:

  1. Fetch the appropriate component prompt
  2. Generate the code with proper Bitcoin integration
  3. Provide setup and usage instructions
  4. Include security best practices

Configuration

The MCP server supports various configuration options:

{
  "mcpServers": {
    "bigblocks": {
      "command": "npx",
      "args": ["bigblocks-mcp"],
      "env": {
        "BIGBLOCKS_API_URL": "https://api.bigblocks.dev",
        "BSV_NETWORK": "mainnet"
      }
    }
  }
}

Supported AI Assistants

  • Claude Desktop - Full support
  • VS Code with MCP - Full support
  • Cursor - Full support
  • Other MCP-compatible tools - Basic support

Security

The MCP server follows security best practices:

  • No private keys are stored or transmitted
  • All Bitcoin operations use proper signing workflows
  • API calls are authenticated and rate-limited
  • Local development mode available for testing

Getting Help

Next Steps

  1. Install the MCP Server
  2. Explore Components
  3. Read the Getting Started Guide
  4. Join the Community