hedera-mcp

v0.5.0
io.github.ExpertVagabond/hedera-mcp Checked 14 hours ago Published 6 months ago

Build-only Hedera (Hashgraph) MCP — 73 tools across all core services plus analytics reads.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hedera_create_account

Build (unsigned) a new Hedera account with a given public key and optional initial HBAR balance.

ParameterTypeDescription
publicKey *stringED25519 or ECDSA public key (DER or hex) controlling the new account
initialBalanceHbarnumberInitial balance in HBAR (default 0)
maxAutomaticTokenAssociationsintegerAuto token-association slots
memostringAccount memo
payerAccountIdstringPayer (defaults to HEDERA_OPERATOR_ID)

hedera_transfer_hbar

Build (unsigned) an HBAR transfer from one account to another.

ParameterTypeDescription
amountHbar *numberAmount in HBAR
toAccountId *stringRecipient account id, e.g. 0.0.1234
fromAccountIdstringSender (defaults to payer)
memostringTransaction memo
payerAccountIdstring

hedera_update_account

Build (unsigned) an account update (memo, auto-association slots).

ParameterTypeDescription
accountId *stringAccount to update
maxAutomaticTokenAssociationsinteger
memostring
payerAccountIdstring

hedera_delete_account

Build (unsigned) an account deletion, transferring the remaining balance to another account.

ParameterTypeDescription
accountId *stringAccount to delete
transferAccountId *stringAccount that receives the remaining balance
payerAccountIdstring

hedera_approve_hbar_allowance

Build (unsigned) an HBAR allowance granting a spender the right to spend from an owner account.

ParameterTypeDescription
amountHbar *numberAllowance amount in HBAR
spenderAccountId *stringSpender granted the allowance
ownerAccountIdstringOwner (defaults to payer)
payerAccountIdstring

hedera_get_account_info

Read full account info (key, balance, memo, auto-renew, associations) from the Mirror Node.

ParameterTypeDescription
accountId *stringAccount id or EVM address

hedera_get_account_balance

Read an account's HBAR and token balances from the Mirror Node.

ParameterTypeDescription
accountId *stringAccount id or EVM address

hedera_get_account_nfts

List NFTs owned by an account from the Mirror Node.

ParameterTypeDescription
accountId *stringAccount id
limitintegerMax NFTs (default 25)

hedera_create_fungible_token

Build (unsigned) a new fungible token (HTS). Treasury defaults to the payer.

ParameterTypeDescription
name *stringToken name
symbol *stringToken symbol
adminKeystringAdmin public key (enables future updates)
customFeeHbarnumberOptional fixed HBAR fee charged on each transfer
decimalsintegerDecimals (default 0)
feeCollectorAccountIdstringAccount that collects the custom fee (defaults to treasury)
freezeKeystringFreeze public key (enables freeze/unfreeze)
initialSupplyintegerInitial supply in base units (default 0)
kycKeystringKYC public key (enables grant/revoke KYC)
maxSupplyintegerRequired if supplyType=finite
memostring
pauseKeystringPause public key (enables pause/unpause)
payerAccountIdstring
supplyKeystringSupply public key (enables mint/burn)
supplyTypestringDefault infinite
treasuryAccountIdstringTreasury (defaults to payer)
wipeKeystringWipe public key (enables wipe)

hedera_create_nft_collection

Build (unsigned) a new non-fungible token collection (HTS). A supply key is required to mint.

ParameterTypeDescription
name *string
supplyKey *stringSupply public key — required to mint NFTs
symbol *string
adminKeystring
maxSupplyinteger
memostring
payerAccountIdstring
royaltyCollectorAccountIdstringRoyalty collector (defaults to treasury)
royaltyDenominatorintegerRoyalty fee denominator
royaltyFallbackHbarnumberFallback HBAR fee when no fungible value is exchanged
royaltyNumeratorintegerRoyalty fee numerator (use with denominator)
treasuryAccountIdstring

hedera_mint_fungible

Build (unsigned) a mint of additional fungible token supply.

ParameterTypeDescription
amount *integerAmount in base units
tokenId *string
payerAccountIdstring

hedera_mint_nft

