hedera-mcp
v0.5.0Build-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.
| Parameter | Type | Description |
|---|---|---|
publicKey * | string | ED25519 or ECDSA public key (DER or hex) controlling the new account |
initialBalanceHbar | number | Initial balance in HBAR (default 0) |
maxAutomaticTokenAssociations | integer | Auto token-association slots |
memo | string | Account memo |
payerAccountId | string | Payer (defaults to HEDERA_OPERATOR_ID) |
hedera_transfer_hbar
Build (unsigned) an HBAR transfer from one account to another.
| Parameter | Type | Description |
|---|---|---|
amountHbar * | number | Amount in HBAR |
toAccountId * | string | Recipient account id, e.g. 0.0.1234 |
fromAccountId | string | Sender (defaults to payer) |
memo | string | Transaction memo |
payerAccountId | string |
hedera_update_account
Build (unsigned) an account update (memo, auto-association slots).
| Parameter | Type | Description |
|---|---|---|
accountId * | string | Account to update |
maxAutomaticTokenAssociations | integer | |
memo | string | |
payerAccountId | string |
hedera_delete_account
Build (unsigned) an account deletion, transferring the remaining balance to another account.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | Account to delete |
transferAccountId * | string | Account that receives the remaining balance |
payerAccountId | string |
hedera_approve_hbar_allowance
Build (unsigned) an HBAR allowance granting a spender the right to spend from an owner account.
| Parameter | Type | Description |
|---|---|---|
amountHbar * | number | Allowance amount in HBAR |
spenderAccountId * | string | Spender granted the allowance |
ownerAccountId | string | Owner (defaults to payer) |
payerAccountId | string |
hedera_get_account_info
Read full account info (key, balance, memo, auto-renew, associations) from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | Account id or EVM address |
hedera_get_account_balance
Read an account's HBAR and token balances from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | Account id or EVM address |
hedera_get_account_nfts
List NFTs owned by an account from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | Account id |
limit | integer | Max NFTs (default 25) |
hedera_create_fungible_token
Build (unsigned) a new fungible token (HTS). Treasury defaults to the payer.
| Parameter | Type | Description |
|---|---|---|
name * | string | Token name |
symbol * | string | Token symbol |
adminKey | string | Admin public key (enables future updates) |
customFeeHbar | number | Optional fixed HBAR fee charged on each transfer |
decimals | integer | Decimals (default 0) |
feeCollectorAccountId | string | Account that collects the custom fee (defaults to treasury) |
freezeKey | string | Freeze public key (enables freeze/unfreeze) |
initialSupply | integer | Initial supply in base units (default 0) |
kycKey | string | KYC public key (enables grant/revoke KYC) |
maxSupply | integer | Required if supplyType=finite |
memo | string | |
pauseKey | string | Pause public key (enables pause/unpause) |
payerAccountId | string | |
supplyKey | string | Supply public key (enables mint/burn) |
supplyType | string | Default infinite |
treasuryAccountId | string | Treasury (defaults to payer) |
wipeKey | string | Wipe public key (enables wipe) |
hedera_create_nft_collection
Build (unsigned) a new non-fungible token collection (HTS). A supply key is required to mint.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
supplyKey * | string | Supply public key — required to mint NFTs |
symbol * | string | |
adminKey | string | |
maxSupply | integer | |
memo | string | |
payerAccountId | string | |
royaltyCollectorAccountId | string | Royalty collector (defaults to treasury) |
royaltyDenominator | integer | Royalty fee denominator |
royaltyFallbackHbar | number | Fallback HBAR fee when no fungible value is exchanged |
royaltyNumerator | integer | Royalty fee numerator (use with denominator) |
treasuryAccountId | string |
hedera_mint_fungible
Build (unsigned) a mint of additional fungible token supply.
| Parameter | Type | Description |
|---|---|---|
amount * | integer | Amount in base units |
tokenId * | string | |
payerAccountId | string |
hedera_mint_nft
Build (unsigned) a mint of one or more NFTs with metadata (e.g. IPFS CIDs).
| Parameter | Type | Description |
|---|---|---|
metadata * | array | Per-NFT metadata strings (≤100 bytes each) |
tokenId * | string | |
payerAccountId | string |
hedera_burn_token
Build (unsigned) a burn of fungible amount or specific NFT serials.
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
amount | integer | Fungible amount to burn |
payerAccountId | string | |
serials | array | NFT serials to burn |
hedera_transfer_token
Build (unsigned) a fungible token transfer between two accounts.
| Parameter | Type | Description |
|---|---|---|
amount * | integer | Amount in base units |
toAccountId * | string | |
tokenId * | string | |
fromAccountId | string | Sender (defaults to payer) |
payerAccountId | string |
hedera_transfer_nft
Build (unsigned) an NFT transfer of a specific serial between two accounts.
| Parameter | Type | Description |
|---|---|---|
serial * | integer | |
toAccountId * | string | |
tokenId * | string | |
fromAccountId | string | Current owner (defaults to payer) |
payerAccountId | string |
hedera_associate_token
Build (unsigned) a token association so an account can hold the given token(s).
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
tokenIds * | array | |
payerAccountId | string |
hedera_dissociate_token
Build (unsigned) a token dissociation.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
tokenIds * | array | |
payerAccountId | string |
hedera_freeze_token_account
Build (unsigned): Freeze an account for a token (blocks transfers).
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
tokenId * | string | |
payerAccountId | string |
hedera_unfreeze_token_account
Build (unsigned): Unfreeze an account for a token.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
tokenId * | string | |
payerAccountId | string |
hedera_grant_kyc
Build (unsigned): Grant KYC to an account for a token.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
tokenId * | string | |
payerAccountId | string |
hedera_revoke_kyc
Build (unsigned): Revoke KYC from an account for a token.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
tokenId * | string | |
payerAccountId | string |
hedera_pause_token
Build (unsigned) a token pause (halts all transfers of the token).
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
payerAccountId | string |
hedera_unpause_token
Build (unsigned) a token unpause.
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
payerAccountId | string |
hedera_wipe_token
Build (unsigned) a wipe of fungible amount or NFT serials from an account.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
tokenId * | string | |
amount | integer | |
payerAccountId | string | |
serials | array |
hedera_delete_token
Build (unsigned) a token deletion (requires the admin key to sign).
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
payerAccountId | string |
hedera_update_token
Build (unsigned) an update to a token's name, symbol, memo, or treasury (requires the admin key to sign).
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
memo | string | |
name | string | |
payerAccountId | string | |
symbol | string | |
treasuryAccountId | string |
hedera_token_airdrop
Build (unsigned) a fungible-token airdrop (HIP-904) — auto-associates recipients without prior opt-in.
| Parameter | Type | Description |
|---|---|---|
amount * | integer | Amount in base units |
toAccountId * | string | |
tokenId * | string | |
fromAccountId | string | Sender (defaults to payer) |
payerAccountId | string |
hedera_reject_token
Build (unsigned) a token rejection (HIP-904) — returns an unwanted token to its treasury.
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
ownerAccountId | string | Holder rejecting (defaults to payer) |
payerAccountId | string |
hedera_approve_token_allowance
Build (unsigned) a fungible-token spending allowance for a spender.
| Parameter | Type | Description |
|---|---|---|
amount * | integer | Allowance amount in base units |
spenderAccountId * | string | |
tokenId * | string | |
ownerAccountId | string | Owner (defaults to payer) |
payerAccountId | string |
hedera_approve_nft_allowance
Build (unsigned) an NFT allowance for all serials of a collection (approve-for-all).
| Parameter | Type | Description |
|---|---|---|
spenderAccountId * | string | |
tokenId * | string | |
ownerAccountId | string | Owner (defaults to payer) |
payerAccountId | string |
hedera_get_token_info
Read token info (type, supply, keys, custom fees) from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
tokenId * | string |
hedera_get_nft_info
Read a specific NFT's info (owner, metadata, serial) from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
serial * | integer | |
tokenId * | string |
hedera_create_topic
Build (unsigned) a new HCS topic for ordered, timestamped messages.
| Parameter | Type | Description |
|---|---|---|
adminKey | string | Admin public key (enables update/delete) |
memo | string | Topic memo |
payerAccountId | string | |
submitKey | string | Submit public key (restricts who can post) |
hedera_submit_message
Build (unsigned) a message submission to an HCS topic.
| Parameter | Type | Description |
|---|---|---|
message * | string | UTF-8 message payload |
topicId * | string | |
payerAccountId | string |
hedera_update_topic
Build (unsigned) an update to an HCS topic memo.
| Parameter | Type | Description |
|---|---|---|
memo * | string | |
topicId * | string | |
payerAccountId | string |
hedera_delete_topic
Build (unsigned) a deletion of an HCS topic (requires admin key).
| Parameter | Type | Description |
|---|---|---|
topicId * | string | |
payerAccountId | string |
hedera_get_topic_info
Read HCS topic info from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
topicId * | string |
hedera_get_topic_messages
Read recent messages from an HCS topic via the Mirror Node (decodes base64 payloads).
| Parameter | Type | Description |
|---|---|---|
topicId * | string | |
limit | integer | Max messages (default 25) |
hedera_deploy_contract
Build (unsigned) a contract deployment from bytecode already stored in a Hedera File (see hedera_create_file).
| Parameter | Type | Description |
|---|---|---|
bytecodeFileId * | string | File id holding the compiled bytecode (hex) |
gas * | integer | Gas limit, e.g. 100000 |
adminKey | string | Admin public key for the contract |
constructorParamsBase64 | string | ABI-encoded constructor params as base64 (omit if none) |
initialBalanceHbar | number | Initial contract balance in HBAR |
payerAccountId | string |
hedera_execute_contract
Build (unsigned) a state-changing contract call. Pass { abi, functionName, args } for automatic encoding, or raw functionParametersBase64.
| Parameter | Type | Description |
|---|---|---|
contractId * | string | Contract id (0.0.x) or EVM address |
gas * | integer | |
abi | array | Contract ABI (JSON array) — enables auto encode/decode |
args | array | Function arguments (used with abi) |
functionName | string | Function name to call (used with abi) |
functionParametersBase64 | string | Fallback: ABI-encoded calldata (selector + args) as base64 |
payableAmountHbar | number | HBAR to send with the call |
payerAccountId | string |
hedera_update_contract
Build (unsigned) an update to a contract's memo or admin key (requires admin key to sign).
| Parameter | Type | Description |
|---|---|---|
contractId * | string | |
memo | string | |
payerAccountId | string |
hedera_delete_contract
Build (unsigned) a contract deletion, transferring any balance to an account.
| Parameter | Type | Description |
|---|---|---|
contractId * | string | |
transferAccountId * | string | Account that receives the contract's remaining balance |
payerAccountId | string |
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.
| Parameter | Type | Description |
|---|---|---|
contractIdOrAddress * | string | Contract id (0.0.x) or 0x EVM address |
abi | array | Contract ABI (JSON array) — enables auto encode/decode |
args | array | Function arguments (used with abi) |
dataHex | string | Fallback: ABI-encoded calldata as 0x-prefixed hex |
fromAddress | string | Optional 0x caller address |
functionName | string | Function name to call (used with abi) |
hedera_get_contract_info
Read contract info (admin key, bytecode metadata, EVM address) from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
contractId * | string |
hedera_create_file
Build (unsigned) a new file. Useful for storing compiled contract bytecode before deployment.
| Parameter | Type | Description |
|---|---|---|
contents * | string | File contents (UTF-8 text or hex bytecode) |
key | string | Public key controlling the file (enables append/update/delete) |
memo | string | |
payerAccountId | string |
hedera_append_file
Build (unsigned) an append to an existing file (for bytecode larger than one transaction).
| Parameter | Type | Description |
|---|---|---|
contents * | string | |
fileId * | string | |
payerAccountId | string |
hedera_update_file
Build (unsigned) an update that replaces a file's contents and/or memo.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | |
contents | string | |
memo | string | |
payerAccountId | string |
hedera_delete_file
Build (unsigned) a file deletion.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | |
payerAccountId | string |
hedera_create_schedule
Build (unsigned) a scheduled HBAR transfer — wraps an inner transfer so multiple parties can sign before it executes.
| Parameter | Type | Description |
|---|---|---|
amountHbar * | number | Amount in HBAR |
toAccountId * | string | Recipient of the scheduled transfer |
adminKey | string | Admin public key (enables schedule deletion) |
fromAccountId | string | Sender (defaults to payer) |
memo | string | |
payerAccountId | string | |
schedulePayerAccountId | string | Account that pays when the schedule executes |
hedera_sign_schedule
Build (unsigned) a signature add to an existing scheduled transaction.
| Parameter | Type | Description |
|---|---|---|
scheduleId * | string | |
payerAccountId | string |
hedera_delete_schedule
Build (unsigned) a deletion of a scheduled transaction (requires admin key).
| Parameter | Type | Description |
|---|---|---|
scheduleId * | string | |
payerAccountId | string |
hedera_get_schedule_info
Read scheduled-transaction info (signatures, executed status) from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
scheduleId * | string |
hedera_get_transaction
Read a transaction's records/results from the Mirror Node by transaction id.
| Parameter | Type | Description |
|---|---|---|
transactionId * | string | e.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).
| Parameter | Type | Description |
|---|---|---|
payerAccountId | string | |
range | integer | If 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.
| Parameter | Type | Description |
|---|---|---|
transactionBase64 * | string | Base64 transaction bytes |
hedera_get_block
Read a block by number or hash from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
numberOrHash * | string | Block number or hash |
hedera_get_blocks
List recent blocks from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
hedera_get_account_transactions
List recent transactions for an account from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | |
limit | integer |
hedera_get_token_balances
List the accounts holding a token and their balances, from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
limit | integer |
hedera_get_token_nfts
List the minted NFTs (serials) of an NFT collection from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | |
limit | integer |
hedera_get_nft_history
Read the transfer/mint history of a specific NFT serial from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
serial * | integer | |
tokenId * | string |
hedera_get_account_allowances
Read an account's active HBAR (crypto) allowances from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
accountId * | string |
hedera_get_account_token_allowances
Read an account's active fungible-token allowances from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
accountId * | string |
hedera_get_account_nft_allowances
Read an account's active NFT (approve-for-all) allowances from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
accountId * | string |
hedera_get_contract_results
List recent execution results for a contract from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
contractId * | string | |
limit | integer |
hedera_get_contract_state
Read a contract's current storage slots from the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
contractId * | string | |
limit | integer |
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.
| Parameter | Type | Description |
|---|---|---|
publicKey * | string | Public key (hex/DER) |
hedera_get_account_by_evm
Resolve a Hedera account from a 0x EVM address via the Mirror Node.
| Parameter | Type | Description |
|---|---|---|
evmAddress * | string | 0x-prefixed EVM address |