Releases: davydov-nikita/lumerical-mcp
Releases · davydov-nikita/lumerical-mcp
Release list
lumerical-mcp v0.4.1
Maintenance release with two agent-ergonomics additions and small fixes.
Added
save_results— fetch results server-side and write them to a compact.npz, returning only metadata (path + array shapes). Large arrays (E/H over many frequencies and monitors) no longer cross the JSON tool channel and blow the assistant's context;kind:'transmission'stores the Poynting-integrated power spectrum, with optional frequency decimation.- Monitor apodization control on
add_power_monitorandadd_scattering_box(apodizationNone/Full/Start/End, plus center and time width). Thecross_sectionanalysis group's child monitors are constructed objects that can't be edited, soadd_scattering_boxis the settable path for apodized cross-sections.
Fixed
- The MCP handshake reports the package version instead of the
mcplibrary version. recipes()resolves common synonyms (e.g.mie→cross_section,sparameters→ports).diagnose()recognises "there are no monitors in the simulation".
Install
pip install https://github.com/davydov-nikita/lumerical-mcp/releases/download/v0.4.1/lumerical_mcp-0.4.1-py3-none-any.whl
lumerical-mcp v0.4.0
Initial public release.
An MCP server that lets an AI assistant drive ANSYS Lumerical FDTD: build scenes, run simulations, and read results back — with a correctness layer that catches settings which silently produce wrong physics.
Highlights
- 87 async tools over the official Python
lumapi: geometry, sources, monitors, mesh and boundaries, ports/S-parameters, parametric sweeps, field-to-PNG rendering, run progress/cancel. - Materials including sampled (n,k) tables and full anisotropy: arbitrary 3×3 hermitian permittivity tensors and magneto-optic (gyrotropic) media via the grid-attribute matrix transform.
- Correctness layer:
validate_setup(pre-flight physics checks with fixes),assess_results(post-run verdict incl. energy balance),diagnose(error → cause + fix),convergence_test/certify(trust verdict for any figure of merit). - Figure-of-merit extractors: Q-factor, Purcell factor, scattering/absorption cross-sections, grating orders, far-field, photonic bands, χ² second harmonics.
- Benchmark suite: Lumerical Application Gallery examples rebuilt through the tools from written specs and scored against the gallery's own references.
- 200+ mocked unit tests run without a Lumerical install; a live physics panel gates releases on machines with a license.
Install
pip install https://github.com/davydov-nikita/lumerical-mcp/releases/download/v0.4.0/lumerical_mcp-0.4.0-py3-none-any.whl
or from source: pip install git+https://github.com/davydov-nikita/lumerical-mcp
Requires a local ANSYS Lumerical FDTD install (developed against 2024 R1 / v241) and an MCP client. See the README for client configuration.