Skip to main content
Glama
daedalus

mcp-python-bitcoinlib

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_private_keyA

Generate a random private key and return it as a 32-byte hex string.

privkey_to_wifB

Convert a private key (hex) to WIF format.

wif_to_privkeyA

Convert a WIF-encoded private key back to hex.

privkey_to_pubkeyB

Get the public key from a private key.

pubkey_to_addressC

Convert a public key to an address.

pubkey_to_p2sh_p2wpkh_redeemscriptC

Get the P2SH-P2WPKH redeemScript for a public key.

address_to_scriptC

Get the script from an address.

create_transactionB

Create an unsigned Bitcoin transaction.

serialize_transactionC

Serialize and deserialize a transaction.

sign_transactionC

Sign a transaction input with a private key.

parse_scriptA

Parse a script into its opcodes.

create_p2pkh_scriptB

Create a P2PKH script from a public key hash.

create_p2wpkh_scriptB

Create a P2WPKH script from a public key hash.

sha256_hexC

Compute SHA256 hash.

ripemd160_hexA

Compute RIPEMD160 hash.

hash160_hexA

Compute Hash160 (SHA256 then RIPEMD160).

hash256_hexB

Compute double SHA256.

verify_signatureB

Verify an ECDSA signature.

sign_messageC

Sign a message with a private key.

validate_addressB

Validate a Bitcoin address for a given network.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_networksGet list of available Bitcoin networks.
get_address_typesGet list of supported address types.

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/daedalus/mcp-python-bitcoinlib'

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