Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HEDERA_NETWORKYesNetwork to use: testnet, mainnet, or previewnet
OPENAI_API_KEYNoRequired for documentation search and code generation (RAG features)
HEDERA_OPERATOR_IDYesYour Hedera account ID (e.g., 0.0.12345)
HEDERA_OPERATOR_KEYYesYour private key in hex format

Tools

Functions exposed to the LLM to take actions

NameDescription
health_check

Check HashPilot MCP server health and status. Returns version, tool count, and optimization level.

account_create

Create a new Hedera account with customizable parameters.

CREATES: New account with auto-generated ECDSA key pair (or use provided public key) FUNDS: Initial HBAR balance from operator account RETURNS: Account ID, private key, public key, transaction ID

USE FOR: Creating new accounts for testing, development, or production workflows. COSTS: Network fee + initial balance (minimum 1 HBAR recommended)

account_balance

Query HBAR and token balances for any Hedera account.

RETURNS: HBAR balance in ℏ format, list of all associated token balances FREE: No transaction fee (Mirror Node query)

USE FOR: Checking account balances, monitoring funds, verifying token holdings.

account_info

Get comprehensive Hedera account information.

RETURNS: Balance, EVM address, public key, memo, auto-renew period, expiration FREE: No transaction fee (Mirror Node query)

USE FOR: Account inspection, EVM address lookup, key verification, expiration monitoring.

transfer_hbar

Transfer HBAR between Hedera accounts.

EXECUTES: CryptoTransfer transaction from source to destination REQUIRES: Operator account must be source OR have signing authority COSTS: Standard network transaction fee

USE FOR: Funding accounts, payments, moving HBAR between wallets.

network_info

Get current Hedera network configuration.

RETURNS: Network name, Mirror Node URL, JSON-RPC Relay endpoint USE FOR: Verifying active network, getting endpoint URLs, network status.

network_switch

Switch between Hedera networks seamlessly.

NETWORKS: mainnet (production), testnet (testing), previewnet (preview), local (development) UPDATES: All SDK connections, Mirror Node URLs, RPC endpoints automatically

USE FOR: Multi-network development, testing across environments, production deployment.

token_manage

Comprehensive Hedera Token Service (HTS) management. Execute ANY token operation through a single unified interface.

OPERATIONS:

  • create: Create new fungible token with custom fees, keys, and supply controls

  • associate: Associate token with account (required before receiving tokens)

  • transfer: Transfer tokens between accounts

  • mint: Mint additional tokens (requires supply key)

  • burn: Burn tokens from treasury

  • freeze/unfreeze: Control account's ability to transfer specific token

  • kyc_grant/kyc_revoke: Manage KYC status for regulated tokens

  • wipe: Remove tokens from account (requires wipe key)

  • pause/unpause: Halt/resume all token operations globally

USE THIS FOR: All token lifecycle management, compliance operations, supply control, and transfer operations.

REQUIRES: Operator account with appropriate keys (admin/supply/freeze/kyc/wipe/pause) based on operation.

addressbook_manage

Manage Hedera account address book for multi-account workflows.

OPERATIONS:

  • add: Add account to address book (reference only, no private key)

  • import: Import account WITH private key for transaction signing

  • list: Show all saved accounts with aliases and metadata

  • update: Update account nickname

  • remove: Remove account from address book

USE THIS FOR: Managing multiple accounts, organizing workflows, quick account reference.

state_manage

Manage HashPilot MCP server state through backup/restore/export operations.

OPERATIONS:

  • backup: Create timestamped backup (excludes private keys by default for security)

  • restore: Restore state from backup file (can merge or replace)

  • export: Export state to JSON for inspection or sharing

USE THIS FOR: State persistence, migration, disaster recovery, debugging.

hcs_topic

Hedera Consensus Service (HCS) topic management.

OPERATIONS:

  • create: Create new public or private topic with configurable keys

  • update: Update topic memo or auto-renew period

  • subscribe: Subscribe to real-time topic messages

USE THIS FOR: Creating consensus topics, configuring topic settings, real-time message streams.

hcs_message

Hedera Consensus Service (HCS) message operations.

OPERATIONS:

  • submit: Submit message to topic (auto-chunks if >1KB)

  • query: Query historical messages with filtering (FREE via Mirror Node)

