Ansys Research Runner MCP
This server runs bounded Ansys thermal workflows locally via MCP/CLI, from model inspection through validated execution and result/artifact retrieval.
doctor— report installed host and PyAnsys capabilities, optionally live.inspect_model— inspect a confined CAD model into a Geometry Graph.resolve_regions— resolve semantic regions referenced by a Run Recipe.validate_run— validate a Run Recipe and all referenced contracts.plan_run— compile a supported recipe into immutable CAE-IR.start_run— enqueue a run and return a durable QUEUED snapshot.get_run_status— retrieve a job snapshot and its append-only event history.cancel_run— request safe cancellation through the Job Registry.get_run_summary— return bounded scalar results without field arrays.list_run_artifacts— list artifact paths, hashes, media types, and sizes only.
Provides tools for running bounded Ansys research workflows, including capability checks, model inspection, validation, planning, execution, status tracking, and artifact retrieval across qualified Ansys products such as Fluent, Mechanical, MAPDL, DPF, and others.
Click on "Deploy 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., "@Ansys Research Runner MCP Run the qualified Fluent tutorial 21 and retrieve the resulting artifacts."
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.
ansys-mcp
A local, closed-surface MCP and command-line runner for bounded thermal workflows on an installed Ansys system. The public repository contains project-owned source, schemas, generated test geometry, and tests only. It does not redistribute Ansys or PyAnsys tutorials, example datasets, product files, documentation, solver output, or qualification archives.
This is an independent project and is not an official Ansys product.
Supported core
The current implementation was validated against the following local generation. Discovery is version-dynamic, but a newly discovered release must be qualified before it is treated as supported.
Component | Validated version | Purpose |
Ansys Student | 2026 R1 ( | Local product installation |
|
| MCP base |
|
| Confined CAD inspection |
|
| Thermal mesh generation |
MAPDL | 2026 R1 | Batch thermal solve |
|
| Result extraction |
|
| Optional lifecycle capability |
|
| Optional capability probe |
Python |
| Runtime |
Fluent, CFX, ACP, optiSLang, System Coupling, AEDT, EDB, LS-DYNA, Twin Runtime, Rocky, Speos, EnSight, TurboGrid, and Dynamic Reporting are not public execution surfaces in this repository. Previous compatibility research for those products is not distributed here.
Related MCP server: flameox
What the runner does
discovers a standard Ansys installation without a fixed drive, profile, or checkout path;
confines model and recipe inputs to a configured root;
validates strict Pydantic/YAML contracts with explicit units;
resolves regions through a closed semantic selector AST;
compiles immutable solver-neutral CAE-IR;
enqueues work in a local SQLite WAL registry;
executes a fixed Prime → MAPDL → DPF thermal worker;
records bounded summaries and artifact hashes while keeping field arrays out of MCP responses;
owns and cleans only process trees identified by PID and creation time.
The activated v0.x physics envelope is intentionally narrow: one solid, isotropic thermal material, steady or transient conduction, prescribed temperature, convection, and uniform or bounded time-series volumetric heat generation. Unsupported geometry, selectors, physics, and lifecycle states fail closed.
MCP tools
The local STDIO server exposes ten tools:
doctorinspect_modelresolve_regionsvalidate_runplan_runstart_runget_run_statuscancel_runget_run_summarylist_run_artifacts
There is no tutorial catalog or tutorial runner. No tool accepts Python, APDL, Scheme, journals, Workbench scripts, shell commands, executable paths, RPC endpoints, or caller-selected solver switches.
Installation
git clone https://github.com/miziyo/ansys-mcp.git
cd ansys-mcp
uv sync --frozen
uv run ansys-research doctor --jsonStandard installations are discovered automatically. A nonstandard installation can be selected for the current process:
$env:ANSYS_RESEARCH_ANSYS_ROOT = "<installation-root>"No machine-level Ansys configuration is changed.
MCP configuration
After installing the package or tool so that ansys-research-mcp is on PATH:
{
"command": "ansys-research-mcp",
"args": ["--transport", "stdio"]
}Only local STDIO is accepted.
Pi integration
Pi intentionally has no built-in MCP client. This repository therefore includes a reviewed Pi extension that bridges the same ten tools through the official MCP TypeScript SDK; it does not add another product execution surface.
Install the v0.13.0 release:
uv tool install "ansys-research-runner @ git+https://github.com/miziyo/ansys-mcp.git@v0.13.0" --python 3.12
pi install git:github.com/miziyo/ansys-mcp@v0.13.0Restart Pi or run /reload, then use /ansys-mcp-status. The extension launches only the fixed
ansys-research-mcp --transport stdio command, verifies that the server exposes exactly the expected
ten tools, confines inputs to the current Pi project, and stores mutable MCP state under Pi's user
configuration directory.
CLI
ansys-research doctor
ansys-research geometry-doctor
ansys-research solver-doctor --live
ansys-research inspect <model>
ansys-research resolve <recipe>
ansys-research validate <recipe>
ansys-research plan <recipe> [--run-id ID]
ansys-research run <recipe> [--run-id ID]
ansys-research status <run_id>
ansys-research cancel <run_id>
ansys-research results <run_id>
ansys-research artifacts <run_id>
ansys-research recoverSee CLI documentation, architecture, and the supported envelope.
Public-content boundary
The following are deliberately absent from the public repository and release artifacts:
official or third-party tutorial source and notebooks;
tutorial inventories, qualification matrices, and copied narrative;
upstream example models, media, and datasets;
installed-product Help content or sample projects;
solver projects, meshes, results, logs, license data, and process snapshots;
generated
runtime/,artifacts/,workspace/, environment, and cache directories.
The STEP files under src/ansys_research_runner/resources/geometry/ are generated from adjacent project-owned Python
sources with documented dimensions. They are not copied Ansys examples.
Run the publication gate before a release:
uv run python scripts/sanitize_tracked_paths.py
uv run python scripts/audit_public_repository.py --tree-onlyDevelopment
uv sync --frozen
uv run ruff check .
uv run ruff format --check .
uv run mypy src/ansys_research_runner
uv run python -m pytest tests/unit tests/property tests/contract tests/integration tests/fault_injection -q
uv buildLive tests require an installed product and license and are not run by default.
License and trademarks
Project-owned source is licensed under the MIT License. Runtime dependencies are not vendored and remain under their respective licenses. See third-party notices.
Ansys and Ansys product names are trademarks or registered trademarks of Ansys, Inc. or its affiliates. Their use here identifies compatible separately installed products only and does not imply endorsement.
Available Tools
10 toolscancel_runC
Request safe cancellation through the Job Registry.
Inputs: run_id (required). Returns: object
doctorC
Report installed host and PyAnsys capabilities.
Inputs: live, timeout_seconds. Returns: object
get_run_statusC
Return a job snapshot and its append-only event history.
Inputs: run_id (required). Returns: object
get_run_summaryC
Return bounded scalar results without any field arrays.
Inputs: run_id (required). Returns: object
inspect_modelC
Inspect one confined supported CAD model into a Geometry Graph.
Inputs: model_path (required). Returns: object
list_run_artifactsB
List artifact paths, hashes, media types, and sizes only.
Inputs: run_id (required). Returns: object
plan_runC
Compile a supported recipe into immutable reviewed CAE-IR.
Inputs: recipe_path (required), run_id. Returns: object
resolve_regionsC
Resolve semantic regions referenced by one Run Recipe.
Inputs: recipe_path (required). Returns: object
start_runA
Enqueue a run and immediately return its durable QUEUED snapshot.
Inputs: recipe_path (required), run_id. Returns: object
validate_runB
Validate one Run Recipe and all referenced contracts.
Inputs: recipe_path (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool maps to a distinct stage of the research-run lifecycle: environment check, geometry inspection, region resolution, validation, planning, execution, status, cancellation, summary, and artifact listing. Even adjacent tools like validate_run and plan_run are separated by validation versus immutable CAE-IR compilation.
Tool names overwhelmingly follow a clear imperative snake_case verb_noun pattern (inspect_model, start_run, cancel_run, list_run_artifacts). The lone exception is doctor, a single-word diagnostic command that is conventional but breaks the pattern.
Ten tools is well-scoped for the pipeline: four pre-execution/setup tools, three run-control tools, and three result/artifact tools. No tool feels redundant or out of place.
The set covers the full lifecycle from environment/model inspection through recipe validation and planning, run execution/status/cancellation, and post-run summary/artifact discovery. It deliberately avoids field-array transfer and recipe editing, which are likely outside the runner's scope.
Maintenance
Related MCP Connectors
Plan and verify evidence-aware research workflows with specialist execution receipts.
Run AlgoriQ quant research from any MCP client: data, features, strategies, validation, portfolios.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
Deterministic research automation with live OpenAlex search and reusable workflow programs.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides MCP access to plan and execute reproducible computational experiments with immutable execution plans, artifact provenance, verification checks, and support for direct, Slurm, and PBS backends.17Apache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables agents to gather bounded, reproducible runtime evidence by coordinating local profilers, benchmark tools, and trace processors against explicit artifacts or captured commands. It exposes typed analysis and capture operations over MCP that return provenance-tracked results inline, with optional durable preservation and replay of prior evidence.-
- FlicenseNot gradedqualityAmaintenanceEnables coding agents to coordinate local profilers, benchmark tools, trace processors, and direct targets, turning explicit artifacts or commands into bounded runtime evidence with provenance, coverage, and limitations. Exposes named analysis and capture tools through MCP without workspace setup, with optional durable preservation.-
- FlicenseNot gradedqualityBmaintenanceEnables coding agents to run bounded local profiling, tracing, benchmarking, and capture operations from explicit artifacts or commands, then inspect typed evidence, provenance, coverage, limitations, and preserved replay sources through MCP tools.-