
Midnight + Next.js MCP
A dual-purpose toolkit that bridges Midnight blockchain development with Next.js tooling. On the blockchain side, you get contract compilation, deployment, wallet management, and token transfers for the Midnight Network, plus documentation search across official docs. The Next.js half gives you dev server discovery, runtime diagnostics, browser automation via Playwright, and upgrade utilities for Next.js 16 migrations. Use it when you're building privacy-focused dApps on Midnight and want your AI assistant to handle both smart contract operations and frontend development tasks without switching contexts. Ships with npx for zero-install usage across Claude, Cursor, Continue.dev, and other MCP-compatible assistants.
- tools
- 26
- auth
- Secret needed
- transport
- STDIO
- env vars
- 3
- last updated
- Jan 7, 2026
Tools
26 toolsPublic tool metadata for what this MCP can expose to an agent.
initInitialize Next.js development context
Initialize Next.js development context
No parameter schema in public metadata yet.
nextjs_docsSearch Next.js documentation
Search Next.js documentation
No parameter schema in public metadata yet.
nextjs_indexDiscover running dev servers
Discover running dev servers
No parameter schema in public metadata yet.
nextjs_callExecute runtime diagnostic tools
Execute runtime diagnostic tools
No parameter schema in public metadata yet.
browser_evalBrowser automation with Playwright
Browser automation with Playwright
No parameter schema in public metadata yet.
upgrade_nextjs_16Next.js 16 upgrade guide
Next.js 16 upgrade guide
No parameter schema in public metadata yet.
enable_cache_componentsCache Components migration
Cache Components migration
No parameter schema in public metadata yet.
midnight_initInitialize development context
Initialize development context
No parameter schema in public metadata yet.
midnight_compile_contractCompile Compact contracts to TypeScript/ZK artifacts
Compile Compact contracts to TypeScript/ZK artifacts
No parameter schema in public metadata yet.
midnight_analyze_contractStatic analysis for contracts
Static analysis for contracts
No parameter schema in public metadata yet.
midnight_deploy_contractDeploy contracts to the network
Deploy contracts to the network
No parameter schema in public metadata yet.
midnight_call_contractExecute circuit calls on deployed contracts
Execute circuit calls on deployed contracts
No parameter schema in public metadata yet.
midnight_scaffold_projectCreate new dApp projects from templates
Create new dApp projects from templates
No parameter schema in public metadata yet.
midnight_create_walletGenerate new wallet with seed phrase
Generate new wallet with seed phrase
No parameter schema in public metadata yet.
midnight_wallet_stateGet detailed wallet state and balances
Get detailed wallet state and balances
No parameter schema in public metadata yet.
midnight_transfer_tokensTransfer tDUST tokens
Transfer tDUST tokens
No parameter schema in public metadata yet.
midnight_get_balanceQuery token balances
Query token balances
No parameter schema in public metadata yet.
midnight_network_statusCheck network health (Indexer, Proof Server, Node)
Check network health (Indexer, Proof Server, Node)
No parameter schema in public metadata yet.
midnight_get_blockQuery blockchain blocks
Query blockchain blocks
No parameter schema in public metadata yet.
midnight_get_transactionQuery transaction details
Query transaction details
No parameter schema in public metadata yet.
midnight_check_versionsCheck for Midnight package updates
Check for Midnight package updates
No parameter schema in public metadata yet.
midnight_search_docsSearch Midnight documentation
Search Midnight documentation
No parameter schema in public metadata yet.
midnight-fetch-docsFetch specific documentation pages
Fetch specific documentation pages
No parameter schema in public metadata yet.
midnight-sync-docsSync documentation from official repo
Sync documentation from official repo
No parameter schema in public metadata yet.
midnight-docs-statusCheck documentation sync status
Check documentation sync status
No parameter schema in public metadata yet.
midnight-list-docsList available documentation sources
List available documentation sources
No parameter schema in public metadata yet.
Sponsors
Configuration
GITHUB_TOKENsecretGitHub Personal Access Token - increases API rate limits
LOG_LEVELdefault: infoLogging verbosity level
MIDNIGHT_LOCALdefault: falseEnable local mode with ChromaDB for offline semantic search
Readme
Midnight + Next.js Development MCP Server
A Model Context Protocol (MCP) server combining Midnight Network blockchain development tools with Next.js DevTools for building decentralized applications.
Compatible with all MCP-enabled AI assistants: Claude, GitHub Copilot, Cursor, Windsurf, Codeium, Continue.dev, Zed, Sourcegraph Cody, and more.
🤖 Supported AI Assistants
This MCP server works with any AI assistant that supports the Model Context Protocol:
| AI Assistant | Platform | Configuration |
|---|---|---|
| Claude | Desktop App, VS Code | Native MCP support |
| GitHub Copilot | VS Code, JetBrains | MCP extension |
| Cursor | IDE | Built-in MCP support |
| Windsurf | IDE | Built-in MCP support |
| Codeium | VS Code, JetBrains | MCP integration |
| Continue.dev | VS Code, JetBrains | MCP config file |
| Zed | IDE | MCP support |
| Sourcegraph Cody | VS Code | MCP extension |
🌙 Features
Midnight Network Tools
Details
- Repository
- github.com/fractionestate/midnight-nextjs-mcp
- Package
midnight-nextjs-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active