Skip to main content
Glama

list_rpc_commands

Discover available Bitcoin RPC commands organized by category to interact with the Bitcoin network through the Bitcoin-MCP server.

Instructions

List all available RPC commands grouped by category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The `list_rpc_commands` tool handler, which queries the RPC `help` command, parses the output to group commands by category, and returns the categorized list as a JSON object.
        A listing is VULNERABLE when it uses SIGHASH_SINGLE|ANYONECANPAY without a 2-of-2
        multisig locking step — an attacker can redirect the inscription before confirmation.
        A listing is PROTECTED when the inscription is locked in a 2-of-2 P2WSH multisig and
        the marketplace co-signs with SIGHASH_ALL, preventing any transaction modification.
    
        No Bitcoin node required — analysis is pure PSBT parsing (BIP 174).
    
        Args:
            psbt_hex: Hex-encoded PSBT string (BIP 174 v0)
        """
        result = _psbt_analyze(psbt_hex)
        return json.dumps(result, indent=2)
    
    
    @mcp.tool()
    def explain_inscription_listing_security(psbt_hex: str) -> str:
        """Explain in plain language whether an ordinals inscription listing is snipe-resistant.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bortlesboat/bitcoin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server