pointwise-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CDS_LIC_FILE | No | Licence server passed to tclsh (port@host). Used if set in the server's environment; otherwise the server falls back to POINTWISE_MCP_CDS_LIC_FILE, then the user/machine registry environment. | |
| POINTWISE_MCP_TCLSH | No | Path to Pointwise's tclsh.exe. Can also be a .cmd/.bat wrapper. Default: from the registry key HKLM\Software\Pointwise\<CurrentVersion>\tclsh, or C:\Program Files\Cadence\FidelityPointwise2023.2.2\win64\bin\tclsh.exe. | |
| POINTWISE_MCP_BACKEND | No | Default backend (batch or live). | batch |
| POINTWISE_MCP_TIMEOUT | No | Default per-call timeout in seconds of awake time; tools also take timeout_seconds. | 1800 |
| POINTWISE_MCP_WORKDIR | No | Where run folders are created (runs\<time>-<tool>-<id>). | ~\pointwise_mcp_runs |
| PWI_GLYPH_SERVER_AUTH | No | Authentication string for the live Glyph Server (empty by default). | |
| PWI_GLYPH_SERVER_PORT | No | Port of the live Pointwise Glyph Server. | 2807 |
| POINTWISE_MCP_GLYPH_HOST | No | Host of the live Pointwise Glyph Server. | localhost |
| POINTWISE_MCP_WSL_DISTRO | No | WSL distro used for checkMesh. | Ubuntu-24.04 |
| POINTWISE_MCP_CDS_LIC_FILE | No | Explicit override for the licence server passed to tclsh; takes precedence over CDS_LIC_FILE and the registry lookup. | |
| POINTWISE_MCP_MAX_PARALLEL | No | Concurrent tclsh runs; each one checks out a licence seat. | 1 |
| POINTWISE_MCP_OPENFOAM_BASHRC | No | OpenFOAM environment script inside WSL. | /usr/lib/openfoam/openfoam2606/etc/bashrc |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Cadence Fidelity Pointwise through Glyph: CAD import, automatic surface mesh, T-Rex boundary layers, volume mesh, quality checks and OpenFOAM export. Batch backend runs headless tclsh per call and passes state through .pw files; live backend talks to the GUI's Glyph Server.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pw_healthA | Check that Pointwise can run: finds tclsh.exe, shows which CDS_LIC_FILE value is passed to it and where it came from, then runs a tiny Glyph probe (version, Glyph package, CAE solvers incl. OpenFOAM). A licence failure shows up as license_ok=false with the LMC error. check_live also pings the GUI's Glyph Server. |
| pw_import_cadA | Import a CAD file (STEP or IGES; other formats Pointwise reads also work) into a new Pointwise project and save it as .pw. Converts units on import, can scale, and assembles quilts into models when the file has none. Returns models, quilt names, extents and import warnings. Quilt names are what pw_surface_mesh filters match. |
| pw_surface_meshA | Mesh the CAD surfaces with Pointwise's Automatic Surface Mesh (pw::DatabaseMesher). Controls global min/max edge length, curvature resolution, growth from edges, feature (hard) angle, per-quilt max spacing and edge refinement filters. Domains are named -dom. By default it first deletes existing grid entities so it can be rerun. |
| pw_trexA | Set up T-Rex boundary layers on the unstructured volume block. If the project has no block yet, builds one first: farfield.mode 'auto' runs Automatic Volume Mesh (farfield box/sphere/cylinder plus symmetry planes, e.g. ['ymin'] or 'auto' for a half model cut at y=0); 'existing' uses domains that already enclose the volume. Then assigns T-Rex boundary types by domain-name pattern (first match: symmetry->Match, off->Off, adjacent_grid->AdjacentGrid, wall->Wall), sets the first-layer height on every Wall condition and the block's T-Rex attributes. Does not generate cells: run pw_volume next. |
| pw_volumeA | Generate the volume cells: set interior options (Delaunay tets or Voxel hexes, decay, edge lengths) and run the unstructured solver's Initialize on the block, which grows the T-Rex layers set by pw_trex. Creates a block without layers if none exists. Returns cell counts by type and T-Rex layers reached. Can take minutes on big meshes. |
| pw_examineA | Measure mesh quality with Pointwise's examine functions (min/max/average and counts outside limits). Default set: BlockMaximumAngle>175, BlockSkewEquiangle>0.9, BlockCellNonOrthogonality>70, BlockVolumeRatio>20, BlockAspectRatio, BlockJacobian<0, BlockVolume<0, plus T-Rex layer and cell-type counts per block. Does not change the project (writes only a run log folder). |
| pw_export_openfoamA | Export the volume mesh with CAE solver OpenFOAM to <case_dir>/constant/polyMesh. Boundary domains map to OpenFOAM patches by name pattern (first match wins). Default patches: symmetry-* -> 'symmetry' (symmetryPlane), farfield-* -> 'farfield' (patch), everything else -> 'wall' (wall). Unmatched domains fail the export unless unassigned='allow'. Optionally writes minimal system/ files and runs checkMesh in WSL. |
| pw_saveA | Save a project to a .pw file. Batch: re-saves |
| pw_loadA | Load a .pw project and report what is in it: database models and quilts, domains with cell counts, blocks with T-Rex stats and solver attributes, boundary and T-Rex conditions, CAE solver. Batch: read-only inspection. Live: loads it into the GUI (or, without project, reports the open session). |
| pw_run_glyphA | Escape hatch: run Glyph/Tcl code for things the other tools do not cover. The code runs in a Tcl safe interpreter: Tcl core plus pw::/pwu:: commands and Glyph objects; no exec, open, file, socket, load, source, cd or exit, and pw::Script is blocked, so there is no shell access. Returns everything the code puts and its last result. Optionally loads |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool maps to a distinct stage or concern in the Pointwise workflow: health check, CAD import, surface meshing, T-Rex setup, volume generation, quality examination, export, save/load, and an explicitly scoped escape hatch. The closest pair, pw_trex and pw_volume, is clearly separated as setup versus cell generation, and pw_save versus pw_load is unambiguous. There is no realistic misselection risk.
All tools use a consistent pw_ prefix and snake_case, making the family immediately recognizable. Most names are action-oriented, though a few (pw_health, pw_trex, pw_volume) are noun/domain labels rather than strict verb_noun forms. The overall convention is still highly predictable.
Ten tools is well-scoped for an end-to-end meshing workflow, with one tool per major stage and no redundant variants. Each tool earns its place, and the escape hatch avoids needing many narrow one-off tools.
The surface covers the core lifecycle: health/license check, import, surface mesh, boundary layers, volume generation, quality examination, OpenFOAM export, save, and load. Gaps such as project deletion/cleanup, broader solver exporters, or richer boundary-condition editing are minor and can be worked around via pw_run_glyph.