DERO MCP Server

io.github.DHEBP由 GitHub 帳號 DHEBP 發布v0.6.0更新於 Oct 24, 2026

Read-only DERO blockchain MCP: 33 tools (12 composites) incl. TELA discovery + bundled docs.

已驗證Streamable HTTP可網頁執行金融知識與記憶開發者工具

概覽

AI 產生的概覽

針對 DERO 隱私區塊鏈的唯讀 MCP 伺服器,讓助理查詢即時鏈上資料、檢視智慧合約與 TELA 應用,並檢索內建的 DERO 文件。

可以做什麼
  • 檢視鏈上資料:區塊、交易、記憶池、加密餘額與已註冊名稱
  • 分析智慧合約:讀取程式碼與狀態、辨識模式、估算部署 gas、附上 DVM-BASIC 文件
  • 追蹤交易:依雜湊查詢、確認是否上鏈、區分轉帳、合約安裝或合約呼叫
  • 探索鏈上 TELA 網頁:將名稱解析為 SCID、列出應用、檢視清單並讀取鏈上 HTML/JS/CSS
  • 檢索並閱讀涵蓋 derod、tela、hologram 與 deropay 的內建文件索引
  • 執行組合分析,例如鏈健康檢查、宣告稽核、文件閱讀路徑與部署預檢
適用情境
適合希望助理依據即時鏈上資料與隨套件附上的文件、而非訓練資料來回答 DERO 問題,或需要檢視 DVM-BASIC 合約與 TELA 應用而不想另外執行索引器的情境。
執行需求
npm 套件需要 Node.js 20+,或自行部署 streamable-HTTP 服務。需要一個開啟 RPC 且可連線的 DERO 守護程式:會自動偵測 127.0.0.1:10102 的本機節點,否則改用第三方公開 RPC;可用 DERO_DAEMON_URL 指定端點。HTTP 模式可透過 DERO_MCP_AUTH_TOKEN 要求 Bearer 權杖。
安裝前請注意
未設定 DERO_DAEMON_URL 時會退回第三方公開 RPC,重視隱私應使用自己的節點。公開的 mcp.derod.org 實例已下線,請改用 npm 套件或自行部署。不建議在沒有上游驗證與 TLS 的情況下將 HTTP 服務公開綁定。錢包 RPC 與交易、區塊提交刻意排除,因此無法轉移資金。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DERO MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.DHEBP%2Fdero-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "dero": {
      "type": "http",
      "url": "https://mcp.derod.org/mcp"
    }
  }
}

README

DERO MCP server

A read-only Model Context Protocol server for the DERO privacy blockchain — a private-by-default Layer 1 with encrypted balances, private smart contracts (DVM-BASIC), and no public transaction graph. 21 daemon primitives + 12 composite tools (including TELA on-chain app inspection and dURL→SCID discovery), with a bundled documentation index spanning derod, tela, hologram, and deropay.

[MCP Registry] [CI] [dero-mcp-server MCP server]

Registry listing: io.github.DHEBP/dero-mcp-server · Version: 0.6.0 · Transports: stdio (default, npm package) · streamable-http (--http, for self-hosting)


What is an MCP server

An MCP server (Model Context Protocol) is a small program that gives your AI assistant — Claude Desktop, Cursor, OpenCode, ChatGPT with Custom Connectors — the ability to call specific tools on your behalf. Instead of the AI talking about DERO from memory, it can actually look things up: fetch a block, read a contract, search the docs, trace a transaction, estimate a deploy.

You install it once and point your AI host at it. From then on, every DERO question you ask in chat hits live chain data and the bundled docs corpus — not the AI's training cutoff.

What is DERO

If you're new to DERO: it's a privacy-first L1 blockchain — often described as a private alternative to Ethereum for builders who want smart contracts without a transparent ledger, or as a Monero alternative for users who want account-based privacy with native programmability instead of UTXO-only payments. Homomorphically encrypted balances. Ring signatures hide senders. Zero-knowledge range proofs (Bulletproofs) hide amounts. There is no public transaction graph. The current mainnet is DERO Stargate.

Full docs: derod.org

About this server

Model Context Protocol (MCP) server that exposes read-only and analysis calls against a DERO Stargate daemon JSON-RPC endpoint. Ships as a stdio process for local MCP hosts (Claude Desktop, Cursor, OpenCode) or in streamable-HTTP mode behind a domain (e.g. mcp.derod.org) for ChatGPT Custom Connectors, Cursor hosted mode, and any agent that needs a remote URL. See deploy/ for a reference self-hosted deployment.

Quick start

Get a working DERO MCP connection in under 5 minutes.

What you need

  • Node.js 20+ (install) — verify with node --version.
  • An MCP host — Claude Desktop, Cursor, OpenCode, or ChatGPT with Custom Connectors. This walkthrough uses Claude Desktop; the JSON config below works identically in Cursor and OpenCode.
  • Optional: a local DERO daemon. If one is running on 127.0.0.1:10102, the server detects and uses it automatically; otherwise it falls back to a public RPC, so it works with zero setup. Run your own for production — how to.

1. Open your MCP host's config

HostWhere
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
CursorSettings → MCP → Add Server
OpenCodeSettings → MCP → Add Server
Codex CLI / IDEcodex mcp add or ~/.codex/config.toml

Create the file if it doesn't exist.

2. Add the DERO MCP server

json
{  "mcpServers": {    "dero-daemon": {      "command": "npx",      "args": ["-y", "dero-mcp-server"]    }  }}

This uses npx to fetch and run the latest published version — no manual install or build required.

The server auto-detects a local node at 127.0.0.1:10102. To pin a specific daemon (custom port or a remote URL), add an env block:

json
"env": { "DERO_DAEMON_URL": "http://127.0.0.1:10102" }

3. Restart your MCP host

Fully quit and reopen — not just refresh. MCP servers load at startup.

4. Verify it works

In a new chat:

"What's the current DERO chain height?"

A number back means you're connected. If you see an error, confirm the config file path is correct and your host was fully restarted (not just refreshed).

Once it's working, jump to Try a prompt for a full tour.


What you can do with it

Once installed, your MCP host can do all of these on your behalf — in natural language, no JSON-RPC needed:

  • Inspect the chain — blocks, transactions, mempool, encrypted balances, registered names
  • Analyze smart contracts — read code and state, classify the pattern, estimate deploy gas, pull relevant DVM-BASIC docs in one call
  • Trace transactions — look up any hash, confirm inclusion, classify the kind (transfer / SC install / SC call)
  • Explore the on-chain web (TELA) — discover apps by name (vault.tela → SCID), browse what's deployed, inspect an app's manifest and files, and read the actual on-chain HTML/JS/CSS — no separate indexer to run
  • Search the docs — across all four DERO sites (derod, tela, hologram, deropay)
  • Run composite analyses — chain health, claim audits, docs path recommendations, deploy pre-flights — each returns curated DERO docs citations alongside the data

Try a prompt

After installing and restarting your MCP host, paste any of these. Start simple and work up.

Basic

Single-tool questions that verify the install and exercise live queries.

"What's the current DERO chain height?"

"Resolve the DERO name 'engram' to an address."

"Find the documentation page on Bulletproofs."

"What does the smart contract at SCID 0000…0001 do?"

Intermediate

Composite tools that fan out into multiple primitives and return a synthesized answer with citations.

"Explain the smart contract at SCID 0000000000000000000000000000000000000000000000000000000000000001 — what it does, its functions, and which DVM-BASIC docs are relevant."

"Trace transaction with full context — confirmation, classification, and what it touched."

"What's the right reading path for someone new to DERO smart contracts who wants to deploy a DVM-BASIC contract?"

"Estimate the gas cost to deploy this DVM source: "

TELA — the decentralized web on DERO

TELA apps are full web apps (HTML/CSS/JS) deployed entirely on-chain. The server discovers and reads them with no external indexer — the first discovery query runs a one-time ~15s scan, then it's instant.

"What's the SCID for vault.tela?"

"What TELA apps exist on DERO? Show me a few."

"Inspect the TELA app at SCID — what is it, who made it, and what files does it have?"

"Show me the actual HTML of that app's index.html."

For multi-step agent recipes, per-tool guidance, error contract, and the composite-first rule, see SKILL.md.

Not included (by design): wallet RPC (transfer, scinvoke), DERO.SendRawTransaction, DERO.SubmitBlock. Those can move funds or consensus data; add them only with explicit user consent and a locked-down setup.

See also

  • SKILL.md — per-tool agent runbook: composite-first rule, structured error contract, citation rules, agent-loop recipes, port reference.
  • POSITIONING.md — who DERO MCP is for, who it isn't, comparison vs ACP / Stripe / Crossmint / Skyfire, privacy posture.

Requirements

  • Node.js 20+
  • A reachable DERO daemon with RPC enabled (local node or your own remote URL).

Install & build

bash
cd dero-mcp-servernpm installnpm run build

Run (auto-detects a local node at 127.0.0.1:10102, else public fallback, when DERO_DAEMON_URL is unset):

bash
node dist/index.js

Or set an explicit URL (e.g. your local daemon):

bash
DERO_DAEMON_URL=http://127.0.0.1:10102 node dist/index.js

Daemon resolution is local-first: with DERO_DAEMON_URL unset, the server uses a local node at 127.0.0.1:10102 if it answers, else the baked-in third-party public RPC (82.65.143.182:10102). Prefer your own node for privacy.

Strip a trailing /json_rpc if you paste a full JSON-RPC URL — this server appends /json_rpc.

HTTP mode (self-hosted)

For clients that can't launch a local subprocess — ChatGPT Custom Connectors, Cursor hosted mode, n8n / Zapier integrations — run the server in streamable-HTTP mode and put it behind your own domain:

bash
DERO_MCP_AUTH_TOKEN=$(openssl rand -base64 48) \  dero-mcp-server --http# [dero-mcp-server] HTTP listening on 127.0.0.1:8787 (POST /mcp · GET /health)

Both stdio and HTTP serve MCP 2026-07-28 and retain compatibility with 2025-era clients. HTTP exchanges are stateless and do not issue Mcp-Session-Id; 2026 clients negotiate through server/discover.

VariableDefaultDescription
DERO_MCP_HTTPunsetSet to 1 (or pass --http) to start in HTTP mode.
DERO_MCP_HTTP_PORT8787Listen port.
DERO_MCP_HTTP_HOST127.0.0.1Listen address. Use 0.0.0.0 to bind publicly (do not without auth + TLS upstream).
DERO_MCP_AUTH_TOKENunsetIf set, every /mcp request must carry Authorization: Bearer <token>. Constant-time compared.

For a turnkey deploy with Caddy + auto-TLS + Docker Compose, see deploy/README.md. It's a self-hosting reference for running your own hosted instance. The public mcp.derod.org instance was retired on 2026-10-10; use npx dero-mcp-server or self-host. The public default daemon behind a hosted instance may use an older GetInfo schedule formula than CalcSupply; verify_supply still treats the offline schedule number as authoritative (see Verify the Supply).

The stdio transport (below) and the HTTP transport share the same underlying server factory, so the tool surface, response shapes, and error codes are identical across both.

Claude Desktop (same pattern for OpenCode and Cursor)

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

json
{  "mcpServers": {    "dero-daemon": {      "command": "node",      "args": ["/ABSOLUTE/PATH/TO/dero-mcp-server/dist/index.js"]    }  }}

Optional: add "env": { "DERO_DAEMON_URL": "http://127.0.0.1:10102" } to pin a specific daemon. Not needed if your local node uses the default port — the server auto-detects it.

Restart Claude Desktop (or your OpenCode/Cursor host).

Cursor (or OpenCode)

In Cursor Settings → MCP (or OpenCode MCP settings), add a server that runs the same command / args / env as above.

OpenCode

In OpenCode MCP settings, add a server with the same command / args / env as above.

Codex

Codex supports DERO MCP as either a local stdio server or a streamable-HTTP server. The stdio setup is simplest for local development because Codex launches the server process for each session.

Add the published npm package with:

bash
codex mcp add dero-daemon --env DERO_DAEMON_URL=http://127.0.0.1:10102 -- npx -y dero-mcp-server

Replace http://127.0.0.1:10102 with your daemon base URL when using a custom host or port. Do not include /json_rpc; this server appends it.

Equivalent ~/.codex/config.toml:

