MIDNIGHT NEXTJS TOOLS

35 tools from the Midnight Nextjs MCP Server, categorised by risk level.

View the Midnight Nextjs policy →

READ TOOLS

21
get_environment_info Get information about the runtime environment including Node.js version, platform, and system resources. get_server_status Get the current server status including health, active connections, and resource usage. Use this to diagnose server issues. get_session_info Get information about the current MCP session including server version, enabled toolsets, and environment. Use this to understand the current context. get_toolset_tools Lists all the capabilities that are enabled with the specified toolset. Use this to get clarity on whether enabling a toolset would help you to com... list_available_toolsets List all available toolsets this MCP server can offer, providing the enabled status of each. Use this when a task could be achieved with a tool and... list_enabled_features List all currently enabled features and feature flags. Use this to understand what capabilities are available. midnight_analyze_contract Perform static analysis on a Compact smart contract. Analyzes: - Contract structure and patterns - Potential security issues - Gas/complexity esti... midnight_check_versions Check for updates to @midnight-ntwrk npm packages. Compares installed versions against the latest available on npm. Supports both stable and alpha... midnight_get_balance Query token balance for a Midnight Network address. Returns: - tDUST (native token) balance - Address information Use this tool to: - Check walle... midnight_get_block Query block information from the Midnight blockchain. Returns: - Block height - Block hash - Timestamp - Transaction count Use this tool to: - Ge... midnight_get_transaction Query transaction details from the Midnight blockchain. Returns: - Transaction hash - Block height - Status (pending/confirmed/failed) - Contract ... midnight_network_status Check the health status of Midnight Network services. Returns the status of: - Indexer (GraphQL API for blockchain data) - Proof Server (ZK proof ... midnight_search_docs Search Midnight Network official documentation. Searches across: - Compact language reference - SDK/API documentation - Tutorials and guides - Exa... 2/5 midnight_wallet_state Get detailed wallet state including balances, coins, and sync status. **Returns:** - tDUST balance (total and available) - Individual coin details... midnight-docs-status Get the current status of documentation sync, including cache age and available updates. midnight-fetch-docs Fetch documentation directly from the official Midnight docs. Use when you know the specific path or need the full content of a documentation page. 2/5 midnight-list-docs List all available documentation sources with their sync status. midnight-search-docs Search Midnight documentation content. Use for finding guides, API docs, and conceptual explanations about the Midnight blockchain and Compact lang... 2/5 midnight-sync-docs Sync documentation from the official Midnight repository. Use to ensure documentation is up to date. nextjs_docs Fetch Next.js official documentation by path. IMPORTANT: You MUST first read the `nextjs-docs://llms-index` MCP resource to get the correct path. ... 2/5 upgrade_nextjs_16 Guide through upgrading Next.js to version 16. CRITICAL: Runs the official codemod FIRST (requires clean git state) for automatic upgrades and fix...

WRITE TOOLS

4

DESTRUCTIVE TOOLS

4

EXECUTE TOOLS

5

FINANCIAL TOOLS

1
How many tools does the Midnight Nextjs MCP server have? +

The Midnight Nextjs MCP server exposes 35 tools across 5 categories: Read, Write, Destructive, Execute, Financial.

How do I enforce policies on Midnight Nextjs tools? +

Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the Midnight Nextjs server.

What risk categories do Midnight Nextjs tools fall into? +

Midnight Nextjs tools are categorised as Read (21), Write (4), Destructive (4), Execute (5), Financial (1). Each category has a recommended default policy.

Enforce policies on Midnight Nextjs

Open source. One binary. Zero dependencies.

npx -y @policylayer/intercept
github.com/policylayer/intercept →
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.