FDTD Lumerical MCP
Provides tools for controlling Ansys Lumerical FDTD, enabling AI agents to run simulations, execute scripts, and manage project files within a restricted workspace.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FDTD Lumerical MCPrun simulation waveguide.fsp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FDTD Lumerical MCP
Local MCP server for controlling Ansys Lumerical FDTD from Codex.
The server uses the Lumerical Python Automation API (lumapi) from an existing
Ansys/Lumerical installation. lumapi is not installed from pip.
Setup
cd "C:\path\to\FDTD-Lumerical-mcp"
python -m pip install -e ".[dev]"Set LUMERICAL_API_PATH if automatic discovery cannot find lumapi.py:
$env:LUMERICAL_API_PATH = "C:\Program Files\Ansys Inc\vXXX\Lumerical\api\python\lumapi.py"Optional workspace override:
$env:FDTD_WORKSPACE = "C:\path\to\FDTD-Lumerical-mcp\workspace"Run the server:
python -m fdtd_mcp.serverRelated MCP server: comsol-mcp
Verification
Run unit tests without opening FDTD:
python -m pytest -qRun the real MCP/FDTD smoke test:
$env:FDTD_INTEGRATION = "1"
python -m pytest -q -m integrationCodex MCP Config
See .codex/config.toml.example.
Safety Model
Project and export file paths are restricted to FDTD_WORKSPACE, which defaults
to the repository workspace/ directory when the MCP server is launched from
the project root.
Tools that execute user script or run simulations should stay in prompt approval mode in Codex configuration.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pcmdagonger/FDTD-Lumerical-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server