Time
Current time lookup and conversion between IANA timezones
MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star
A plugin that enables communication between Abaqus/CAE and external AI assistants (or any MCP client) via file-based IPC.
abaqus://status resource for real-time plugin status~/.abaqus-mcp/mcp.log┌─────────────┐ MCP protocol ┌───────────────┐ file IPC ┌──────────────┐
│ MCP Client │ ──────────────> │ mcp_server.py │ ─────────> │ Abaqus/CAE │
│ (Cursor AI) │ <────────────── │ (FastMCP) │ <───────── │ (plugin.py) │
└─────────────┘ └───────────────┘ └──────────────┘
│
commands/*.json ──> (plugin reads & deletes)
results/*.json <── (plugin writes)
status.json <── (heartbeat every 2s)
git clone https://github.com/Cai-aa/abaqus-mcp.git ~/.abaqus-mcp
pip install mcp
# Windows
copy "$env:USERPROFILE\.abaqus-mcp\abaqus_v6.env.example" "$env:USERPROFILE\abaqus_v6.env"
# Linux/Mac
cp ~/.abaqus-mcp/abaqus_v6.env.example ~/abaqus_v6.env
# Windows
Copy-Item -Recurse "$env:USERPROFILE\.abaqus-mcp\abaqus_plugins\mcp_control" "$env:USERPROFILE\abaqus_plugins\mcp_control"
# Linux/Mac
cp -r ~/.abaqus-mcp/abaqus_plugins/mcp_control ~/abaqus_plugins/mcp_control
Add to your Cursor / Claude Desktop MCP settings (.mcp.json):
{
"mcpServers": {
"abaqus-mcp-server": {
"command": "python",
"args": ["C:/Users/YourUsername/.abaqus-mcp/mcp_server.py"]
}
}
}
Experimental — non-blocking background thread (may be unstable on some Abaqus builds):
mcp_start() # GUI remains responsive if background worker is supported
Menu: Plug-ins → MCP → Start MCP (Background)
Alternative — cooperative loop (mostly responsive):
mcp_coop_loop()
Menu: Plug-ins → MCP → Start MCP (Cooperative)
Alternative — blocking mode:
mcp_loop() # blocks console
Menu: Plug-ins → MCP → Start MCP (Blocking)
| Mode | GUI Responsive | Stop Method |
|---|---|---|
Background (mcp_start()) | Yes (if supported) | mcp_stop() or menu |
Cooperative (mcp_coop_loop()) | Mostly yes | mcp_stop() or stop.flag |
Blocking (mcp_loop()) | No | stop.flag / interrupt |
For maximum reliability, use mcp_loop() in production sessions.
mcp_status() # prints status to console
Menu: Plug-ins → MCP → MCP Status
Option 1 — GUI menu: Plug-ins → MCP → Stop MCP
Option 2 — Abaqus console:
mcp_stop()
Option 3 — PowerShell:
echo $null > "$env:USERPROFILE\.abaqus-mcp\stop.flag"
Option 4 — Run stop_mcp.py from any Python environment.
These tools are exposed to MCP clients via mcp_server.py:
| Tool | Description |
|---|---|
check_abaqus_connection | Verify Abaqus is running and plugin is responding |
execute_script | Execute a Python script inside Abaqus/CAE |
get_model_info | Get model details (parts, materials, steps, loads, BCs, etc.) |
list_jobs | List all analysis jobs in the session |
submit_job | Submit a job by name and wait for completion |
get_odb_info | Open an ODB file read-only and return metadata |
get_viewport_image | Capture a viewport screenshot as base64 |
ping | Test connection (returns version info) |
| URI | Description |
|---|---|
abaqus://status | Real-time plugin status (running/stopped, version, uptime) |
Write a JSON command file into ~/.abaqus-mcp/commands/:
import json, os, time
command = {
'id': 'my_command',
'type': 'execute_script',
'script': 'print("Hello from Abaqus!")',
'timestamp': time.time(),
}
cmd_path = os.path.expanduser('~/.abaqus-mcp/commands/cmd_my_command.json')
with open(cmd_path, 'w') as f:
json.dump(command, f)
Result will appear at ~/.abaqus-mcp/results/my_command.json.
| Type | Parameters | Description |
|---|---|---|
execute_script | script (str) | Execute Python script in Abaqus |
get_model_info | — | Get current model information |
list_jobs | — | List all defined jobs |
submit_job | job_name (str) | Submit and wait for a job |
get_odb_info | odb_path (str) | Read ODB metadata |
get_viewport_image | viewport_name, format | Capture viewport screenshot |
ping | — | Test connection |
stop | — | Request loop stop |
~/.abaqus-mcp/
├── abaqus_mcp_plugin.py # Abaqus-side plugin (runs inside CAE)
├── mcp_server.py # MCP server (runs externally)
├── stop_mcp.py # Helper to send stop signal
├── abaqus_v6.env.example # Auto-load config template
├── .mcp.json # MCP client config example
├── abaqus_plugins/
│ └── mcp_control/
│ ├── __init__.py
│ └── mcp_control_plugin.py
├── commands/ # Incoming command files
├── results/ # Outgoing result files
├── scripts/ # Temporary script files
├── screenshots/ # Temporary viewport captures
├── status.json # Heartbeat status (updated every 2s)
├── mcp.log # Operation log
└── stop.flag # Stop signal file
mcp_stop() then mcp_start() again~/.abaqus-mcp/status.json — timestamp should update every ~2s~/.abaqus-mcp/mcp.log for errorsimport os; os.environ['ABAQUS_MCP_HOME'] = r'C:\Users\YourName\.abaqus-mcp'
Set this before loading the plugin.running state via mcp_status()~/abaqus_plugins/mcp_control/ exists and contains mcp_control_plugin.pyRun the viewport regression suite with Python 3 and the MCP server dependency:
python -m pip install mcp
python -m unittest discover -s tests -v
The tests mock the Abaqus API and isolate plugin status/log files in a temporary IPC home. They cover PNG/SVG/TIFF export, the TIF alias, file cleanup, data URI MIME types, and error propagation through the command dispatcher and MCP tool. They do not require Abaqus or a license and do not validate real rendering or Abaqus-version compatibility. Before release, verify PNG, SVG, and TIFF captures in a real Abaqus/CAE session, including an invalid viewport error.
MIT License
Current time lookup and conversion between IANA timezones
MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star
Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more
MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star
Free open-source resume builder with remote MCP tools for resumes and job applications.
REreactive-resume/reactive-resume46k近 7 天新增 219 个 star
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
HEHeyPuter/puter44k近 7 天新增 63 个 star
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
SPspree/spree16k近 7 天新增 13 个 star