Build (unsigned) a mint of one or more NFTs with metadata (e.g. IPFS CIDs).

ParameterTypeDescription
metadata *arrayPer-NFT metadata strings (≤100 bytes each)
tokenId *string
payerAccountIdstring

hedera_burn_token

Build (unsigned) a burn of fungible amount or specific NFT serials.

ParameterTypeDescription
tokenId *string
amountintegerFungible amount to burn
payerAccountIdstring
serialsarrayNFT serials to burn

hedera_transfer_token

Build (unsigned) a fungible token transfer between two accounts.

ParameterTypeDescription
amount *integerAmount in base units
toAccountId *string
tokenId *string
fromAccountIdstringSender (defaults to payer)
payerAccountIdstring

hedera_transfer_nft

Build (unsigned) an NFT transfer of a specific serial between two accounts.

ParameterTypeDescription
serial *integer
toAccountId *string
tokenId *string
fromAccountIdstringCurrent owner (defaults to payer)
payerAccountIdstring

hedera_associate_token

Build (unsigned) a token association so an account can hold the given token(s).

ParameterTypeDescription
accountId *string
tokenIds *array
payerAccountIdstring

hedera_dissociate_token

Build (unsigned) a token dissociation.

ParameterTypeDescription
accountId *string
tokenIds *array
payerAccountIdstring

hedera_freeze_token_account

Build (unsigned): Freeze an account for a token (blocks transfers).

ParameterTypeDescription
accountId *string
tokenId *string
payerAccountIdstring

hedera_unfreeze_token_account

Build (unsigned): Unfreeze an account for a token.

ParameterTypeDescription
accountId *string
tokenId *string
payerAccountIdstring

hedera_grant_kyc

Build (unsigned): Grant KYC to an account for a token.

ParameterTypeDescription
accountId *string
tokenId *string
payerAccountIdstring

hedera_revoke_kyc

Build (unsigned): Revoke KYC from an account for a token.

ParameterTypeDescription
accountId *string
tokenId *string
payerAccountIdstring

hedera_pause_token

Build (unsigned) a token pause (halts all transfers of the token).

ParameterTypeDescription
tokenId *string
payerAccountIdstring

hedera_unpause_token

Build (unsigned) a token unpause.

ParameterTypeDescription
tokenId *string
payerAccountIdstring

hedera_wipe_token

Build (unsigned) a wipe of fungible amount or NFT serials from an account.

ParameterTypeDescription
accountId *string
tokenId *string
amountinteger
payerAccountIdstring
serialsarray

hedera_delete_token

Build (unsigned) a token deletion (requires the admin key to sign).

ParameterTypeDescription
tokenId *string
payerAccountIdstring

hedera_update_token

Build (unsigned) an update to a token's name, symbol, memo, or treasury (requires the admin key to sign).

ParameterTypeDescription
tokenId *string
memostring
namestring
payerAccountIdstring
symbolstring
treasuryAccountIdstring

hedera_token_airdrop

Build (unsigned) a fungible-token airdrop (HIP-904) — auto-associates recipients without prior opt-in.

ParameterTypeDescription
amount *integerAmount in base units
toAccountId *string
tokenId *string
fromAccountIdstringSender (defaults to payer)
payerAccountIdstring

hedera_reject_token

Build (unsigned) a token rejection (HIP-904) — returns an unwanted token to its treasury.

ParameterTypeDescription
tokenId *string
ownerAccountIdstringHolder rejecting (defaults to payer)
payerAccountIdstring

hedera_approve_token_allowance

Build (unsigned) a fungible-token spending allowance for a spender.

ParameterTypeDescription
amount *integerAllowance amount in base units
spenderAccountId *string
tokenId *string
ownerAccountIdstringOwner (defaults to payer)
payerAccountIdstring

hedera_approve_nft_allowance

Build (unsigned) an NFT allowance for all serials of a collection (approve-for-all).

ParameterTypeDescription
spenderAccountId *string
tokenId *string
ownerAccountIdstringOwner (defaults to payer)
payerAccountIdstring

hedera_get_token_info

Read token info (type, supply, keys, custom fees) from the Mirror Node.