USE THIS FOR: Publishing messages, retrieving consensus-ordered data, auditable logs.

rpc_call

Execute ANY JSON-RPC method on Hedera's JSON-RPC Relay.

SUPPORTS: 55+ methods including eth_, web3_, net_, debug_ EXAMPLES: eth_blockNumber, eth_getBalance, eth_call, eth_getLogs, eth_sendRawTransaction DECODES: Results automatically converted to human-readable format

USE FOR: EVM-compatible operations, blockchain state queries, transaction submission.

rpc_call_contract

Call read-only smart contract function via eth_call (FREE - no gas cost).

EXECUTES: View/pure function on deployed contract DECODES: Return values using provided ABI FREE: No transaction fee, no state changes

USE FOR: Reading contract state, querying balances, checking conditions.

rpc_deploy_contract

Deploy smart contract to Hedera via JSON-RPC.

HANDLES: Bytecode deployment, constructor encoding, gas estimation, receipt polling RETURNS: Contract address, transaction hash, deployment details COSTS: Gas fees for contract creation AUTO-KEY: privateKey is OPTIONAL - automatically uses MCP operator account if not provided

USE FOR: Deploying Solidity contracts to Hedera EVM.

rpc_execute_contract

Execute state-changing contract function via eth_sendRawTransaction.

EXECUTES: Transaction that modifies contract state HANDLES: Function encoding, signing, gas estimation, receipt polling COSTS: Gas fees for execution RETURNS: Transaction hash, receipt, decoded logs AUTO-KEY: privateKey is OPTIONAL - automatically uses MCP operator account if not provided

USE FOR: Token transfers, contract interactions, state modifications.

docs_search

Semantic search across complete Hedera documentation.

INDEXED: Official docs, SDK references (JS/Java/Go/Rust/Python), tutorials, HIPs, service specs RETURNS: Ranked results with titles, URLs, excerpts, relevance scores FILTERS: By content type (tutorial/api/concept/example), language, code presence

USE FOR: Finding specific documentation, discovering relevant tutorials, locating API references.

docs_ask

Answer ANY knowledge question about Hedera using RAG.

HANDLES: Conceptual (what is X?), how-to (how do I?), comparison (X vs Y), troubleshooting, best practices, architecture, security RETURNS: Comprehensive answer with code examples and source citations EXPERTISE: Adjustable for beginner/intermediate/advanced levels

USE FOR: Learning Hedera concepts, getting implementation guidance, understanding best practices. THIS IS YOUR PRIMARY TOOL FOR HEDERA KNOWLEDGE QUESTIONS.

docs_get_example

Find working code examples for Hedera functionality.

SEARCHES: SDK examples, tutorials, implementation patterns RETURNS: Annotated code with explanations and source references LANGUAGES: JavaScript, TypeScript, Java, Python, Go, Rust, Solidity

USE FOR: Getting implementation code, learning patterns, finding SDK usage.

code_generate

Generate context-aware Hedera SDK code from natural language.

CREATES: Complete, runnable code with imports, error handling, best practices LANGUAGES: JavaScript, TypeScript, Java, Python, Go, Solidity STYLES: minimal (core logic), complete (with setup), production (full best practices)

USE FOR: Creating new implementations, generating boilerplate, scaffolding projects.

deploy_contract

Deploy smart contract to Hedera with unified interface.

AUTO-DETECTS: Hardhat or Foundry project framework SUPPORTS: Constructor arguments, gas limits, auto-verification TRACKS: Deployment history with metadata

USE FOR: Production contract deployment, automated workflows, verified deployments.

verify_contract

Verify smart contract on HashScan block explorer.

METHODS: Direct source upload, Hardhat build-info, Foundry artifacts RETURNS: Verification status and HashScan URL

USE FOR: Contract transparency, code verification, public auditability.

deployment_history

View deployment history with filtering and export.

FILTERS: By network, contract name, status EXPORTS: JSON, CSV, or Markdown format

USE FOR: Tracking deployments, auditing, documentation.

mirror_query_account

Query comprehensive account data from Hedera Mirror Node REST API.

RETURNS: Balance, EVM address, creation time, keys, memo, transactions (optional) FREE: No transaction fees (REST API query)

USE FOR: Account inspection, transaction history, state verification.

hardhat_project

Manage Hardhat project lifecycle operations.

