.. _ref_install: Installation ============ Install individual MCPs ------------------------ You can install MCPs for specific Ansys applications as standalone packages. Install only the MCPs you need: .. code:: bash python -m pip install ansys--mcp For a complete list of available MCPs, see the :ref:`ref_projects` page. .. vale Google.Headings = NO Install the PyAnsys MCP metapackage ----------------------------------- .. vale Google.Headings = YES The PyAnsys MCP metapackage is a Python package that you can install with standard Python package tools. Online installation ~~~~~~~~~~~~~~~~~~~ Install the PyAnsys MCP metapackage from `PyPI`_: .. code:: bash python -m pip install pyansys-mcp The PyAnsys MCP |version| metapackage includes the following projects: .. jinja:: dependencies .. raw:: html {% for project, version in dependencies.items() %} {% endfor %}
PyAnsys MCP project Version
{{ project }} {{ version }}
Offline installation ~~~~~~~~~~~~~~~~~~~~ #. Download the wheelhouse artifact for your platform: .. jinja:: wheelhouse .. csv-table:: :header-rows: 1 :widths: 16, 28, 28, 28 :fas:`laptop` Platform, {%- for python in SUPPORTED_PYTHON_VERSIONS -%} :fab:`python` Python {{ python }} {%- if not loop.last -%},{%- endif -%} {% endfor %} {% for platform, icon in wheelhouse.items() -%} :fab:`{{ icon }}` {{ platform }}, {%- for python in SUPPORTED_PYTHON_VERSIONS -%} {%- if "dev" in VERSION -%} `Download wheelhouse `__ {%- else -%} `Download wheelhouse `__ {%- endif -%} {%- if not loop.last -%},{%- endif -%} {% endfor %} {% endfor %} #. Decompress the artifact: .. code-block:: bash unzip wheelhouse #. Install the metapackage from the local wheelhouse: .. code-block:: bash python -m pip install pyansys-mcp -f wheelhouse --no-index --upgrade --ignore-installed