ParameterTypeDescription
tokenId *string

hedera_get_nft_info

Read a specific NFT's info (owner, metadata, serial) from the Mirror Node.

ParameterTypeDescription
serial *integer
tokenId *string

hedera_create_topic

Build (unsigned) a new HCS topic for ordered, timestamped messages.

ParameterTypeDescription
adminKeystringAdmin public key (enables update/delete)
memostringTopic memo
payerAccountIdstring
submitKeystringSubmit public key (restricts who can post)

hedera_submit_message

Build (unsigned) a message submission to an HCS topic.

ParameterTypeDescription
message *stringUTF-8 message payload
topicId *string
payerAccountIdstring

hedera_update_topic

Build (unsigned) an update to an HCS topic memo.

ParameterTypeDescription
memo *string
topicId *string
payerAccountIdstring

hedera_delete_topic

Build (unsigned) a deletion of an HCS topic (requires admin key).

ParameterTypeDescription
topicId *string
payerAccountIdstring

hedera_get_topic_info

Read HCS topic info from the Mirror Node.

ParameterTypeDescription
topicId *string

hedera_get_topic_messages

Read recent messages from an HCS topic via the Mirror Node (decodes base64 payloads).

ParameterTypeDescription
topicId *string
limitintegerMax messages (default 25)

hedera_deploy_contract

Build (unsigned) a contract deployment from bytecode already stored in a Hedera File (see hedera_create_file).

ParameterTypeDescription
bytecodeFileId *stringFile id holding the compiled bytecode (hex)
gas *integerGas limit, e.g. 100000
adminKeystringAdmin public key for the contract
constructorParamsBase64stringABI-encoded constructor params as base64 (omit if none)
initialBalanceHbarnumberInitial contract balance in HBAR
payerAccountIdstring

hedera_execute_contract

Build (unsigned) a state-changing contract call. Pass { abi, functionName, args } for automatic encoding, or raw functionParametersBase64.

ParameterTypeDescription
contractId *stringContract id (0.0.x) or EVM address
gas *integer
abiarrayContract ABI (JSON array) — enables auto encode/decode
argsarrayFunction arguments (used with abi)
functionNamestringFunction name to call (used with abi)
functionParametersBase64stringFallback: ABI-encoded calldata (selector + args) as base64
payableAmountHbarnumberHBAR to send with the call
payerAccountIdstring

hedera_update_contract

Build (unsigned) an update to a contract's memo or admin key (requires admin key to sign).

ParameterTypeDescription
contractId *string
memostring
payerAccountIdstring

hedera_delete_contract

Build (unsigned) a contract deletion, transferring any balance to an account.

ParameterTypeDescription
contractId *string
transferAccountId *stringAccount that receives the contract's remaining balance
payerAccountIdstring

hedera_query_contract

Read a contract view/pure function via Mirror Node eth_call (keyless, no gas). Pass { abi, functionName, args } for auto encode/decode, or raw dataHex.

ParameterTypeDescription
contractIdOrAddress *stringContract id (0.0.x) or 0x EVM address
abiarrayContract ABI (JSON array) — enables auto encode/decode
argsarrayFunction arguments (used with abi)
dataHexstringFallback: ABI-encoded calldata as 0x-prefixed hex
fromAddressstringOptional 0x caller address
functionNamestringFunction name to call (used with abi)

hedera_get_contract_info

Read contract info (admin key, bytecode metadata, EVM address) from the Mirror Node.

ParameterTypeDescription
contractId *string

hedera_create_file

Build (unsigned) a new file. Useful for storing compiled contract bytecode before deployment.

ParameterTypeDescription
contents *stringFile contents (UTF-8 text or hex bytecode)
keystringPublic key controlling the file (enables append/update/delete)
memostring
payerAccountIdstring

hedera_append_file

Build (unsigned) an append to an existing file (for bytecode larger than one transaction).

ParameterTypeDescription
contents *string
fileId *string
payerAccountIdstring

hedera_update_file

Build (unsigned) an update that replaces a file's contents and/or memo.

ParameterTypeDescription
fileId *string
contentsstring
memostring
payerAccountIdstring

