lean-lsp-mcp
Lean Theorem Prover MCP
File Explorer
Download Latest Version (.zip)- ci.yml
- integration-tests.yml
- entrypoint.sh
- adding-a-tool.md
- tools.md
- __init__.py
- analysis.py
- build.py
- diagnostics.py
- goals.py
- navigation.py
- search.py
- widgets.py
- __init__.py
- __main__.py
- attempt_utils.py
- build_utils.py
- client_utils.py
- config.py
- diagnostic_utils.py
- file_utils.py
- instructions.py
- loogle.py
- minimal_hypotheses.py
- models.py
- outline_utils.py
- profile_utils.py
- repl.py
- search_utils.py
- server.py
- tool_registry.py
- tool_utils.py
- utils.py
- verify.py
- __init__.py
- mcp_client.py
- test_project.py
- calls_smoke.json
- drive.py
- BenchmarkTest.lean
- CacheTest.lean
- CodeActionsTest.lean
- DeclarationDiagnosticTest.lean
- DiagnosticTest.lean
- EditorTools.lean
- GoalSample.lean
- InteractiveDiagTest.lean
- KernelErrorTest.lean
- lake-manifest.json
- lakefile.toml
- lean-toolchain
- McpTestProject.lean
- MinimalHypothesesTest.lean
- MiscTools.lean
- MultiAttemptContextTest.lean
- MultiAttemptFalseSuccess.lean
- NamespacedDiagnosticTest.lean
- ProfileTest.lean
- RefactorTools.lean
- StructuredOutputTest.lean
- VerifyTest.lean
- WidgetTest.lean
- test_build_coordinator.py
- test_build_progress.py
- test_cli.py
- test_client_utils.py
- test_code_actions_fallback.py
- test_config.py
- test_diagnostic_identity.py
- test_file_utils.py
- test_loogle.py
- test_main.py
- test_minimal_hypotheses.py
- test_profile_utils.py
- test_references.py
- test_search_utils.py
- test_server.py
- test_tools_search.py
- test_utils.py
- test_verify.py
- test_windows_encoding.py
- __init__.py
- conftest.py
- test_code_actions.py
- test_diagnostic_line_range.py
- test_editor_tools.py
- test_error_handling.py
- test_file_caching.py
- test_logging.py
- test_minimal_hypotheses.py
- test_misc_tools.py
- test_multi_attempt_context.py
- test_multi_attempt_false_success.py
- test_nix_flake.py
- test_outline.py
- test_profile.py
- test_project_tools.py
- test_refactoring_tools.py
- test_repl.py
- test_search_tools.py
- test_stale_imports.py
- test_structured_output.py
- test_transport_disconnect.py
- test_verify.py
- test_widget_tools.py
- .dockerignore
- .gitignore
- .python-version
- Dockerfile
- flake.lock
- flake.nix
- LICENSE
- pyproject.toml
- README.md
- release.sh
- uv.lock
# Installation Guide
1. Get the code
git clone https://github.com/oOo0oOo/lean-lsp-mcp
Downloads the entire project code from GitHub to your computer.
cd lean-lsp-mcp
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t lean-lsp-mcp:containerized .
Builds a runnable image based on the Dockerfile.
docker run --rm -i \
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
npx @modelcontextprotocol/inspector uvx --with-editable path/to/lean-lsp-mcp python -m lean_lsp_mcp.server
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
