Skip to content
Agentmart
Submit a tool

midnight-cast

Read-only tools for live Midnight networks: health, transactions, DUST, errors and example code

Connector by Kanasjnr · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)★ 1
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/kanasjnr-midnight-cast

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Read-only tools for live Midnight networks: health, transactions, DUST, errors and example code

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.

Tools
14 read · 0 write · 0 deleteRead-only
Secrets
2 (API keys, tokens or passwords)
Install scripts
None found
Runs as
Node.js package

Tools by what they do 14

Read from the source code; the running server may list different tools.

Read 14 · Look things up without changing anything.

  • block
  • contract
  • decode
  • dust_event
  • dust_events
  • dust_status
  • examples
  • explain
  • health
  • ping
  • preflight
  • tip
Show 2 more tools
  • tx
  • versions

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • BLOCKFROST_MAINNET_PROJECT_ID
  • BLOCKFROST_PREPROD_PROJECT_ID

Other settings (environment variables or headers).

  • MIDNIGHT_CAST_NETWORKS

Network hosts it talks to 15

  • api.github.com · found in code
  • blockfrost.io · found in code
  • bun.com · found in code
  • docs.midnight.network · found in code
  • github.com · found in code
  • jsonrpc.org · found in code
  • midnight-mainnet.blockfrost.io · found in code
  • midnight-preprod.blockfrost.io · found in code
  • midnight-tmnight-preprod.nethermind.dev · found in code
  • proof-server.preprod.midnight.network · found in code
  • proof-server.preview.midnight.network · found in code
  • raw.githubusercontent.com · found in code
  • rpc.midnight-mainnet.blockfrost.io · found in code
  • rpc.midnight-preprod.blockfrost.io · found in code
  • rpc.preview.midnight.network · found in code

Files it touches

  • /opt/midnight-cast
  • Your home directory (~)
  • C:\\Windows

Tools (14)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • blockmidnight-cast blockread-only

    Read a block header: the latest one, or the block at a height.

  • contractmidnight-cast contractread-only

    Look up a deployed contract by address: whether it exists, its latest action (deploy, call or update) and the circuit a call ran, the deploy transaction and block (not reported after an update), unshielded balances, and the state's size and sha256.

  • decodemidnight-cast decoderead-only

    Explain a Midnight error. Paste the whole message from a wallet, node, toolkit or Blockfrost: 1010 rejections, Custom(N) ledger codes, pallet errors, JSON-RPC codes and known tooling messages are recognised. A bare code such as 170 works too.

  • dust_eventmidnight-cast dust-eventread-only

    Read one DUST ledger event by id from the indexer subscription.

  • dust_eventsmidnight-cast dust-eventsread-only

    Read DUST ledger events from the indexer: the latest ones, or a run starting at an id.

  • dust_statusmidnight-cast dust-statusread-only

    DUST generation for Cardano reward addresses: whether each is registered, its NIGHT balance, generation rate, and current and maximum DUST capacity. Use when a wallet has no DUST.

  • examplesmidnight-cast examplesread-only

    Working code from Midnight's official examples (midnightntwrk/midnight-examples), each compiled and tested in CI. Give a topic such as "DUST sponsorship", "send shielded tokens" or "verify a signature in a circuit" to get the examples that show it, with file paths, line ranges, links pinned to a commit and the code itself. Without a topic, lists every example and what it covers. Prefer these over writing Midnight code from memory.

  • explainmidnight-cast explainread-only

    Background on a Midnight topic: dust, 1010, versions, transcript, sync.

  • healthmidnight-cast healthread-only

    Full check of a Midnight network: RPC and indexer reachability, indexer sync against the node, and live versions against the support matrix. data.examples says whether Midnight's own examples pass on the node the network runs. Start here when something might be wrong with the network rather than the user's code.

  • pingmidnight-cast pingread-only

    Check whether the network's RPC node, indexer and proof server answer, with latency and a classified error kind for each failure.

  • preflightmidnight-cast preflightread-only

    Check that a network, its proof server and optionally a wallet are ready before the first transaction: the network answers and is in sync, the proof server answers at the expected version, and the wallet holds NIGHT registered for DUST generation. data.expectations quotes how long wallet sync and restore took in Midnight's examples run, so a long first sync isn't mistaken for a hang.

  • tipmidnight-cast tipread-only

    Compare the node's latest block height with the indexer's, to see whether the indexer is behind.

  • txmidnight-cast txread-only

    Look up a transaction on the indexer: status, segments, fees, contract actions and the DUST and Zswap events it produced.

  • versionsmidnight-cast versionsread-only

    Compare the network's live node, runtime, indexer API and proof server with Midnight's support matrix, and a project's Midnight packages (package.json and package-lock.json) with the matrix pins. data.localProject says which directory was checked and whether it had a package.json, and data.examples whether Midnight's own examples pass on the node the network runs.

Signals

Stars
1
Forks
2
Open issues
5
Last commit
Oct 23, 2026 (5 days ago)
Last release
Oct 23, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.Kanasjnr/midnight-cast
Version
0.2.1
Auth
API key
Packages
npm midnight-cast
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

midnight-cast MCP server. Agent Mart. https://agentmart.dev/connectors/kanasjnr-midnight-cast (last updated 2026-10-24)