User guide#
This section contains in-depth guides organized by mode, plus shared scripting fundamentals and CLI tools.
Embedding mode: Use Mechanical directly in your Python process with the
Appclass.Remote session mode: Launch Mechanical as a server and communicate with gRPC.
Scripting fundamentals (both modes): Explore Mechanical API concepts, recording, and threading, which are all topics applying to both modes.
Command Line Interface (CLI): Discover command-line utilities for launching, discovering, and configuring Mechanical.
MCP integration: Use PyMechanical-MCP to drive Mechanical from AI assistants such as GitHub Copilot, Claude, and others via the Model Context Protocol.
If you are not sure which mode to use, see Choose your mode.