MCP server · Audited from source
USolver MCP server
by sdiehl/usolverApache-2.0 licenceAudited 7 Oct 2026 · source 4c9ba4008193
Is it safe? No — BLOCK, grade D (61/100). It exposes 7 tools: 7 read, 0 write and 0 destructive. The audit recorded 9 findings (0 critical, 4 high, 2 medium, 2 low). Maintainer's description: A model context protocol server for solving combinatorial optimization problems with logical and numerical constraints.
Cite
Cite this page
ModelsAtlas. “USolver MCP server (sdiehl/usolver)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/sdiehl/usolver
Why this is BLOCK. The audit found 0 critical and 4 high findings; the most severe is Code injection at usolver_mcp/solvers/cvxpy_solver.py:52. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared2 observations
- ShellDeclared4 observations
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Findings (9)
Sorted by severity
HIGHCode injectioncode.eval_exec · usolver_mcp/solvers/cvxpy_solver.py:52
return eval(expr_str, {"__builtins__": {}}, local_dict)- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · usolver_mcp/solvers/ortools_solver.py:176
eval(constraint.expression, {"__builtins__": {}}, local_dict)- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · usolver_mcp/solvers/ortools_solver.py:238
obj_expr = eval(objective.expression, {"__builtins__": {}}, local_dict)- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · usolver_mcp/solvers/z3_solver.py:100
z3_constraint = eval(constraint.expression, {"__builtins__": {}}, local_dict)- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
MEDIUMFilesystem / pathfs.system_paths · Dockerfile:11
ENV PATH="/root/.local/bin/:$PATH"
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathfs.system_paths · install.py:61
"/usr/local/bin/uv", # Manual install
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.binary · examples/full/flowsheet_data.xlsx
flowsheet_data.xlsx
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · examples/full/flowsheet_metadata.xlsx
flowsheet_metadata.xlsx
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
INFOInventory / provenanceinv.oversize · .github/logo.png
.github/logo.png
- Why
- 1332032 bytes not read
- Fix
- —
Tools it exposes
7 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
simple_cvxpy_solver | A simpler interface for solving CVXPY optimization problems. | read |
simple_highs_solver | A simplified interface for solving HiGHs linear programming problems. | read |
solve_cvxpy_problem | Solve a CVXPY optimization problem. | read |
solve_highs_problem | Solve a HiGHs linear/mixed-integer programming problem. | read |
solve_ortools_problem | Solve a constraint programming problem using Google OR-Tools. | read |
solve_z3 | Solve a Z3 constraint satisfaction problem. | read |
solve_z3_simple | Simplified interface for Z3 constraint problems. | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK D 61 / 100
First audit ·
4c9ba4008193
Questions about USolver MCP server
What is the USolver MCP server?
What tools does USolver expose?
Is USolver safe to connect to an agent?
What credentials does USolver need?
How current is this page?
I already installed USolver. What should I do?
Can the verdict change?
Sources
- sdiehl/usolver on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 4c9ba4008193Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the USolver MCP server?
- What tools does USolver expose?
- Is USolver safe to connect to an agent?