hedera_delete_file

Build (unsigned) a file deletion.

ParameterTypeDescription
fileId *string
payerAccountIdstring

hedera_create_schedule

Build (unsigned) a scheduled HBAR transfer — wraps an inner transfer so multiple parties can sign before it executes.

ParameterTypeDescription
amountHbar *numberAmount in HBAR
toAccountId *stringRecipient of the scheduled transfer
adminKeystringAdmin public key (enables schedule deletion)
fromAccountIdstringSender (defaults to payer)
memostring
payerAccountIdstring
schedulePayerAccountIdstringAccount that pays when the schedule executes

hedera_sign_schedule

Build (unsigned) a signature add to an existing scheduled transaction.

ParameterTypeDescription
scheduleId *string
payerAccountIdstring

hedera_delete_schedule

Build (unsigned) a deletion of a scheduled transaction (requires admin key).

ParameterTypeDescription
scheduleId *string
payerAccountIdstring

hedera_get_schedule_info

Read scheduled-transaction info (signatures, executed status) from the Mirror Node.

ParameterTypeDescription
scheduleId *string

hedera_get_transaction

Read a transaction's records/results from the Mirror Node by transaction id.

ParameterTypeDescription
transactionId *stringe.g. 0.0.1234-1700000000-000000000 or 0.0.1234@1700000000.0

hedera_get_network_nodes

List the network's consensus nodes and stake from the Mirror Node.

hedera_get_exchange_rate

Read the current HBAR↔USD exchange rate from the Mirror Node.

hedera_get_network_supply

Read total/circulating HBAR supply from the Mirror Node.

hedera_get_network_fees

Read the current network fee schedule from the Mirror Node.

hedera_prng

Build (unsigned) a pseudo-random number generation transaction (native on-chain RNG). Optionally bound to [0, range).

ParameterTypeDescription
payerAccountIdstring
rangeintegerIf set, result is a uint in [0, range)

hedera_decode_transaction

Decode a base64 transaction (e.g. one built by this server) into a human-readable summary — useful for review before signing.

ParameterTypeDescription
transactionBase64 *stringBase64 transaction bytes

hedera_get_block

Read a block by number or hash from the Mirror Node.

ParameterTypeDescription
numberOrHash *stringBlock number or hash

hedera_get_blocks

List recent blocks from the Mirror Node.

ParameterTypeDescription
limitinteger

hedera_get_account_transactions

List recent transactions for an account from the Mirror Node.

ParameterTypeDescription
accountId *string
limitinteger

hedera_get_token_balances

List the accounts holding a token and their balances, from the Mirror Node.

ParameterTypeDescription
tokenId *string
limitinteger

hedera_get_token_nfts

List the minted NFTs (serials) of an NFT collection from the Mirror Node.

ParameterTypeDescription
tokenId *string
limitinteger

hedera_get_nft_history

Read the transfer/mint history of a specific NFT serial from the Mirror Node.

ParameterTypeDescription
serial *integer
tokenId *string

hedera_get_account_allowances

Read an account's active HBAR (crypto) allowances from the Mirror Node.

ParameterTypeDescription
accountId *string

hedera_get_account_token_allowances

Read an account's active fungible-token allowances from the Mirror Node.

ParameterTypeDescription
accountId *string

hedera_get_account_nft_allowances

Read an account's active NFT (approve-for-all) allowances from the Mirror Node.

ParameterTypeDescription
accountId *string

hedera_get_contract_results

List recent execution results for a contract from the Mirror Node.

ParameterTypeDescription
contractId *string
limitinteger

hedera_get_contract_state

Read a contract's current storage slots from the Mirror Node.

ParameterTypeDescription
contractId *string
limitinteger

hedera_get_network_stake

Read network-wide staking info (total staked, reward rate) from the Mirror Node.

hedera_search_accounts_by_pubkey

Find accounts controlled by a given public key from the Mirror Node.

ParameterTypeDescription
publicKey *stringPublic key (hex/DER)

hedera_get_account_by_evm

Resolve a Hedera account from a 0x EVM address via the Mirror Node.

ParameterTypeDescription
evmAddress *string0x-prefixed EVM address