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 分