The ansys.mechanical.mcp library#

Summary#

mechanical_helper

Mechanical helper module for startup code and utilities.

__main__

Entry point for running the PyMechanical-MCP server as a module.

contexts

Context tools for PyMechanical-MCP.

helpers

Helper functions for PyMechanical-MCP.

prompts

Prompt templates for PyMechanical-MCP.

server

Lifespan and CLI entry for PyMechanical-MCP server with startup options.

tools

List of tools in PyMechanical-MCP.

toolsets

Toolset definitions for conductor service discovery.

launcher

Launch PyMechanical-MCP.

app

__version__

PyMechanical MCP version.

Description#

PyMechanical-MCP is a Model Context Protocol (MCP) server for Ansys Mechanical.

This package allows AI assistants to interact with Ansys Mechanical through PyMechanical. It leverages the Mechanical scripting API to perform structural analysis, preprocessing, solving, and postprocessing tasks.

Module detail#

mcp.__version__#

PyMechanical MCP version.