PyMAPDL MCP Server
PyMAPDL MCP Server provides a Model Context Protocol (MCP) server that enables AI assistants to interact with Ansys MAPDL (Mechanical APDL) through PyMAPDL. This server enables natural language interaction with MAPDL for finite element analysis tasks.
Overview
Key features:
- Dynamic connection management: Launch new MAPDL instances, connect to existing ones, or disconnect on demand
- Execute MAPDL commands: Run single commands or batch multiple commands for efficiency
- Custom Python execution: Run arbitrary Python and PyMAPDL code in a persistent session
- Advanced visualization: Create custom
matplotlibandpyvistaplots, or capture MAPDL native plots - Workflow guidance: Access comprehensive context and best practices for all phases of MAPDL simulations
- Flexible deployment: Works with MAPDL running locally, remotely, or in Docker containers
https://github.com/user-attachments/assets/99b68fbd-2308-46a0-aa44-9684ae7400b7
Video 1: PyMAPDL MCP Demo
Your browser does not support the video tag.Installation
For users
Install the latest release with:
pip install ansys-mapdl-mcp
Or run directly without installing using uvx:
uvx --from git+https://github.com/ansys/pymapdl-mcp ansys-mapdl-mcp
For developers
git clone https://github.com/ansys/pymapdl-mcp.git
cd pymapdl-mcp
pip install -e .[tests]
Usage
For step-by-step setup instructions for VS Code, Claude Code, Claude Desktop, and other MCP-compatible clients, see the IDE and Client Configuration page in the documentation.
License
This project is licensed under the Apache 2.0 license agreement. See the LICENSE file for details.
Resources
- PyMAPDL-MCP documentation
- PyMAPDL Documentation
- Model Context Protocol
- FastMCP Documentation
- Ansys MAPDL
- Repository's Issues page
- Repository's Discussions page
For general PyAnsys questions, email pyansys.core@ansys.com.
Metadata
Release files for ansys-mapdl-mcp 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ansys_mapdl_mcp-0.3.2.tar.gz | 38.8 kB | With provenance | Details for ansys_mapdl_mcp-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ansys_mapdl_mcp-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for ansys_mapdl_mcp-0.3.2-py3-none-any.whl |
Total release size: 81.8 kB
Release files / ansys_mapdl_mcp-0.3.2.tar.gz
| Download URL | ansys_mapdl_mcp-0.3.2.tar.gz |
|---|---|
| Size | 38.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9499354052805b74eaf21b09064360f3b254f78a2e69766829c67bf32e132e4
|
|
BLAKE2b-256 checksum How to use checksums |
b17945a8513f3dedb599bb11c980fe625a190538f09f8611ae555256025f12af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / ansys_mapdl_mcp-0.3.2-py3-none-any.whl
| Download URL | ansys_mapdl_mcp-0.3.2-py3-none-any.whl |
|---|---|
| Size | 42.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9f0b8ba2be32c71783d18a48827afbd9beef3f75764ed9a02515458055dc05d
|
|
BLAKE2b-256 checksum How to use checksums |
80e182c4431e907383d203b50746c477ba0d61725353503b34e5518ca63d30b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logSecurity for ansys-mapdl-mcp 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ansys_mapdl_mcp-0.3.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.