LeanWarp

v0.2.11
io.github.Isagoge-Labs/leanwarp Checked 2 hours ago Published 14 hours ago

Check and verify Lean 4 proofs on hosted, warm Lean and Mathlib workers.

Has high-severity static-analysis findings pending human review.

Values you need

VariableWhat it is
LEANWARP_API_KEYrequired secret Your LeanWarp API key (lw_live_...), from https://isagoge.in/dashboard?section=keys.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add leanwarp -e 'LEANWARP_API_KEY=<LEANWARP_API_KEY>' -- uvx leanwarp==0.2.11 --project '<project>' mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "leanwarp": {
      "args": [
        "leanwarp==0.2.11",
        "--project",
        "<project>",
        "mcp"
      ],
      "command": "uvx",
      "env": {
        "LEANWARP_API_KEY": "<LEANWARP_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "leanwarp": {
      "args": [
        "leanwarp==0.2.11",
        "--project",
        "<project>",
        "mcp"
      ],
      "command": "uvx",
      "env": {
        "LEANWARP_API_KEY": "<LEANWARP_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LEANWARP_API_KEY",
      "id": "leanwarp-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "leanwarp": {
      "args": [
        "leanwarp==0.2.11",
        "--project",
        "<project>",
        "mcp"
      ],
      "command": "uvx",
      "env": {
        "LEANWARP_API_KEY": "${input:leanwarp-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.leanwarp]
command = "uvx"
args = ["leanwarp==0.2.11", "--project", "<project>", "mcp"]
env = { "LEANWARP_API_KEY" = "<LEANWARP_API_KEY>" }

For AI agents

  1. Ask the user for: LEANWARP_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: doctor, files, versions, environments, account, resources, connect, workspaces, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json