lean 4 mcp for VS Code
io.github.mrfentmen/lean-4-mcp
Lean 4 MCP: 20 real tools to read, check, lint, scaffold, build and run Lean 4 code.
client:VS Code
transport:stdio
runtime:npm
Install lean 4 mcp in VS Code
.vscode/mcp.json
{
"servers": {
"lean-4-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mrfentmen/lean-4-mcp"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs