gsa-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gsa-mcpopen model C:\Models\bridge.gwb and run analysis"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gsa-mcp
Python MCP server for Oasys GSA COM API, designed for Windows machines with GSA installed.
Requirements
Windows (GSA COM automation is Windows-only)
Oasys GSA installed locally
Python 3.11+
Related MCP server: solidworks-mcp
Setup (uv)
uv syncRun lint, type-check, and tests:
uv run ruff check .
uv run mypy src
uv run pytestRun MCP server
Stdio (recommended for local Cursor integration):
uv run gsa-mcpor:
uv run python -m gsa_mcp.server --transport stdioCursor MCP configuration
Add an MCP server entry in your Cursor MCP config:
{
"mcpServers": {
"gsa-com": {
"command": "uv",
"args": ["run", "gsa-mcp"],
"cwd": "C:\\path\\to\\gsa-mcp"
}
}
}Tool coverage (v1)
The server exposes a broad surface of GSA COM families:
Core model lifecycle and analysis (
Open,SaveAs,Analyse,Delete, ...)Data/list and case/task helpers
Output extraction (
Output_Init,Output_Extract, array variants)View operations (print/save views, create/rescale views, template-based setters)
Raw
GwaCommandand utility helpers (SetLocale,Arg,ExportToCsv, sID helpers)
All tools return a normalized payload:
{
"ok": true,
"status": 0,
"data": {},
"message": "OK"
}Important behavior notes
COM function names are case-sensitive.
GwaCommandis powerful and can modify model data directly; validate commands before use.If GSA is already open interactively, COM automation may be unstable (as documented by Oasys).
Windows smoke test
Run a basic real-COM connectivity test:
uv run python scripts/smoke_windows.pyProject layout
src/gsa_mcp/server.py: MCP entrypoint and health toolsrc/gsa_mcp/com_client.py: COM connection/invocation wrappersrc/gsa_mcp/tools/: grouped MCP tool registrationstests/: mocked unit tests (no GSA install required)scripts/smoke_windows.py: Windows-only runtime smoke test
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
QuLab MCP remote server (Streamable HTTP) for computational science and lab tools.
MCP server to assist with JxBrowser development.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server for visible COMSOL automation that attaches to a running COMSOL Multiphysics Server, enabling shared model state with the Desktop GUI for collaborative modeling.1811MIT
- AlicenseNot gradedqualityDmaintenanceMCP bridge server for SolidWorks that enables AI assistants to control SolidWorks programmatically via COM automation.MIT
- AlicenseCqualityAmaintenancePython MCP server for SolidWorks automation with 109 tools covering the full CAD lifecycle. Enables AI-assisted design workflows through COM automation on Windows.10072MIT
- AlicenseBqualityDmaintenanceMCP Server for COMSOL Multiphysics simulation automation via AI agents.781MIT