optlens runs on your own machine — the client starts it, so there is no endpoint to ping. 125 installs a week from pypi. Last commit 29 Oct 2026.
Debug and explain LP/MILP models: why infeasible, the smallest fix, what-if and sensitivity.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add optlens -- uvx optlens
{
"mcpServers": {
"optlens": {
"command": "uvx",
"args": [
"optlens"
]
}
}
}
[mcp_servers.optlens]
command = "uvx"
args = ["optlens"]
{
"mcpServers": {
"optlens": {
"command": "uvx",
"args": [
"optlens"
]
}
}
}
{
"servers": {
"optlens": {
"type": "stdio",
"command": "uvx",
"args": [
"optlens"
]
}
}
}
We read the source, 9 h ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
return fn(md.write_mps(os.path.join(tmp, f"{md.name or 'model'}.mps")))
exec(code, ns)
self.proc = subprocess.Popen([sys.executable, "-m", "optlens.workspace"], cwd=self.workdir, env=env,
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
Read, check and what-if Ventsim mine ventilation models (.vsm files)
Diagnose and fix broken Node.js/Deno installs instead of rm -rf node_modules and the lockfile
Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
Shrink trained models to fit edge devices with the hosted SensorForge Optimizer.
Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.
Edit Godot 4 scenes, nodes and scripts; run, test and debug games live in the editor or headless.
Read ACPI tables from a live QEMU guest or files and explain them for OS developers.
What changed in your stack since the model's cutoff, error fixes, and security-scanned skills/MCPs
Answers built from our own checks of this server.