lean 4 mcp for Cursor
io.github.mrfentmen/lean-4-mcp
Lean 4 MCP: 20 real tools to read, check, lint, scaffold, build and run Lean 4 code.
client:Cursor
transport:stdio
runtime:npm
Install lean 4 mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"lean-4-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mrfentmen/lean-4-mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs