Novai Mcp Server

io.github.0x-devc由 GitHub 帳號 0x-devc 發布v0.1.1更新於 Oct 24, 2026

Read-only MCP server for querying the live NOVAI blockchain over its public JSON-RPC endpoint.

已驗證STDIO僅桌面資料庫金融

概覽

AI 產生的概覽

唯讀 MCP 伺服器,讓助理透過公開 JSON-RPC 端點查詢運行中的 NOVAI 區塊鏈。

可以做什麼
  • 查看鏈是否在線並取得目前最新區塊高度
  • 依高度或雜湊取得單一區塊,並查詢已確認交易
  • 讀取位址餘額與 nonce,以及 AI 實體(agent)紀錄
  • 依高度、發行方或訊號類型查詢訊號承諾
  • 依訊號雜湊、發行方或資料標籤查詢預言機錨點,可限定時間戳範圍
  • 列出某實體擁有的鏈上記憶物件
適用情境
適合助理需要檢視 NOVAI 鏈上狀態(區塊、交易、餘額、AI 實體、訊號、預言機錨點或記憶物件)而不必撰寫 SDK 程式碼的情境。適用於唯讀的探查與核對,不適用於送出交易。
執行需求
需要 Node.js 18 或更新版本;以 stdio 方式在本機執行,通常透過 npx 啟動。需要能連線至公開的 NOVAI JSON-RPC 端點,可用環境變數 NOVAI_RPC_URL 覆寫。不需帳號、API 金鑰或驗證。
安裝前請注意
設計上為唯讀:不持有私鑰、不簽章、不送出交易,鏈上的寫入方法並未接入。查詢會送往第三方公開端點,請求內容對該服務可見。依高度查詢區塊僅涵蓋有限的近期範圍,較早的高度可能回傳 null。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

NOVAI MCP server

A read-only Model Context Protocol (MCP) server that lets any MCP-equipped agent query the live NOVAI chain over its public JSON-RPC endpoint. It exposes query tools only. There is no write, sign, submit, or key-handling path anywhere in this package.

NOVAI is an AI-native layer 1 with chained-BFT consensus. This server is a thin, typed bridge: an agent discovers the tools through standard MCP tooling and reads the chain without writing any SDK code.

Safety boundary

This is version 0 and it is read-only by design.

  • Every tool is a query that maps to a single read method on the public endpoint.
  • The package never holds a private key, never signs, and never submits a transaction.
  • The write methods the chain exposes are deliberately not wired in.

Requirements

  • Node.js 18 or newer.

Install and run

Run it directly with npx:

npx novai-mcp-server

Or install it and run the binary:

npm install novai-mcp-servernovai-mcp-server

The server speaks MCP over stdio. Point your MCP client at the command above.

Example MCP client configuration

json
{  "mcpServers": {    "novai": {      "command": "npx",      "args": ["novai-mcp-server"]    }  }}

Configuration

  • NOVAI_RPC_URL overrides the JSON-RPC endpoint. It defaults to the public NOVAI URL, https://rpc.novai.network. No other configuration, no secrets, and no auth are required, because the public endpoint is open and read-only.

Tools

All hashes and ids are 64 hex characters (32 bytes, no 0x prefix). All heights are non-negative integers. Every input is validated before any network call, and both chain errors and transport failures are returned as clean tool errors with no stack traces.

ToolReturnsRequired paramsOptional params
novai_get_chain_statusThe latest committed block, so you can verify the chain is live and learn the tip heightnonenone
novai_get_blockA single blockexactly one of height or hashnone
novai_get_transactionA confirmed transaction, or null if unknowntxidnone
novai_get_ai_entityAn AI entity (agent) record, or null if unknownentity_idnone
novai_get_balanceBalance (decimal string) and nonce for an addressaddressnone
novai_get_signals_by_heightSignal commitments recorded at a heightheightnone
novai_get_signals_by_issuerSignals issued by an entity within a height rangeissuer, start_height, end_heightnone
novai_get_signals_by_typeSignals of a type within a height rangesignal_type, start_height, end_heightnone
novai_get_oracle_anchorAn oracle anchor by signal hash, or null if unknownsignal_hashnone
novai_get_oracle_anchors_by_entityOracle anchors by issuer within a height rangeentity_id, start_height, end_heightts_min, ts_max
novai_get_oracle_anchors_by_tagOracle anchors by data tag within a height rangedata_tag, start_height, end_heightts_min, ts_max
novai_get_memory_objectsOn-chain memory objects owned by an entityentity_idnone

A note on block lookups by height

The endpoint retains a bounded recent window of blocks by height, so a height far below the current tip can return null even though it was a valid block. Lookups by hash work for any block the node still indexes. Call novai_get_chain_status first to learn the current tip height.

Development

npm installnpm run buildnpm test

npm test runs the offline unit and validation tests. To exercise the live endpoint:

npm run test:live

An end-to-end stdio check that spawns the built server and drives it with a real MCP client is available:

npm run build && node scripts/smoke.mjs

License

MIT. See the LICENSE file.

來源:README.md,提交 429e58a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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