mcpField
N
novai-mcp-server

novai-mcp-server

Local
github.com/0x-devcFinance1Updated 19w ago

About novai-mcp-server

novai-mcp-server is a read-only bridge for querying the live NOVAI blockchain through its public JSON-RPC endpoint. It is for MCP-equipped agents and exposes typed queries without handling keys or submitting transactions.

Key features

  1. 01Check chain status and retrieve blocks
  2. 02Look up confirmed transactions and balances
  3. 03Query AI entities and memory objects
  4. 04Search signals and oracle anchors
  5. 05Validate inputs and return clean errors

Use cases

  1. 01Check the current chain tip and block data
  2. 02Inspect a transaction or address balance
  3. 03Find signals within a height range
  4. 04Retrieve an entity's on-chain memory

MCP support

The stdio MCP server exposes read-only NOVAI chain queries as tools. It has no signing, transaction submission, or key-handling path.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"0x-devc-novai": {
"command": "npx",
"args": [
"-y",
"novai-mcp-server"
]
}
}
}
Run commandnpx -y novai-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmnovai-mcp-server0.1.1

Tools

12

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project 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-server
novai-mcp-server

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

Example MCP client configuration
{
  "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 install
npm run build
npm 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.