gsa-mcp
Python MCP server for Oasys GSA COM API, enabling users to interact with GSA structural engineering software via COM automation on Windows.
README
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+
- uv
Setup (uv)
uv sync
Run lint, type-check, and tests:
uv run ruff check .
uv run mypy src
uv run pytest
Run MCP server
Stdio (recommended for local Cursor integration):
uv run gsa-mcp
or:
uv run python -m gsa_mcp.server --transport stdio
Cursor 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.py
Project 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.