Midnight + Next.js MCP for VS Code
io.github.fractionestate/midnight-nextjs-mcp
Unified MCP server for Midnight blockchain development and Next.js dApps.
client:VS Code
transport:stdio
runtime:npm
Install Midnight + Next.js MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "github-token",
"description": "GITHUB_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "log-level",
"description": "LOG_LEVEL",
"password": true
},
{
"type": "promptString",
"id": "midnight-local",
"description": "MIDNIGHT_LOCAL",
"password": true
}
],
"servers": {
"midnight-nextjs-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"midnight-nextjs-mcp"
],
"env": {
"GITHUB_TOKEN": "${input:github-token}",
"LOG_LEVEL": "${input:log-level}",
"MIDNIGHT_LOCAL": "${input:midnight-local}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs