Skip to main content
Glama

lean_build

DestructiveIdempotent

Build Lean projects and restart the Language Server Protocol to process new imports or dependencies, ensuring theorem proving tools remain synchronized with code changes.

Instructions

Build the Lean project and restart LSP. Use only if needed (e.g. new imports).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lean_project_pathNoPath to Lean project
cleanNoRun lake clean first (slow)
output_linesNoReturn last N lines of build log (0=none)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorsNoBuild errors if any
outputYesBuild output
successYesWhether build succeeded

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oOo0oOo/lean-lsp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server