Skip to content
Cursor

Midnight + Next.js MCP for Cursor

io.github.fractionestate/midnight-nextjs-mcp

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

client:Cursor transport:stdio runtime:npm

Install Midnight + Next.js MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Midnight + Next.js MCP in other clients