Skip to content

Midnight + Next.js MCP for Zed

io.github.fractionestate/midnight-nextjs-mcp

Unified MCP server for Midnight blockchain development and Next.js dApps.

client:Zed transport:stdio runtime:npm

Install Midnight + Next.js MCP in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "midnight-nextjs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "midnight-nextjs-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "LOG_LEVEL": "<LOG_LEVEL>",
        "MIDNIGHT_LOCAL": "<MIDNIGHT_LOCAL>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Midnight + Next.js MCP in other clients