mathcad-mcp

mathcad-mcp

1

The MathCAD MCP Server is a Model Context Protocol server facilitating integration with PTC MathCAD Prime, enabling AI assistants to manage and interact with MathCAD worksheets. It provides tools for worksheet management, input/output handling, and calculation control.

list_mathcad_version

Get the running version of MathCAD

open_worksheet

Open a MathCAD worksheet from the file path

close_worksheet

Close a specific worksheet

close_all_worksheets

Close all open worksheets

quit_mathcad

Exit the MathCAD application completely

save_worksheet

Save the worksheet to the specified path and format

save_worksheet_inplace

Save worksheets in place

activate_worksheet

Put the worksheet in the front desk

set_real_input

Set numerical input with optional units

set_string_input

Set string input

set_matrix_input

Set up matrix input with optional units

get_input

Retrieve the current value of the specified input (real number/string/matrix)

get_matrix_input

Retrieve the current value of the specified matrix input

calculate_worksheet

Recalculate the worksheet

sync_worksheet

Calculate alias for worksheets

pause_calculation

Pause worksheet calculations

resume_calculation

Recover worksheet calculations

get_output

Gets the specified output value (real number, string, or matrix)

get_real_output

Get numeric output value from worksheet

get_real_output_with_units

Get the numerical output value with unit conversion

get_matrix_output

Get matrix output from worksheet

get_matrix_output_with_units

Get the matrix output with unit conversion

save_as_pdf

Save worksheets as PDF files (Mathcad Prime 5+ only)

save_as_rtf

Save the worksheet as an RTF file

save_as_xps

Save the worksheet as an XPS file

is_worksheet_readonly

Check if the worksheet is read-only

is_worksheet_modified

Check if there are any unsaved changes in the worksheet

set_worksheet_modified

Force the 'modification' status of the worksheet