midnight-cast

v0.3.0
io.github.Kanasjnr/midnight-cast Checked 4 hours ago Published 5 days ago

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

Values you need

VariableWhat it is
BLOCKFROST_PREPROD_PROJECT_IDoptional secret Blockfrost project ID for a Midnight Preprod project, needed only to query preprod. It is never shown to the model.
BLOCKFROST_MAINNET_PROJECT_IDoptional secret Blockfrost project ID for a Midnight Mainnet project, needed only to query mainnet. It is never shown to the model.
MIDNIGHT_CAST_NETWORKSoptional Comma-separated networks the model may query, such as preview,preprod. Default: every built-in network.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add midnight-cast -- npx -y midnight-cast@0.3.0 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "midnight-cast": {
      "args": [
        "-y",
        "midnight-cast@0.3.0",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "midnight-cast": {
      "args": [
        "-y",
        "midnight-cast@0.3.0",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "midnight-cast": {
      "args": [
        "-y",
        "midnight-cast@0.3.0",
        "mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.midnight-cast]
command = "npx"
args = ["-y", "midnight-cast@0.3.0", "mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: health, preflight, ping, tip, versions, block, tx, dust_event, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json