Grok Build for VS Code
io.github.nuruvala/grok-build-mcp-server
Run the Grok Build CLI as MCP tools: agent runs with live progress, code review, web research.
client:VS Code
transport:stdio
runtime:npm
Install Grok Build in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "grok-binary",
"description": "GROK_BINARY",
"password": true
},
{
"type": "promptString",
"id": "grok-mcp-permission-ceiling",
"description": "GROK_MCP_PERMISSION_CEILING",
"password": true
},
{
"type": "promptString",
"id": "grok-mcp-default-permission",
"description": "GROK_MCP_DEFAULT_PERMISSION",
"password": true
},
{
"type": "promptString",
"id": "grok-mcp-default-model",
"description": "GROK_MCP_DEFAULT_MODEL",
"password": true
},
{
"type": "promptString",
"id": "grok-mcp-default-effort",
"description": "GROK_MCP_DEFAULT_EFFORT",
"password": true
},
{
"type": "promptString",
"id": "grok-mcp-timeout-ms",
"description": "GROK_MCP_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "grok-mcp-state-dir",
"description": "GROK_MCP_STATE_DIR",
"password": true
},
{
"type": "promptString",
"id": "grok-mcp-max-concurrent-runs",
"description": "GROK_MCP_MAX_CONCURRENT_RUNS",
"password": true
},
{
"type": "promptString",
"id": "structured-content-enabled",
"description": "STRUCTURED_CONTENT_ENABLED",
"password": true
}
],
"servers": {
"grok-build-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"grok-build-mcp-server"
],
"env": {
"GROK_BINARY": "${input:grok-binary}",
"GROK_MCP_PERMISSION_CEILING": "${input:grok-mcp-permission-ceiling}",
"GROK_MCP_DEFAULT_PERMISSION": "${input:grok-mcp-default-permission}",
"GROK_MCP_DEFAULT_MODEL": "${input:grok-mcp-default-model}",
"GROK_MCP_DEFAULT_EFFORT": "${input:grok-mcp-default-effort}",
"GROK_MCP_TIMEOUT_MS": "${input:grok-mcp-timeout-ms}",
"GROK_MCP_STATE_DIR": "${input:grok-mcp-state-dir}",
"GROK_MCP_MAX_CONCURRENT_RUNS": "${input:grok-mcp-max-concurrent-runs}",
"STRUCTURED_CONTENT_ENABLED": "${input:structured-content-enabled}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs