Koskamo

midnight-cast MCP

A read-only developer CLI and MCP server for the Midnight network. It allows AI agents to query network health, inspect transactions and contracts, decode errors, check DUST status, and access working code examples from Midnight's official repository without requiring Node.js for binary execution.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

midnight-cast MCP logo, by KanasjnrCommunity listingLocal stdioSource reviewed; not executedPublished by Kanasjnr
You need:Preprod and mainnet go through Blockfrost and need a free project ID for each
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 1 GitHub star

What you can do with it

  • Query network health and block headers
  • Inspect transactions and deployed contracts
  • Decode ledger and JSON-RPC errors
  • Access working code examples for development

Source and maintenance

Community listingRegistry 0.2.1Apache-2.0
Last repository push
Latest release
v0.2.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

midnight-cast 0.2.1

npm
midnight-cast package definition
{
  "version": "0.2.1",
  "transport": "stdio",
  "identifier": "midnight-cast",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "mcp"
    }
  ],
  "environmentVariables": [
    {
      "name": "BLOCKFROST_PREPROD_PROJECT_ID",
      "description": "Blockfrost project ID for a Midnight Preprod project, needed only to query preprod. It is never shown to the model."
    },
    {
      "name": "BLOCKFROST_MAINNET_PROJECT_ID",
      "description": "Blockfrost project ID for a Midnight Mainnet project, needed only to query mainnet. It is never shown to the model."
    },
    {
      "name": "MIDNIGHT_CAST_NETWORKS",
      "description": "Comma-separated networks the model may query, such as preview,preprod. Default: every built-in network."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "midnight-cast-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "midnight-cast@0.2.1",
        "mcp"
      ],
      "env": {
        "BLOCKFROST_PREPROD_PROJECT_ID": "<YOUR_BLOCKFROST_PREPROD_PROJECT_ID>",
        "BLOCKFROST_MAINNET_PROJECT_ID": "<YOUR_BLOCKFROST_MAINNET_PROJECT_ID>",
        "MIDNIGHT_CAST_NETWORKS": "<YOUR_MIDNIGHT_CAST_NETWORKS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "midnight-cast-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "midnight-cast@0.2.1",
        "mcp"
      ],
      "env": {
        "BLOCKFROST_PREPROD_PROJECT_ID": "<YOUR_BLOCKFROST_PREPROD_PROJECT_ID>",
        "BLOCKFROST_MAINNET_PROJECT_ID": "<YOUR_BLOCKFROST_MAINNET_PROJECT_ID>",
        "MIDNIGHT_CAST_NETWORKS": "<YOUR_MIDNIGHT_CAST_NETWORKS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "midnight-cast-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "midnight-cast@0.2.1",
        "mcp"
      ],
      "env": {
        "BLOCKFROST_PREPROD_PROJECT_ID": "<YOUR_BLOCKFROST_PREPROD_PROJECT_ID>",
        "BLOCKFROST_MAINNET_PROJECT_ID": "<YOUR_BLOCKFROST_MAINNET_PROJECT_ID>",
        "MIDNIGHT_CAST_NETWORKS": "<YOUR_MIDNIGHT_CAST_NETWORKS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "midnight-cast-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "midnight-cast@0.2.1",
        "mcp"
      ],
      "env": {
        "BLOCKFROST_PREPROD_PROJECT_ID": "<YOUR_BLOCKFROST_PREPROD_PROJECT_ID>",
        "BLOCKFROST_MAINNET_PROJECT_ID": "<YOUR_BLOCKFROST_MAINNET_PROJECT_ID>",
        "MIDNIGHT_CAST_NETWORKS": "<YOUR_MIDNIGHT_CAST_NETWORKS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like midnight-cast MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.