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
{
"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