{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_8m6at55ynzx9","handle":"lean-docker-mcp","url":"https://wellknown.network/agents/lean-docker-mcp","links":{"self":"https://wellknown.network/agents/lean-docker-mcp/record.json","html":"https://wellknown.network/agents/lean-docker-mcp","markdown":"https://wellknown.network/agents/lean-docker-mcp/record.md","api":"https://wellknown.network/api/v1/agents/lean-docker-mcp","status":"https://wellknown.network/api/v1/agents/lean-docker-mcp/status","claim":"https://wellknown.network/agents/lean-docker-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/lean-docker-mcp/claim.json","badge":"https://wellknown.network/agents/lean-docker-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/lean-docker-mcp/history","tools":"https://wellknown.network/api/v1/agents/lean-docker-mcp/tools"},"ard":{"identifier":"urn:air::server:lean-docker-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"lean-docker-mcp","summary":"Dockerised Lean4 execution environment for AI agents","description":"# lean-docker-mcp\n\nDockerized Lean4 execution environment for AI agents.\n\n## Overview\n\nThis MCP server provides a safe, sandboxed Lean4 execution environment for LLM-powered agents. It allows agents to:\n\n- Execute Lean4 code in isolated Docker containers\n- Choose between transient or persistent execution environments\n- Maintain state between execution steps\n\n## Installation\n\n### Requirements\n\n- Docker must be installed and running on the host system\n- Python 3.11 or later\n- `uv` for package management (recommended)\n\n### Install from PyPI\n\n```bash\n# Using uv (recommended)\nuv pip install lean-docker-mcp\n\n# Using pip\npip install lean-docker-mcp\n```\n\n### Install from Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/artivus/lean-docker-mcp.git\ncd lean-docker-mcp\n\n# Install with uv\nuv pip install -e .\n\n# Or with pip\npip install -e .\n```\n\n## Quick Start\n\n### Running the Server\n\nThe lean-docker-mcp server can be started directly using the module:\n\n```bash\npython -m lean_docker_mcp\n```\n\nThis will start the MCP server and listen for JSONRPC requests on stdin/stdout.\n\n## Components\n\n### Docker Execution Environment\n\nThe server implements two types of execution environments:\n\n1. **Transient Environment**\n   - Each execution is isolated in a fresh container\n   - State isn't maintained between calls\n   - Safer for one-off code execution\n\n2. **Persistent Environment**\n   - Maintains state between executions\n   - Variables and functions defined in one execution are available in subsequent executions\n   - Suitable for interactive, stateful REPL-like sessions\n\n### Tools\n\nThe server provides the following tools:\n\n- **execute-lean**: Run Lean4 code in a transient Docker container\n  - Takes `code` (required) parameter\n  - Returns execution results\n\n- **execute-lean-persistent**: Run Lean4 code in a persistent Docker container\n  - Takes `code` (required) and `session_id` (optional) parameters\n  - Returns execution results\n  - Maintains state between calls\n\n- **cleanup…","publisher":null,"homepage":"https://github.com/artivus/lean-docker-mcp","repository":"https://github.com/artivus/lean-docker-mcp/issues","version":"0.2.10","license":"MIT","protocols":["mcp"],"tags":["agent","docker","execution","lean","lean4","mcp","sandbox"],"pricing":null,"endpoints":[{"url":"pypi:lean-docker-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"code.execution","name":"Code Execution","confidence":1,"provenance":"declared"},{"slug":"dev.version-control","name":"Version Control","confidence":1,"provenance":"derived"},{"slug":"infra.cloud","name":"Cloud Platforms","confidence":1,"provenance":"declared"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.768,"provenance":"derived"}],"categories":["code","dev","infra"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"lean-docker-mcp","registry":"pypi","observedAt":"2026-10-28T08:28:17.275Z","publishedAt":"2025-04-17T05:20:12.549309Z","latestVersion":"0.2.10"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"lean-docker-mcp","url":"https://pypi.org/project/lean-docker-mcp/","firstSeenAt":"2026-09-09T23:25:13.965Z","fetchedAt":"2026-10-28T08:27:37.718Z","normalizedAt":"2026-10-28T08:27:37.718Z"}]},"firstSeenAt":"2026-09-09T23:25:13.965Z","updatedAt":"2026-10-28T08:28:17.275Z"}