midnight-cast
v0.3.0Read-only tools for live Midnight networks: health, transactions, DUST, errors and example code
Values you need
| Variable | What it is | |
|---|---|---|
BLOCKFROST_PREPROD_PROJECT_ID | optional secret | Blockfrost project ID for a Midnight Preprod project, needed only to query preprod. It is never shown to the model. |
BLOCKFROST_MAINNET_PROJECT_ID | optional secret | Blockfrost project ID for a Midnight Mainnet project, needed only to query mainnet. It is never shown to the model. |
MIDNIGHT_CAST_NETWORKS | optional | 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 mcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: health, preflight, ping, tip, versions, block, tx, dust_event, ….
- 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