MCP, MCP server
Optivibe Mcp
optivibe-mcp is an experimental MCP server that provides tooling for a coding agent — such as Claude Code — to interface with Zemax OpticStudio.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
demos/measure_design.py, line 224
shutil.rmtree(work, ignore_errors=True) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
packages/optivibe-harness/src/optivibe_harness/tools/_asphere_cells.py, line 379
A raw .NET THROW on the fetch (or an unknown ``param``) resolves to a structured - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
packages/optivibe-harness/src/optivibe_harness/tools/_optimize_common.py, line 1
"""tools/_optimize_common.py - private shared helpers for the optimize tools.
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
demos/measure_design.py, line 224
shutil.rmtree(work, ignore_errors=True)
packages/optivibe-harness/src/optivibe_doctor/_runner.py, line 331
child = subprocess.Popen(
packages/optivibe-harness/src/optivibe_doctor/_runner.py, line 1532
completed = subprocess.run(
Show more
packages/optivibe-harness/src/optivibe_doctor/_worker.py, line 1091
completed = subprocess.run(
packages/optivibe-harness/src/optivibe_doctor/_worker.py, line 1109
shutil.rmtree(scratch, ignore_errors=True)
packages/optivibe-harness/src/optivibe_harness/_io.py, line 201
# bare fd would leak - and on Windows a still-open fd blocks os.remove(tmp),
packages/optivibe-harness/src/optivibe_harness/_io.py, line 232
os.remove(tmp)
packages/optivibe-harness/src/optivibe_harness/catalog/plot.py, line 479
os.remove(tmp)
packages/optivibe-harness/src/optivibe_harness/tools/_layout_native.py, line 332
os.remove(target)
packages/optivibe-harness/src/optivibe_harness/tools/_layout_native.py, line 609
os.remove(target)
packages/optivibe-harness/src/optivibe_harness/tools/_mtf_field_plot.py, line 428
os.remove(tmp)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
packages/optivibe-harness/src/optivibe_harness/tools/_asphere_cells.py, line 379
A raw .NET THROW on the fetch (or an unknown ``param``) resolves to a structured
packages/optivibe-harness/src/optivibe_harness/tools/_cb_cells.py, line 168
and returns it. A raw .NET THROW on the fetch (or an unknown ``param``) resolves
packages/optivibe-harness/src/optivibe_harness/tools/_lens_common.py, line 108
row = lde.GetSurfaceAt(i) # re-fetch (never hold the proxy)
Show more
packages/optivibe-harness/src/optivibe_harness/tools/grin_surface.py, line 810
# Re-fetch (§2) + prove the solve read-back == Variable AND opt.Variables == before+1.
packages/optivibe-harness/src/optivibe_harness/tools/lens_spec.py, line 760
row = lde.GetSurfaceAt(i) # re-fetch (never hold across ChangeType)
packages/optivibe-harness/src/optivibe_harness/tools/lens_surface.py, line 397
# Re-fetch (never hold the proxy across the read-back boundary).
packages/optivibe-harness/src/optivibe_harness/tools/mce_config.py, line 409
``1 <= config <= NumberOfConfigurations`` BEFORE the cell fetch (HZ-CFGRANGE, ZERO
packages/optivibe-harness/src/optivibe_harness/tools/mce_config.py, line 463
# config firewall BEFORE the cell fetch (HZ-CFGRANGE) -> mce_config, ZERO mutation.
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
packages/optivibe-harness/src/optivibe_harness/tools/_optimize_common.py, line 1
"""tools/_optimize_common.py - private shared helpers for the optimize tools.
packages/optivibe-harness/src/optivibe_harness/tools/layout_render.py, line 1
"""tools/layout_render.py - render_layout: headless meridional cross-section PNG.
packages/optivibe-harness/src/optivibe_harness/tools/optimize_merit.py, line 1
"""tools/optimize_merit.py - build_merit / add_operand / dump_merit_function.
Show more
packages/optivibe-harness/src/optivibe_harness/tools/optimize_run.py, line 1
"""tools/optimize_run.py - dry_run (preflight) + optimize (THE CAPSTONE).
packages/optivibe-harness/src/optivibe_harness/tools/workspace.py, line 1
"""tools/workspace.py - the project-workspace writer (§4).
tests/test_doctor.py, line 1
"""`optivibe doctor` - the public test matrix.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 0d23ea0880a4. can delete files. can reach a host that is not written as a fixed address. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 0d23ea0880a4689c4eecbcecd346899122a6036f
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.