Skip to content
Windsurf

Midnight + Next.js MCP for Windsurf

io.github.fractionestate/midnight-nextjs-mcp

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

client:Windsurf transport:stdio runtime:npm

Install Midnight + Next.js MCP in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

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

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Midnight + Next.js MCP in other clients