toml
[mcp_servers.dero-daemon]command = "npx"args = ["-y", "dero-mcp-server"]
[mcp_servers.dero-daemon.env]DERO_DAEMON_URL = "http://127.0.0.1:10102"

A copyable example lives at .codex/config.example.toml. Rename or copy it to .codex/config.toml only when you want a project-scoped Codex config; Codex loads project config only for trusted projects.

For an already-running streamable-HTTP deployment, add the URL instead:

bash
codex mcp add dero-daemon --url http://127.0.0.1:8787/mcp

If the HTTP server requires a bearer token, store the token in an environment variable and add --bearer-token-env-var DERO_MCP_AUTH_TOKEN.

Restart Codex or start a new session, then run /mcp to confirm dero-daemon is enabled. A simple verification prompt is:

"What's the current DERO chain height?"

Environment

VariableDefaultDescription
DERO_DAEMON_URL(local-first auto-detect)Daemon base URL (no /json_rpc required). Unset → local node at 127.0.0.1:10102 if reachable, else public fallback (82.65.143.182:10102). Set to pin a specific endpoint.
DERO_DOCS_ROOTbundled indexOptional dev override: path to a local dero-docs clone to index live MDX instead of the shipped bundle.

Maintainer: bundled docs

Docs tools read from data/docs-index.json, committed in this repo and shipped with the npm package. Rebuild the index when dero-docs changes:

bash
npm run release:docs-checkgit add data/docs-index.json && git commit -m "Refresh bundled docs index."

Or run Refresh docs bundle under Actions to open a PR. Pushes to dero-docs main can trigger that workflow via repository_dispatch when MCP_DOCS_SYNC_TOKEN is configured on the docs repo.

After merging a bundle update: bump the patch version in package.json and server.json, then npm publish --otp=... and mcp-publisher publish.

Testing

bash
# Check daemon connectivitynpm run doctor
# MCP surface contract checks (tools/resources/prompts + error probe)npm run smoke:mcp
# Docs retrieval checks (bundled index — no clone required)npm run smoke:docs
# Run flow tests (10 RPC checks)npm run test:flows
# Typechecknpm run typecheck

Flow tests run against the default public RPC. Set DERO_DAEMON_URL to test against your own daemon.

CI runs on every push and PR — see .github/workflows/ci.yml.

Official MCP Registry

Publish flow (maintainers):

bash
mcp-publisher validatemcp-publisher login githubmcp-publisher publish

Verify listing:

bash
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.DHEBP/dero-mcp-server"

MCP Surface

  • Tools (33): 21 daemon read/analysis primitives + 12 composites, including verify_supply (offline CalcSupply), TELA app inspection (tela_inspect, tela_get_doc_content), TELA discovery (dero_durl_to_scid, dero_tela_list_apps), and docs retrieval (dero_docs_search, dero_docs_get_page, dero_docs_list)
  • Resources (4): dero://mcp/server-info, dero://mcp/safety-boundary, dero://mcp/example-flows, dero://mcp/composites
  • Prompts (5): network_health_check, inspect_smart_contract, trace_transaction, find_dero_docs_for_intent, estimate_deploy_for_contract

Error Contract

When a tool call fails, the server returns a structured error payload in tool content:

json
{  "ok": false,  "tool": "dero_get_sc",  "_meta": {    "error": {      "code": "RPC_UNREACHABLE",      "hint": "Confirm daemon is running and reachable, then rerun `npm run doctor`.",      "retryable": true,      "raw": "fetch failed"    }  }}

Common code values:

  • INVALID_INPUT
  • RPC_INVALID_PARAMS
  • RPC_METHOD_NOT_FOUND
  • RPC_HTTP_ERROR
  • RPC_UNREACHABLE
  • RPC_INVALID_RESPONSE
  • TOOL_EXECUTION_ERROR

Roadmap

  • Optional wallet-RPC tools behind DERO_ENABLE_WALLET_RPC=1 + separate URL.
  • Stricter typing / OpenAPI-derived tool schemas.
  • TELA-aware contract tooling (INDEX/DOC inspection, on-chain app discovery).

License

MIT

來源:README.md,提交 02eeff7

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v0.6.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式必需10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分