
Novai Mcp Server
io.github.0x-devcv0.1.1更新於 Sep 29, 2026
Read-only MCP server for querying the live NOVAI blockchain over its public JSON-RPC endpoint.
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Novai Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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:
Or install it and run the binary:
The server speaks MCP over stdio. Point your MCP client at the command above.
Example MCP client configuration
Configuration
NOVAI_RPC_URLoverrides 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.
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 test runs the offline unit and validation tests. To exercise the live endpoint:
An end-to-end stdio check that spawns the built server and drives it with a real MCP client is available:
License
MIT. See the LICENSE file.
來源:README.md,提交 429e58a
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026

