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.
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
- 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
{
"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.
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.
Cursor
{
"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
{
"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
{
"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
{
"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.