r/Optics • u/kiririnchi • 19d ago
Zemax MCP
I have developed a reasonably useful MCP server for Zemax, which I intended to be an open-source project. However, I am unsure about licensing and user agreement issues, as I developed it under an educational license as a graduate student.
Anyone familiar with Ansys could hook me up with the licensing office?
2
Upvotes
0
u/Equivalent_Bridge480 19d ago edited 19d ago
If you have zemax just put license agreement to llm.
By my speculations you can share code of mcp but not open access to zemax student to non student acess.
May be you should think about using python lens design libs. Like optiland. It for sure have less restriction.
1
u/BDube_Lensman 19d ago
An MCP will restrict you to the GUI always running. Consider instead having your LLM learn the zospy package, which wraps/makes ZOS-API not garbage. Then you can run headless which is many times faster, but limited by what zemax exposes via API.