About OpticStudioMCPServer
OpticStudioMCPServer is an MCP server published by zym1998year in the Maps category: 修复了mcp连接zemax3秒超时自动崩溃的问题,zemax冷启动超过3秒导致mcp无法正常连接已修复,并且添加了实现光学系统的设计、分析与优化。本次新增四个工具:ExportAnalysisTool 支持 17 种分析类型的 BMP 图像及 TXT 数据导出,含二维数据网格的分析(PSF、波前图等)自动渲染为热力图;GeometricImageAnalysisTool 提供 25+ 参数的几何像分析,支持辐照度数据返回与设置持久化;SetSurfaceParameterTool 支持面型参数的单个/批量/全量读写,兼容 Double 与 Integer 类型;SetSurfaceTypeTool 实现面型切换,大小写不敏感,支持所有 ZOSAPI 面型。. Conduid read 7 tools from its source: zemax_connect, zemax_disconnect, zemax_new_system, zemax_open_file, zemax_restart, zemax_save_file and 1 more. No package is published for it, so it installs from a source checkout.
The repository has 33 stars and 6 forks, is licensed MIT, and its last commit was on 16 Jul 2026. The latest release is v1.0-async-optimization-tools. It is the only release Conduid has on record for this repository. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include maps.
Install
git clone https://github.com/zym1998year/OpticStudioMCPServerTools (7)
zemax_connectConnect to OpticStudiozemax_disconnectDisconnect from OpticStudiozemax_new_systemCreate a new blank optical systemzemax_open_fileOpen a .zmx or .zos lens filezemax_restartRestart the OpticStudio connectionzemax_save_fileSave the current systemzemax_statusGet connection statusSecurity checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionScanned 149 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 3.7K words, fetched a month ago. The original in the repository is authoritative.
Read full README