Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

USolver MCP server

by sdiehl/usolverApache-2.0 licenceAudited 7 Oct 2026 · source 4c9ba4008193

PyPI usolver_mcp★ 65
✕BLOCKGrade D · 61/100 · 7 Oct 2026 · 4c9ba40

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score61/100✕BLOCK D
0 critical4 high2 medium2 low1 info

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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
ENV PATH="/root/.local/bin/:$PATH"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathfs.system_paths · install.py:61
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/usr/local/bin/uv",  # Manual install
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.binary · examples/full/flowsheet_data.xlsx
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
.github/logo.png
Why
1332032 bytes not read
Fix
—

Tools it exposes

7 declared in source · 0 destructive

7 read0 write0 destructive
ToolWhat it doesRisk
simple_cvxpy_solverA simpler interface for solving CVXPY optimization problems.read
simple_highs_solverA simplified interface for solving HiGHs linear programming problems.read
solve_cvxpy_problemSolve a CVXPY optimization problem.read
solve_highs_problemSolve a HiGHs linear/mixed-integer programming problem.read
solve_ortools_problemSolve a constraint programming problem using Google OR-Tools.read
solve_z3Solve a Z3 constraint satisfaction problem.read
solve_z3_simpleSimplified 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

  1. ✕BLOCK D 61 / 100

    First audit · 4c9ba4008193

Questions about USolver MCP server

What is the USolver MCP server?
A model context protocol server for solving combinatorial optimization problems with logical and numerical constraints.
What tools does USolver expose?
7 in total: 7 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is USolver safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (61/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does USolver need?
It reads ANTHROPIC_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (4c9ba4008193), read on 2026-10-07. The repository is watched and re-audited when it changes.
I already installed USolver. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.