DERO MCP Server
v0.6.0Read-only DERO blockchain MCP: 33 tools (12 composites) incl.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dero_daemon_ping
DERO daemon connectivity check via DERO.Ping. When to call: as the first step in any chain investigation to confirm the daemon is reachable. Call before dero_get_info if you are unsure whether DERO_DAEMON_URL is correctly configured. Input Requirements: none. Output: a "Pong" string when the daemon is healthy. On failure this tool returns a structured _meta.error with code RPC_UNREACHABLE and a retry hint.
dero_daemon_echo
Echo strings through the daemon via DERO.Echo. Useful for round-trip sanity checks. When to call: when you need to confirm that string payloads reach the daemon intact (e.g. before debugging a malformed call to a more complex tool). PREFER dero_daemon_ping for a lighter-weight liveness probe. Input Requirements (CRITICAL): - `words` MUST be a non-empty array of strings. Output: the echoed string concatenated by the daemon.
| Parameter | Type | Description |
|---|---|---|
words * | array | Strings to echo back |
dero_get_info
Get DERO daemon and chain metadata: height, topoheight, stableheight, difficulty, version, network, mempool size, and total supply (DERO.GetInfo). When to call: first thing in any chain-state investigation or sync-health check. Call this BEFORE dero_get_sc, dero_get_transaction, or dero_get_block when you do not already know the current tip. PREFER citing dero_docs_search("DERO.GetInfo") so the user can verify field semantics. Input Requirements: none. Output: full chain info JSON including `topoheight`, `stableheight`, `height`, `network`, `version`, `difficulty`, `tx_pool_size`, and `tota…
dero_get_height
Get the current block heights: tip height, stable height (finalized), and topoheight (canonical ordering) via DERO.GetHeight. When to call: when you need a quick height snapshot without the full chain-info payload. PREFER dero_get_info when you also need network, version, or difficulty. Input Requirements: none. Output: `{ height, stableheight, topoheight }`.
dero_get_block_count
Get the total block count via DERO.GetBlockCount. This is a tip count, not a topoheight. When to call: when you need just the block count (e.g. for delta math against a reference height). PREFER dero_get_height when you need tip and stable heights together. Input Requirements: none. Output: `{ count }`.
dero_get_last_block_header
Get the header of the current tip block via DERO.GetLastBlockHeader (no full block body). When to call: when you need tip block metadata (hash, miner, timestamp, difficulty) without the transactions or miner_tx payload. PREFER dero_get_block when you need transactions or the miner_tx. Input Requirements: none. Output: `{ block_header: { hash, height, topoheight, timestamp, difficulty, ... } }`.
dero_get_block
Fetch a full block (header + miner_tx + transactions + topo position) by height OR hash via DERO.GetBlock. When to call: when investigating a specific block or verifying a transaction's inclusion. Call dero_get_height first if you do not have a target height. PREFER citing dero_docs_search("block structure") so the user can verify field semantics. Input Requirements (CRITICAL): - You MUST provide exactly ONE of `hash` or `height`. Providing both or neither returns a structured INVALID_INPUT error. - `hash` MUST be exactly 64 hex characters. - `height` MUST be a non-negative integer. Output:…
| Parameter | Type | Description |
|---|---|---|
hash | string | 64-char hex block hash |
height | integer | Block height |
dero_get_block_header_by_topo_height
Get a block header by topological height (canonical ordering) via DERO.GetBlockHeaderByTopoHeight. When to call: when you need a header keyed by topo position rather than chain height. Topoheight is the canonical ordering used by DERO indexers; height is the consensus block height. Input Requirements (CRITICAL): - `topoheight` MUST be a non-negative integer no greater than the current topoheight (call dero_get_info first if unsure). Output: `{ block_header: { hash, height, topoheight, timestamp, ... } }`.
| Parameter | Type | Description |
|---|---|---|
topoheight * | integer | Topological height |
dero_get_block_header_by_hash
Get a block header by its 64-char hex hash via DERO.GetBlockHeaderByHash. When to call: when you have a block hash (e.g. from a tx confirmation) and need its header without the full block body. PREFER dero_get_block when you also need the txs or miner_tx. Input Requirements (CRITICAL): - `hash` MUST be exactly 64 hex characters (matches /^[0-9a-fA-F]{64}$/). Output: `{ block_header: {...} }`.
| Parameter | Type | Description |
|---|---|---|
hash * | string | Block top hash (hex) |
dero_get_tx_pool
List pending mempool transaction hashes via DERO.GetTxPool. When to call: when checking unconfirmed activity, watching for a specific tx to land, or estimating mempool pressure. NOTE: `tx_hashes` may be `null` or an empty array when the mempool is empty — treat both as "no pending". Input Requirements: none. Output: `{ tx_hashes: string[] | null }`.
dero_get_random_address
Get random registered addresses from the chain (used for ring construction in private transfers) via DERO.GetRandomAddress. When to call: when building a transfer ring in external wallet tooling, or sampling chain participants. Optional asset SCID limits sampling to holders of that asset. Input Requirements: - `scid` is OPTIONAL. When provided it MUST be exactly 64 hex characters. Output: `{ address: string[] }`.
| Parameter | Type | Description |
|---|---|---|
scid | string | Optional asset smart-contract id (hex) |
dero_get_transaction
Fetch one or more transactions by hash via DERO.GetTransaction. Each tx is returned with confirmation status, block hash, and (optionally) decoded JSON fields. When to call: when tracing a tx by hash. Pair with dero_get_sc when the tx invokes a contract. PREFER citing dero_docs_search("transaction structure") so the user can interpret confirmations, ring members, and SC fields. Input Requirements (CRITICAL): - `txs_hashes` MUST be a non-empty array of 64-char hex strings. - `decode_as_json` is OPTIONAL. PREFER `1` (any non-zero value) when you want JSON-decoded fields instead of raw blobs.…
| Parameter | Type | Description |
|---|---|---|
txs_hashes * | array | List of transaction hashes (hex) |
decode_as_json | integer | Optional: decode each tx as JSON when non-zero |
dero_get_encrypted_balance
Get the ENCRYPTED balance blob for a DERO address at a topo height via DERO.GetEncryptedBalance. CRITICAL: this returns an opaque encrypted blob, NOT a cleartext balance. Only the wallet holding the spend key can decrypt it. Do NOT present the encrypted bytes as a balance to the user. When to call: when verifying that an address has on-chain encrypted state (e.g. before attempting a transfer with a wallet you control), or as a sub-step in another tool. PREFER citing dero_docs_search("encrypted balance") so the user understands the opacity. Input Requirements (CRITICAL): - `address` MUST sta…
| Parameter | Type | Description |
|---|---|---|
address * | string | DERO address (dero1… or deto1…) |
topoheight * | integer | Use -1 for latest chain tip |
scid | string | Asset SCID hex; omit for native DERO |
dero_get_sc
Read smart contract state (code and/or stored variables) by SCID via DERO.GetSC. This is the primary entry point for any contract inspection on DERO. When to call: as the first step in any DVM contract investigation. Pair with dero_docs_search("DVM-BASIC") to interpret the returned code blob. PREFER citing dero_docs_search("smart contract") or dero_docs_get_page on a relevant DVM page so the user can interpret the contract's state model. Input Requirements (CRITICAL): - `scid` MUST be exactly 64 hex characters (the contract id). - `code` is OPTIONAL (defaults to true). Set false to skip the…
| Parameter | Type | Description |
|---|---|---|
scid * | string | 64-char hex Smart Contract ID |
code | boolean | Include contract source (default true) |
topoheight | integer | Topo height; omit or use -1 for latest |
variables | boolean | Include stored variables (default true) |
dero_get_gas_estimate
Estimate gas (compute + storage) for transfers, SC deploys, or SC invokes via DERO.GetGasEstimate. This is a PRE-FLIGHT check; nothing is submitted. When to call: BEFORE any wallet-side transfer/scinvoke (using external wallet tooling) to size fees, OR when explaining deploy costs to a user. PREFER citing dero_docs_search("gas estimate" or "fees") so the user understands how compute vs storage gas are charged. Input Requirements (CRITICAL): - At least ONE of `transfers`, `sc`, or `sc_rpc` MUST be provided. - `sc` is the DVM-BASIC contract source string when estimating a deploy. - `sc_rpc` is…
| Parameter | Type | Description |
|---|---|---|
sc | string | SC source to deploy |
sc_rpc | array | SC invocation arguments (entrypoint, SC_ID, etc.) |
signer | string | Signer address used for estimation |
transfers | array | Optional transfer list |
dero_name_to_address
Resolve a DERO on-chain registered name to its address via DERO.NameToAddress. When to call: when a user supplies a human-readable name (e.g. "myname") instead of a `dero1.../deto1...` address. Input Requirements (CRITICAL): - `name` MUST be a non-empty string. Resolution is case-sensitive on the daemon side. - `topoheight` MUST be an integer; use `-1` for the latest registry state. Output: `{ name, address }`. On NOT_FOUND the daemon's RPC error is surfaced as a structured _meta.error.
| Parameter | Type | Description |
|---|---|---|
name * | string | Registered name |
topoheight * | integer | Use -1 for latest |
dero_get_block_template
Get a mining block template for a miner payout address via DERO.GetBlockTemplate. When to call: ONLY when you are actually mining. PREFER dero_get_last_block_header for general chain-tip inspection. Input Requirements (CRITICAL): - `wallet_address` MUST be a valid DERO address (`dero1...` or `deto1...`) that will receive the block reward. - `block` is OPTIONAL. Set true to include the raw block blob in the response. - `miner` is an OPTIONAL label. Output: block template payload suitable for a mining client. Does NOT submit a block; submission requires the excluded DERO.SubmitBlock method.
| Parameter | Type | Description |
|---|---|---|
wallet_address * | string | Miner payout DERO address |
block | boolean | Include block blob |
miner | string | Optional miner id / label |
dero_decode_proof_string
Decode any DERO bech32 string (`dero…`, `deto…`, `deroi…`, `detoi…`, or `deroproof…`) into its constituent parts: HRP, network, compressed public key, and any embedded RPC arguments (CBOR-encoded). For `deroproof…` strings the "public key" is a derived blinder point used in the proof's commitment math, NOT a wallet pubkey — the tool surfaces `is_proof: true` so the agent does not mislabel it. When to call: when the user pastes a `deroproof…` / integrated-address string and wants to know what value or fields it encodes. PREFER this over chaining bech32 decoders + CBOR libraries…
| Parameter | Type | Description |
|---|---|---|
proof_string * | string | Full bech32 string with HRP, e.g. "deroproof1qyy…" or "dero1abc…". Whitespace is trimmed. |
dero_docs_search
Search the bundled DERO documentation index across derod, tela, hologram, and deropay (145+ pages). In-process — no network round trip. When to call: when you need authoritative docs to answer a DERO question, OR before constructing a citation in your response. Call this BEFORE explaining DVM, RPC methods, TELA contracts, Hologram simulator, or DeroPay webhooks. PREFER returning the top match's `canonical_url` and `slug` to the user as a citation. Input Requirements (CRITICAL): - `query` MUST be a non-empty search string. - `product` is OPTIONAL. Provide when you know the scope to reduce n…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text (e.g., "wallet rpc", "tela deployment", "deropay webhooks") |
limit | integer | Max matches (default 8, max 25) |
product | string | Optional docs product filter: derod | tela | hologram | deropay |
section | string | Optional section slug prefix (e.g., "rpc-api", "guides", "dero-pay") |
dero_docs_get_page
Get a single bundled docs page by slug, with plain-text content and headings. When to call: AFTER dero_docs_search has returned a candidate slug, OR when you have a known slug from a prior citation. PREFER dero_docs_search first when you only have a topic in mind. Input Requirements (CRITICAL): - `slug` MUST be a non-empty doc slug relative to pages/ (e.g. `rpc-api/daemon-rpc-api`, `tutorials/first-app`, `dero-pay/quick-start`). - `product` is OPTIONAL but RECOMMENDED to disambiguate identical slugs across docs sites (`derod`, `tela`, `hologram`, `deropay`). - `offset` is OPTIONAL. Long page…
| Parameter | Type | Description |
|---|---|---|
slug * | string | Doc slug relative to pages/ (e.g., "rpc-api/daemon-rpc-api", "tutorials/first-app", "dero-pay/quick-start") |
offset | integer | Byte offset into the page plaintext. Use 0 (or omit) for the first chunk; pass next_offset from a prior response to continue reading a long page. |
product | string | Optional product scope to disambiguate duplicate slugs |
dero_docs_list
List indexed bundled docs pages across all four products with slugs, titles, and canonical URLs. When to call: when surveying available docs (e.g. "what TELA tutorials exist?"), OR when you need a slug catalog before invoking dero_docs_get_page. PREFER dero_docs_search when you have a specific question. Input Requirements: - `product` is OPTIONAL. Provide to scope to one of `derod | tela | hologram | deropay`. - `limit` is OPTIONAL (default 120, max 500). Output: `{ docs_source, total, products, pages: [{ product, slug, title, canonical_url, last_updated }] }`.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max pages returned (default 120, max 500) |
product | string | Optional docs product filter: derod | tela | hologram | deropay |
verify_supply
Composite: recompute DERO total supply offline via CalcSupply (premine + one-time launch credit + Σ CalcBlockReward epochs — DEROFDN community-dev / dero-docs schedule), optionally cross-check against DERO.GetInfo.total_supply. When to call: when the user asks "what is the total supply", "does GetInfo match the schedule", "verify the supply", or wants an independent recompute that does not trust a node. PREFER this over reading GetInfo alone — GetInfo on older builds can undercount after halvings (display quirk, not inflation). PREFER citing the returned related_docs (`integrity/verify-t…
| Parameter | Type | Description |
|---|---|---|
height | integer | Topoheight / height to evaluate. Default: tip topoheight from DERO.GetInfo. Required when the daemon is unreachable. |
diagnose_chain_health
Composite: run a four-step chain (DERO.Ping → DERO.GetInfo → DERO.GetHeight → DERO.GetTxPool) and return a single narrative health report with chain metadata, mempool snapshot, machine-readable signals, and curated docs citations. When to call: as the first step in any chain-state investigation when the user asks "is the node healthy", "is it synced", or "what is the current state of the chain". PREFER this over chaining the four primitives yourself — the composite handles partial-failure modes and lag-depth classification consistently, and the response already cites the right docs pa…
| Parameter | Type | Description |
|---|---|---|
include_tx_pool | boolean | Include mempool snapshot in narrative and response. Default true. |
explain_smart_contract
Composite: fetch a DERO smart contract (code + variables + balances) and return its function surface, a classification of the contract pattern (tela_index | tela_doc | token | registry | minimal | generic), a plain-language narrative, and curated DVM docs citations re-ordered so the most relevant page is first. TELA contracts (apps/files) are detected first and cite the TELA spec; for a deep TELA parse use tela_inspect. When to call: when the user wants to UNDERSTAND a smart contract — its functions, state shape, or which DVM concept to read about. PREFER this over chaining dero_get_sc with…
| Parameter | Type | Description |
|---|---|---|
scid * | string | 64-char hex Smart Contract ID |
topoheight | integer | Optional topo height; omit for latest tip |
tela_inspect
Composite: fetch a TELA contract by SCID (DERO.GetSC code + variables) and parse it as either a TELA-INDEX-1 app manifest or a TELA-DOC-1 file contract, auto-detecting which standard it is from the stored keys. TELA is DERO's on-chain web-app platform: an INDEX is the app manifest (like package.json) and DOCs are the individual files (HTML/CSS/JS) stored on chain. When to call: as the FIRST step whenever a user references a TELA SCID, a `.tela` dURL app, or asks "what is this TELA contract/app", "what files does this TELA app have", or "is this a TELA INDEX or DOC". PREFER this over dero_get_…
| Parameter | Type | Description |
|---|---|---|
scid * | string | 64-char hex Smart Contract ID of a TELA-INDEX-1 or TELA-DOC-1 contract |
topoheight | integer | Optional topo height; omit for the latest committed state |
tela_get_doc_content
Composite: fetch the actual file content stored in a TELA-DOC-1 contract. A DOC's file (HTML/CSS/JS/...) lives inside a DVM-BASIC comment block in the contract code — NOT in a stored variable — so this tool fetches DERO.GetSC, confirms the SCID is a DOC, and extracts the file bytes. Gzip-compressed files (a `.gz` filename, the TELA-CLI default) are transparently base64-decoded + decompressed to plaintext. Large files paginate via offset. When to call: when a user wants to READ or inspect the actual code/markup a TELA app file holds (e.g. "show me the HTML of this TELA DOC", "what does thi…
| Parameter | Type | Description |
|---|---|---|
scid * | string | 64-char hex Smart Contract ID of a TELA-DOC-1 file contract |
offset | integer | Byte offset into the extracted file content; use next_offset to paginate large files |
topoheight | integer | Optional topo height; omit for latest committed state |
dero_durl_to_scid
Composite: resolve a TELA dURL (e.g. "vault.tela") to its on-chain SCID(s) by discovering TELA apps directly from chain — no external Gnomon indexer required. TELA apps advertise a human-readable dURL; this finds the contract(s) that claim it. When to call: when a user asks "what's the SCID for <something>.tela", "find the TELA app called X", or gives a dURL and wants the contract. IMPORTANT routing: for a registered DERO NAME like "quickbrownfox" (no dot, not a dURL), use dero_name_to_address instead — that is a name to address lookup, not a TELA app. This tool is only for TELA dURLs (th…
| Parameter | Type | Description |
|---|---|---|
durl * | string | A TELA dURL to resolve, e.g. "vault.tela" or "dero://feed.tela". NOT a registered DERO name (use dero_name_to_address for names like "quickbrownfox"). |
dero_tela_list_apps
Composite: list/browse the TELA apps discovered on-chain (each with its dURL, name, SCID, and doc count) — answers "what TELA apps exist?" without any external indexer. Powered by an in-process scan of the newest chain contracts. When to call: when a user wants to explore or search the TELA ecosystem ("what TELA apps are there", "show me TELA games", "is there a TELA app about X"), or to find a SCID when they do not know the exact dURL. For an exact dURL use dero_durl_to_scid; to inspect a specific SCID use tela_inspect. Input Requirements: - `query` is OPTIONAL. Case-insensitive filter ma…
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max apps to return (default 50, max 200). |
query | string | Optional case-insensitive filter matched against dURL and name (e.g. "chess", "vault"). |
recommend_docs_path
Composite: take a natural-language intent, fan out parallel scoped searches across the bundled docs for all four DERO products (derod, tela, hologram, deropay), boost any product_hint matches by 1.5×, and return a ranked recommendation list with per-result rationale plus ready-to-cite related_docs. When to call: at the START of any "where do I read about X?" or "which docs cover Y?" investigation, BEFORE calling dero_docs_search directly. PREFER this over guessing the right product: this composite already runs all four products in parallel, dedupes overlap, surfaces the top heading per resul…
| Parameter | Type | Description |
|---|---|---|
intent * | string | Natural-language description of what the user wants to do (e.g. "deploy a TELA app", "trace a transaction by hash", "verify a webhook signature"). |
limit_per_product | integer | Cap per-product search results before merging. Default 2. |
product_hint | string | Optional bias toward one product (derod | tela | hologram | deropay) when known. |
estimate_deploy_cost
Composite: send a DVM-BASIC contract source to the daemon's gas estimator, then return the raw estimate alongside a plain-text breakdown (what each gas number means), the parsed contract surface, and curated DVM deploy docs as citations. When to call: BEFORE asking a wallet to broadcast a deploy transaction, OR when explaining the cost of a contract to a user. PREFER this over chaining dero_get_gas_estimate yourself: this composite already explains gascompute vs gasstorage in plain language, parses the SC source to show what functions the user is about to deploy (reusing extractScSurface from…
| Parameter | Type | Description |
|---|---|---|
sc * | string | DVM-BASIC contract source to deploy. MUST be the full contract (Function ... End Function blocks), not a function body alone. |
include_breakdown | boolean | Default true. Set false to return raw estimate numbers only. |
signer | string | Optional dero1.../deto1... signer for the eventual deploy tx. |
trace_transaction_with_context
Composite: look up a DERO transaction by hash, classify its confirmation status (confirmed | mempool | unknown) and kind (sc_install | transfer_or_invocation | coinbase | unknown), extract the SC surface inline when the tx is a contract install, and stitch the right DERO tx + DVM docs pages as citations. When to call: as the FIRST step when investigating any tx by hash — the user asks "what is this tx", "is this confirmed", "what contract did this deploy", or "what does this tx do". PREFER this over chaining dero_get_transaction with dero_get_sc yourself: for SC INSTALL txs the composite al…
| Parameter | Type | Description |
|---|---|---|
tx_hash * | string | 64-char hex transaction hash |
decode | boolean | Pass decode_as_json=1 to the daemon. Default true. Decoded JSON view is informational; the raw hex always comes back. |
include_sc_context | boolean | When true (default), runs the SC-install surface extraction inline when the tx contains contract code. SC invocation arg decoding is NOT performed in either mode; see module docs. |
audit_chain_artifact_claim
Composite: audit a chain artifact (block topoheight, block hash, TX hash, and/or proof string) end-to-end. Returns a verdict (`cited_in_false_claim` | `clean`), the actual on-chain facts (block reward, TX acceptance status), an optional proof-string decode, a relayable narrative, and curated rebuttal docs citations. When to call: when the user asks "what's going on with DERO block X?" / "is this transaction the inflation-claim TX?" / "does this proof string come from a known false claim?" PREFER this over chaining `dero_get_block_header_by_topo_height` + `dero_get_transaction` + `dero_decode_…
| Parameter | Type | Description |
|---|---|---|
block_hash | string | 64-char hex block hash to audit. |
include_forge_demo | boolean | When true AND tx_hash is provided, also forge a fresh demo proof for the same TX (via dero_forge_demo_proof) and embed it under `forge_demo`. Closes the rebuttal loop in one tool call. Default false. |
proof_string | string | Optional `deroproof…` / DERO bech32 string to also decode and check. |
topoheight | integer | Topological height of a block to audit. |
tx_hash | string | 64-char hex transaction hash to audit. |
dero_forge_demo_proof
Composite: build a fresh `deroproof…` display object for ANY chosen transaction, ring slot, and amount — including negative amounts that uint64-wrap into the trillions. The forged string is constructed locally from public chain data (no wallet, no keys, no broadcast). On an unpatched explorer it shows **Verified ✓** for the chosen amount; on the chain, nothing has changed. When to call: when a user pastes a `deroproof…` string and asks "does Verified ✓ mean the chain minted these coins?" Forge an equivalent string for the same TX with a different amount and show the result side-by-s…
| Parameter | Type | Description |
|---|---|---|
amount_dero | string | Target display amount in signed DERO (5 fractional digits = atomic precision). Negative values demonstrate the uint64 wraparound. Default "-1". |
ring_slot | integer | Which ring slot 0..ring_size-1 the forged proof should resolve to. Defaults to 0. |
tx_hash | string | TX hash to forge against. Daemon fetches the TX hex + ring members. Mutually exclusive with tx_hex. |
tx_hex | string | Raw TX bytes as hex (skip the daemon round-trip). Mutually exclusive with tx_hash. When provided, ring_receiver_address is omitted from the response (the hex carries publickey pointers, not full addre… |