MCP.Market

midnight-cast MCP server

by Kanasjnr·io.github.Kanasjnr/midnight-cast·v0.2.1·1 stars

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

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

not scanned yet

Adoption
Growing

1 stars201 downloads/wk

Reviews

Write one

Nobody has reviewed midnight-cast yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

midnight-cast tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How midnight-cast compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 65% of 48,255 servers
GitHub stars
1
more than 65% of 28,688 servers
Downloads a week
201
more than 75% of 12,191 servers with a package

Release history: 2 versions in the registry since 2026-10-10, latest 2026-10-23, typically one every 13 days.

Install midnight-cast in Claude Code, Cursor or VS Code

Runs npx -y midnight-cast on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add midnight-cast -- npx -y midnight-cast
Add to Cursor

What the publisher says

From the midnight-cast repository's README, as published. We do not edit it. Read it on GitHub

midnight-cast

[!NOTE]

This project extends the Midnight Network with additional developer tooling.

Read-only CLI and MCP server for the Midnight networks: network health, error decoding, transactions, contracts, DUST, and working code from Midnight's official examples. Think Foundry cast for Midnight, not a wallet or app scaffold.

npx midnight-cast@latest health preview
# or: npm i -g midnight-cast@latest && midnight-cast health preview

Preview needs nothing else. Preprod and mainnet go through Blockfrost and need a free project ID for each; see Quick start.

Note: midnight-cast also installs a short alias, mn, which runs the same commands. Other global CLIs (e.g. @mermaid-js/mermaid-cli, midnight-wallet-cli) install an mn too, so these docs, the hints and the JSON output always say midnight-cast.

midnight-cast health preview

Or step by step: midnight-cast ping preview && midnight-cast tip preview && midnight-cast versions preview

Requires Node.js 20+ (22+ recommended). Without Node.js, the release binaries install the same commands after checking the checksum:

curl -fsSL https://github.com/Kanasjnr/midnight-cast/releases/latest/download/install.sh | sh

On Windows, in PowerShell: irm https://github.com/Kanasjnr/midnight-cast/releases/latest/download/install.ps1 | iex. Where there's no curl, wget -qO- | sh works too. Alpine needs libstdc++ and libgcc first (apk add libstdc++ libgcc). MIDNIGHTCASTVERSION=0.2.0 pins a release and MIDNIGHTCASTINSTALL_DIR picks the directory (default ~/.local/bin). Each archive carries build provenance: gh attestation verify --repo Kanasjnr/midnight-cast.

Key capabilities

  • Read RPC, indexer, and proof-server health, and whether Midnight's own examples pass on the node a network runs
  • Compare live stack signals and a project's Midnight packages with the support matrix
  • Decode ledger, pallet, Substrate 1010, and JSON-RPC errors, and messages from current tooling and Blockfrost
  • Check a network, proof server and wallet are ready before the first transaction (preflight)
  • Inspect transactions, deployed contracts, DUST generation and DUST event streams
  • Find working code in Midnight's official examples for a topic in your own words (examples)
  • Serve all of it to AI agents as a read-only MCP server, with guidance for Claude Code, Codex, Gemini CLI, Cursor and others
  • Query block headers and raw JSON-RPC without writing scripts
  • Run without Node.js from a standalone binary

What it does

No wallet keys. No signing or proving.

Common workflows

Is the network healthy?

midnight-cast health preprod

Example output:

Network: preprod
Healthy: yes

Services:
  rpc: OK (668ms)
  indexer: OK (1215ms)
  proof-server: OK (1053ms) (optional) — version=8.1.0 (matches matrix 8.1.0)

Sync:
  RPC height:      2805470
  Indexer height:  2805468
  Delta:           2 (threshold 100)
  In sync:         yes

Why did my tx fail?

midnight-cast tx <hash> --network preprod
midnight-cast decode --raw "<wallet-or-node-error>"

Example output:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

midnight-cast: common questions

Is midnight-cast MCP server safe?
Mostly: it is graded B (83/100). Read the midnight-cast safety report
How do I install midnight-cast?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does midnight-cast need an API key?
Yes. The registry entry asks for BLOCKFROST_PREPROD_PROJECT_ID, BLOCKFROST_MAINNET_PROJECT_ID.
Is midnight-cast maintained?
The last commit was 25 days ago (2026-10-10). The latest release is v0.2.1.
How does midnight-cast compare with other MCP servers?
safety score 83/100 (higher than 65% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 201 (more than 75% of 12,191 servers with a package). Full comparison.