OPERATIONS:

  • init: Initialize new Hardhat project with Hedera configuration

  • compile: Compile Solidity contracts (with force option)

  • test: Run Mocha/Chai tests with filtering

  • clean: Clean artifacts and cache

  • flatten: Flatten contracts for verification

  • get_artifacts: Retrieve compiled ABI and bytecode

  • get_accounts: List available accounts with balances

  • config_network: Generate Hedera network config snippet

  • run_task: Execute custom Hardhat task

  • list_tasks: List all available tasks

USE FOR: Project setup, compilation, testing, and configuration management.

hardhat_contract

Manage Hardhat contract deployment and interaction.

OPERATIONS:

  • deploy: Execute deployment script on target network

  • deploy_ignition: Deploy using Hardhat Ignition (declarative)

  • verify: Get contract verification metadata for HashScan

  • call: Call read-only contract function (FREE)

  • execute: Execute state-changing contract transaction

AUTO-RESOLUTION: Deployment automatically uses MCP operator account credentials. No need to set TESTNET_PRIVATE_KEY manually.

USE FOR: Contract deployment, verification, and interaction.

foundry_project

Manage Foundry project lifecycle operations.

OPERATIONS:

  • init: Initialize new Foundry project with templates

  • install: Install git submodule dependency (e.g., forge-std)

  • update: Update all dependencies

  • remove: Remove a dependency

  • clean: Clean build artifacts

  • build: Compile contracts with optimization options

  • fmt: Format Solidity code

  • inspect: Inspect contract artifacts (ABI, bytecode, storage-layout)

  • get_artifacts: Retrieve compiled artifacts

  • snapshot: Create gas usage snapshot for optimization

USE FOR: Project setup, dependencies, compilation, and gas optimization.

foundry_contract

Manage Foundry contract testing, deployment, and interaction.

OPERATIONS:

  • test: Run Forge tests with fuzzing and gas reports

  • create: Deploy single contract via forge create

  • script: Execute Solidity deployment script

  • call: Call read-only function via cast (FREE)

  • send: Send state-changing transaction via cast

  • anvil_start: Start local Anvil node (can fork from network)

  • anvil_stop: Stop Anvil local node

AUTO-RESOLUTION: privateKey and rpcUrl are OPTIONAL - if not provided, automatically uses MCP operator account configuration.

USE FOR: Testing, deployment, gas analysis, and local development.

stablecoin_manage

Enterprise-grade stablecoin management via Hedera Stablecoin Studio.

OPERATIONS:

  • create: Create compliant stablecoin with role-based controls

  • info: Get stablecoin details (supply, treasury, pause status)

  • balance: Check account balance for stablecoin

  • cashin: Mint tokens to account (controlled by CASHIN role)

  • burn: Burn tokens from treasury (controlled by BURN role)

  • wipe: Remove tokens from any account (controlled by WIPE role)

  • rescue: Rescue tokens from proxy contract treasury

  • rescue_hbar: Rescue HBAR from proxy contract

  • freeze/unfreeze: Control account transfer ability

  • pause/unpause: Halt/resume all token operations globally

  • kyc_grant/kyc_revoke: Manage KYC compliance status

  • role_grant/role_revoke/role_check: Manage role assignments

  • delete: Permanently delete stablecoin (DANGER)

FEATURES:

  • Role-based access control (CASHIN, BURN, WIPE, RESCUE, PAUSE, FREEZE, KYC, DELETE)

  • Native KYC/AML compliance

  • Proof-of-Reserve support

  • Proxy contract architecture (upgradable)

  • Cash-in allowances for controlled minting

AUTO-CONFIG: Uses MCP operator account for SDK authentication.

USE FOR: Institutional stablecoin issuance, compliance workflows, token lifecycle management.

error_explain

Explain Hedera error codes and provide debugging guidance.

USE FOR:

  • Understanding cryptic Hedera error codes (e.g., INSUFFICIENT_PAYER_BALANCE)

  • Getting step-by-step solutions for common errors

  • Finding related errors and security recommendations

EXAMPLES:

  • "What does INSUFFICIENT_PAYER_BALANCE mean?"

  • "Explain TOKEN_NOT_ASSOCIATED_TO_ACCOUNT error"

  • "I got CONTRACT_REVERT_EXECUTED - what's wrong?"

  • "List all token-related errors"

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/justmert/hashpilot'

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