Midnight + Next.js MCP
About
Unified MCP server for Midnight blockchain development and Next.js dApps.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
GITHUB_TOKEN LOG_LEVEL MIDNIGHT_LOCALClaude Code
claude mcp add --env GITHUB_TOKEN= --env LOG_LEVEL= --env MIDNIGHT_LOCAL= midnight-nextjs-mcp -- npx midnight-nextjs-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"midnight-nextjs-mcp","command":"npx","args":["midnight-nextjs-mcp"],"env":{"GITHUB_TOKEN":"","LOG_LEVEL":"","MIDNIGHT_LOCAL":""}}'
JSON
{
"mcpServers": {
"midnight-nextjs-mcp": {
"command": "npx",
"args": [
"midnight-nextjs-mcp"
],
"env": {
"GITHUB_TOKEN": "",
"LOG_LEVEL": "",
"MIDNIGHT_LOCAL": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.