Unified MCP server for Midnight blockchain development and Next.js dApps.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
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.
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 |
midnight_init - Initialize development contextmidnight_compile_contract - Compile Compact contracts to TypeScript/ZK artifactsmidnight_analyze_contract - Static analysis for contractsmidnight_deploy_contract - Deploy contracts to the networkmidnight_call_contract - Execute circuit calls on deployed contractsmidnight_scaffold_project - Create new dApp projects from templatesmidnight_create_wallet - Generate new wallet with seed phrasemidnight_wallet_state - Get detailed wallet state and balancesmidnight_transfer_tokens - Transfer tDUST tokensmidnight_get_balance - Query token balancesmidnight_network_status - Check network health (Indexer, Proof Server, Node)midnight_get_block - Query blockchain blocksmidnight_get_transaction - Query transaction detailsmidnight_check_versions - Check for Midnight package updatesmidnight_search_docs - Search Midnight documentationmidnight-fetch-docs - Fetch specific documentation pagesmidnight-sync-docs - Sync documentation from official repomidnight-docs-status - Check documentation sync statusmidnight-list-docs - List available documentation sourcesinit - Initialize Next.js development contextnextjs_docs - Search Next.js documentationnextjs_index - Discover running dev serversnextjs_call - Execute runtime diagnostic toolsbrowser_eval - Browser automation with Playwrightupgrade_nextjs_16 - Next.js 16 upgrade guideenable_cache_components - Cache Components migrationThe easiest way to use this MCP server is via npx β no installation required:
The MCP configuration format is standardized across most AI assistants. Below are platform-specific examples:
Most MCP clients use this standard JSON format. Add to your client's MCP configuration file:
Add to your VS Code settings.json or workspace .vscode/mcp.json:
Or for Claude extension specifically:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
Edit %APPDATA%\Claude\claude_desktop_config.json:
Edit ~/.config/Claude/claude_desktop_config.json:
Add to your Cursor MCP configuration (.cursor/mcp.json in your project or global settings):
Add to your Windsurf MCP settings:
Add to ~/.continue/config.json or your project's .continue/config.json:
Add to your Zed settings (~/.config/zed/settings.json on Linux, ~/Library/Application Support/Zed/settings.json on macOS):
Add to your Cody MCP configuration:
For AI assistants in JetBrains IDEs that support MCP, add to your MCP configuration:
If you prefer a global install instead of npx:
Then configure:
Run the MCP server in a Docker container:
You can pass environment variables to the MCP server in your configuration:
| Network | Indexer | Proof Server |
|---|---|---|
| Testnet | indexer.testnet.midnight.network | proof-server.testnet.midnight.network |
| Devnet | localhost:8080 | localhost:6300 |
The server exposes documentation resources:
midnight://compact/overview - Compact language introductionmidnight://compact/reference - Complete syntax referencemidnight://sdk/overview - Midnight.js SDK guidenextjs-docs://llms-index - Documentation indexcache-components://overview - Cache Components guideContributions welcome! Please read the contributing guidelines first.
MIT License - see LICENSE for details.
Built with β€οΈ for the Midnight and Next.js communities.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/midnight-next-js-mcp)<a href="https://allmcps.com/mcp/midnight-next-js-mcp"><img src="https://allmcps.com/api/badge/midnight-next-js-mcp?style=directory" alt="Midnight + Next.js MCP on AllMCPs" /></a>