Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

midnight-cast

de Kanasjnrversión 0.2.1i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.Kanasjnr/midnight-cast

Instalar

Resumen

Descripción del creador (original en inglés)

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

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Clínicas y salud
  • Debes completar: BLOCKFROST_PREPROD_PROJECT_ID, BLOCKFROST_MAINNET_PROJECT_ID

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: BLOCKFROST_PREPROD_PROJECT_ID, BLOCKFROST_MAINNET_PROJECT_ID, MIDNIGHT_CAST_NETWORKS

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • npmNode.js instalado (para el comando npx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "midnight-cast": {
      "command": "npx",
      "args": [
        "-y",
        "midnight-cast",
        "mcp"
      ],
      "env": {
        "BLOCKFROST_PREPROD_PROJECT_ID": "your-value",
        "BLOCKFROST_MAINNET_PROJECT_ID": "your-value",
        "MIDNIGHT_CAST_NETWORKS": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add midnight-cast --env BLOCKFROST_PREPROD_PROJECT_ID=your-value --env BLOCKFROST_MAINNET_PROJECT_ID=your-value --env MIDNIGHT_CAST_NETWORKS=your-value -- npx -y midnight-cast mcp

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "midnight-cast": {
      "command": "npx",
      "args": [
        "-y",
        "midnight-cast",
        "mcp"
      ],
      "env": {
        "BLOCKFROST_PREPROD_PROJECT_ID": "your-value",
        "BLOCKFROST_MAINNET_PROJECT_ID": "your-value",
        "MIDNIGHT_CAST_NETWORKS": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "midnight-cast": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "midnight-cast",
        "mcp"
      ],
      "env": {
        "BLOCKFROST_PREPROD_PROJECT_ID": "your-value",
        "BLOCKFROST_MAINNET_PROJECT_ID": "your-value",
        "MIDNIGHT_CAST_NETWORKS": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • BLOCKFROST_PREPROD_PROJECT_ID secreto env
    Blockfrost project ID for a Midnight Preprod project, needed only to query preprod. It is never shown to the model.
  • BLOCKFROST_MAINNET_PROJECT_ID secreto env
    Blockfrost project ID for a Midnight Mainnet project, needed only to query mainnet. It is never shown to the model.
  • MIDNIGHT_CAST_NETWORKS env
    Comma-separated networks the model may query, such as preview,preprod. Default: every built-in network.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub Kanasjnr, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Clínicas y saludi

  • Más estrellas que el 0% de los otros 1022 servidores de esta categoría
  • Publicado en el registro más recientemente que el 64% de los otros 1022 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 1022 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro midnight-cast?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: BLOCKFROST_PREPROD_PROJECT_ID, BLOCKFROST_MAINNET_PROJECT_ID

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.2.1) llegó al registro hace 15 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Mirobody, FHIR MCP Server, Google Health MCP

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Mirobody

de thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

Se ejecuta en tu computadora★ 1408Apache-2.0Actualizado hoy
Instalar

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

Se ejecuta en tu computadora★ 137Apache-2.0Actualizado hace 9 días
Instalar

Google Health MCP

de davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

Se ejecuta en tu computadora★ 79MITActualizado hace 4 meses
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

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). MIDNIGHT_CAST_VERSION=0.2.0 pins a release and MIDNIGHT_CAST_INSTALL_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

AreaCommands
Healthhealth, ping, tip, versions, preflight
Chainblock latest, block , rpc
Errorsdecode (ledger, pallet, 1010, jsonrpc, --raw)
Indexertx, contract, dust-status, dust-event, dust-events
Working code and backgroundexamples, explain (dust, 1010, versions, transcript, sync)
Agentsmcp, agents init
Configconfig init, config show

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 " "

Example output:

Type:     RegularTransaction

ID: 232830 Hash: e5c86fcd43eb9707e8f23d940e59a6c12ca7ad3ca7e9d2f1232843cc62de1b8c Block: 909000 (428660a6154a27cee57af3527cb3370ad3bbce94f461f433533b1413e24b71f4) Protocol: 22000 Status: PARTIAL_SUCCESS Fees: paid=1 Segments: 0:ok, 20003:ok, 35012:fail Failure: indexer v4 exposes segment success only (no failure reason) Hint: paste wallet/node error → midnight-cast decode --raw " " Actions: ContractCall DUST: 665110:DustSpendProcessed → midnight-cast dust-event 665110

Is my local stack aligned with the network?
midnight-cast versions preprod

Example output:

Checks:

node: expected=>=1.0.400 live=1.0.400 → OK (recommended 1.0.400) runtimeSpec: expected=1000300 live=1000300 → OK (node runtime spec_version vs matrix) indexer-api: expected=v4 live=v4 → OK (from configured indexer URL path) protocolVersion: expected=1000300 live=1000300 → OK (RPC specVersion vs indexer latest block) proof-server: expected=8.1.0 live=8.1.0 → OK (GET /version on configured proof server URL)

Summary: live stack matches matrix checks ✓

Quick start

npm i -g midnight-cast          # or: npx midnight-cast …

midnight-cast config init # ~/.config/midnight-cast/config.toml midnight-cast health preview midnight-cast decode 170 midnight-cast examples "dust sponsorship"

Networks: preview, preprod, mainnet, local — use --network or MN_NETWORK.

Preprod and mainnet go through Blockfrost, since Midnight retired its hosted preprod and mainnet endpoints (mainnet on 30 September 2026, preprod on 9 October). Blockfrost project IDs are per network: create a free Midnight Preprod project, a Midnight Mainnet one, or both, on blockfrost.io, then:

export BLOCKFROST_PREPROD_PROJECT_ID=<your Midnight Preprod project ID>

export BLOCKFROST_MAINNET_PROJECT_ID=nightmainnet... npx midnight-cast health preprod

Preview is still hosted by Midnight and needs no project ID. The project IDs are never printed. See docs/COMMANDS.md.

Debug ladder

When something breaks, run these in order:

  1. midnight-cast health — ping + sync + versions in one shot (preflight --address before a first transaction)
  2. midnight-cast ping — services up?
  3. midnight-cast tip — indexer synced?
  4. midnight-cast versions — stack matches support matrix?
  5. midnight-cast decode — what does the error mean?
  6. midnight-cast tx — what happened on chain?

Common one-liners

midnight-cast health preprod --json

midnight-cast ping preprod midnight-cast versions preprod midnight-cast decode --raw "1010: Invalid Transaction: Custom error: 186" midnight-cast decode 179 --network preview # ledger map stamped per network midnight-cast tx --network preprod # status, fees, segments; links dust-event ids midnight-cast block 909000 preprod # header at height (+ hash) midnight-cast dust-events --from 565900 --limit 10 --network preprod midnight-cast rpc chain_getHeader --json midnight-cast versions preprod --fail-on-mismatch # CI; local Midnight packages (either npm scope) vs matrix pins midnight-cast preflight preprod --address mn_addr_preprod1… # ready for a first transaction? midnight-cast contract preprod # latest action, circuit, deploy block, balances midnight-cast examples "send shielded tokens" # working code from Midnight's official examples midnight-cast explain sync # why a first wallet sync takes so long

Using with AI agents

An agent working on a Midnight project needs to know what the network is doing right now, what an error means, and what working code looks like. midnight-cast answers all three from live data and Midnight's own sources, in a form an agent can parse, and its MCP server can't change anything.

It sits next to two other sources an agent may already have. The Kapa answer engine answers questions from Midnight's documentation and examples. Midnight Expert gives agents skills and MCP tools for writing and verifying Compact and SDK code. midnight-cast is the part neither covers: the live state of preview, preprod and mainnet, the meaning of a specific error code on the ledger the network runs, whether a project's versions match the network, and which of Midnight's official examples shows a pattern.

The JSON contract

Add --json to any command for one stable envelope: ok, data, a structured error with a kind and hint, any warnings, and next, the follow-up commands an expert would run. midnight-cast explain --json describes every command, option, exit code and error kind in one call, and schemas/ has a JSON Schema for each command's output. Exit codes are 0 for success, 1 for a failed check and 2 for a usage error. See JSON output.

midnight-cast decode --raw "1010: Invalid Transaction: Custom error: 186" --json

midnight-cast explain --json

The MCP server

Agents that speak MCP can use midnight-cast directly: midnight-cast mcp runs an MCP server on stdio with 14 tools, health, preflight, ping, tip, versions, block, tx, dust_event, dust_events, contract, dust_status, decode, explain and examples, each returning the same envelope. For example, in Claude Code:

claude mcp add --transport stdio midnight-cast -- npx -y midnight-cast mcp

A sandbox or CI image without Node.js can run the same server from the standalone binary: midnight-cast mcp.

What an agent can and can't do with it
  • Every MCP tool only reads, and each is marked read-only to the client. None signs or submits a transaction, and none needs a wallet, a key or a seed. The CLI's rpc command, which passes any JSON-RPC method to a node, isn't an MCP tool.
  • MIDNIGHT_CAST_NETWORKS limits which networks the model may query, for example preview,preprod.
  • Tools that reach a network are rate limited, 30 calls a minute by default (MIDNIGHT_CAST_MAX_CALLS_PER_MINUTE), so a looping agent can't exhaust public endpoints or a Blockfrost plan.
  • The only secrets it holds are optional Blockfrost project IDs for preprod and mainnet. They're sent only to Blockfrost and redacted from every response, so the model never sees them.
  • decode, explain and examples work offline from data bundled with the release.
Guidance, skill and plugin

To teach a coding agent when and how to use midnight-cast, add the guidance to your project: midnight-cast agents init --write appends a marked section to AGENTS.md (read by Codex, Cursor, Copilot, Gemini CLI, Windsurf, Aider and others; use --file CLAUDE.md for Claude Code), or install the portable skill with npx skills add Kanasjnr/midnight-cast --skill midnight-cast. The snippets are in docs/agents.

In Claude Code, one plugin installs the skill, the MCP server and a /midnight-cast:diagnose [tx or error] command. When the plugin is enabled, Claude Code asks for optional Blockfrost project IDs for preprod and mainnet and keeps them in secure storage; left empty, an exported BLOCKFROST_PREPROD_PROJECT_ID or BLOCKFROST_MAINNET_PROJECT_ID is used. If you added the server with claude mcp add before, remove it with claude mcp remove midnight-cast so only the plugin's server runs:

claude plugin marketplace add Kanasjnr/midnight-cast

claude plugin install midnight-cast@midnight-cast

docs/MCP.md has the setup for Codex, Gemini CLI, Cursor, VS Code and others, the network allow-list, and how the Blockfrost project ID stays out of the model's sight.

Community & support

NeedWhere
Midnight errors, network issues, dev questionsMidnight Discord
midnight-cast bug or something not workingGitHub Issues

| New command or feature idea | [GitHub Issues](https://github.com/Kanasjnr/midnight-c

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx