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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/bitcoin_mcp/server.py:1743-1760 (handler)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.