Abaqus Control MCPのロゴ

Abaqus Control MCP

コミュニティ
Whfkl

Local MCP bridge for real-time control of Abaqus/CAE through Codex, Claude Code, and other MCP clients.

公開者Whfkl
リポジトリAbaqus-Control-MCP
言語Python
フォーク
21
スター
203
利用可能なツール
0
通信方式stdio
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Abaqus Control MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには203件のスターと21件のフォークがあります。

Abaqus Control MCP

A local MCP bridge for Abaqus/CAE automation. Run CAE Python, monitor jobs, inspect ODB data, and capture the viewport from Codex, Claude Code, or another MCP client.

A coding agent connects through a local bridge to a meshed CAE model and its result contour

中文说明 · Installation · Tools · Architecture

Version 2.0.0 · MCP protocol 2026-07-28 · Local bridge for Codex, Claude Code, and other MCP clients

What you can do

  • Work in the open CAE session. run_python runs Abaqus Python against the current mdb and session; model changes remain visible in the GUI.
  • Trust each response. Every bridge call has an executionId. Return values, output, and concise error diagnostics belong to that call. A statement script returns a value only when it assigns result.
  • Follow a solve. monitor_job_status combines CAE status with .log, .sta, .dat, and .msg evidence. It reports terminal state, progress, diagnostics, and uncertainty. Its terminate=true option requests a kill and separately reports confirmation.
  • Ask the ODB a numerical question. inspect_odb describes steps and frames, summarizes a field by step/frame/set, or returns a bounded history curve. Step startTime, endTime, and duration have explicit meanings.
  • See the viewport. capture_viewport returns a native MCP image content block; optionally save it to a file. Image base64 stays out of the structured response.

The project is designed for an engineer supervising a live simulation. run_python has the same power as the Abaqus scripting console, so review generated modelling and job commands before relying on their results.

How it works

The server runs in its own Python environment or as a standalone Windows executable. The plugin runs inside Abaqus/CAE and uses Abaqus's Python. The socket listens on 127.0.0.1:48152 by default.

Quick start

Requirements: Abaqus/CAE with Python 3 support. A source installation needs Python 3.10+ and uv or pip; the Windows release executable needs no separate Python installation for the server. Abaqus versions with Python 2 need the compatible fork.

  1. Get the MCP server. Install from source:

    bash
    uv tool install git+https://github.com/Whfkl/Abaqus-Control-MCP.git

    On Windows, you can instead extract the release ZIP and use Abaqus-Control-MCP-Server.exe. For development from a checkout, run uv sync and use uv run for the commands below.

  2. Put the GUI plugin in Abaqus's plugin directory. For the uv tool installation, run abaqus-control-setup (or uv run abaqus-control-setup from a checkout). This copies abaqus_mcp_gui_plugin.py to ~/abaqus_plugins/ by default. For the Windows release ZIP, copy its abaqus_mcp_gui_plugin.py to %USERPROFILE%\abaqus_plugins\. If Abaqus uses a different plugin directory, set ABAQUS_MCP_PLUGIN_DIR for setup or copy the file there yourself.

  3. Configure your MCP client. For Codex with the source installation:

    bash
    codex mcp add abaqus-control-mcp --env ABAQUS_MCP_HOST=127.0.0.1 --env ABAQUS_MCP_PORT=48152 --env ABAQUS_MCP_TIMEOUT=120 -- abaqus-control-mcp-server
    codex mcp get abaqus-control-mcp

    For the Windows release, replace abaqus-control-mcp-server with the full path to Abaqus-Control-MCP-Server.exe. In Claude Code or another client, register the same command or exe as a stdio MCP server with the same environment variables. Set the client's tool timeout above ABAQUS_MCP_TIMEOUT for long CAE operations.

  4. Open Abaqus/CAE and test. Start or restart Abaqus/CAE so it loads the plugin, then choose Plug-ins → Abaqus-Control-MCP → Start MCP Bridge. Open a new MCP client session, call ping, then call run_python with result = list(mdb.models.keys()). For a source installation, abaqus-control-check provides an additional connection check.

Install with an AI agent

Copy this prompt into Codex, Claude Code, or another local agent with file and terminal access:

text
Install Abaqus-Control-MCP from https://github.com/Whfkl/Abaqus-Control-MCP on this computer. Check the OS and the MCP client I am using. On Windows, use the matching release ZIP and standalone server exe if available; otherwise install the server with uv. Then put abaqus_mcp_gui_plugin.py in the Abaqus plugin directory (normally ~/abaqus_plugins, or %USERPROFILE%\abaqus_plugins on Windows). Configure my current MCP client to launch the server over stdio, using its full exe path or the installed command, without changing unrelated MCP entries. After configuration, tell me to open or restart Abaqus/CAE and select Plug-ins → Abaqus-Control-MCP → Start MCP Bridge. Open a new client session and verify ping plus run_python with code: result = list(mdb.models.keys()). Report the installed paths and actual test results; if Abaqus/CAE is unavailable, report which setup steps are complete and what remains to test.

Six tools

ToolPurposeUseful inputs
pingVerify the connected CAE session and identify models and viewportsnone
run_pythonExecute Python; return this call's value, output, and full error locationcode
set_workdirSet an existing absolute CAE working directorypath
monitor_job_statusList jobs or inspect progress, terminal evidence, and diagnostics; request termination with confirmationjob_name, optional terminate, since
inspect_odbDescribe an ODB; summarize a field or retrieve a history curveodb_path, optional step, frame, variable, set_name, component, history_region, history_variable
capture_viewportReturn a native image and optionally save it; SVG/EPS/PS exports require a pathoptional viewport_name, image_format, save_path

Common calls

text
run_python(code="print('current models:', list(mdb.models.keys()))")
set_workdir(path="D:/analysis/run-01")
monitor_job_status(job_name="Job-1")
inspect_odb(odb_path="D:/analysis/run-01/Job-1.odb", step="Step-1", frame=-1, variable="U", component="U3")
inspect_odb(odb_path="D:/analysis/run-01/Job-1.odb", step="Step-1", history_region="Assembly ASSEMBLY", history_variable="ALLIE")
capture_viewport(save_path="D:/analysis/run-01/viewport.png")

monitor_job_status returns UNKNOWN when CAE status and file evidence conflict. If the job is absent from CAE, file-only terminal evidence also stays UNKNOWN unless since supplies the run's submission time as a Unix timestamp. A kill request is distinct from confirmed termination. A timeout while Python is already running has an unknown outcome: do not blindly submit the same modelling command again.

For vector fields, an omitted component returns magnitude. For tensor fields, select a component. History curves return at most max_points sampled pairs and report the full point count. ODB files are opened read-only.

Configuration and diagnostics

Environment variableDefaultUse
ABAQUS_MCP_HOST127.0.0.1GUI bridge address
ABAQUS_MCP_PORT48152GUI bridge port
ABAQUS_MCP_TIMEOUT120Seconds to wait for a kernel call
ABAQUS_MCP_PLUGIN_DIR~/abaqus_pluginsPlugin installation directory
ABAQUS_MCP_DEBUGoffWrite a bounded GUI plugin debug log in the temporary directory

Run abaqus-control-doctor --verify-connection for installation and connectivity details. If connection is refused, check that Abaqus/CAE is open and Start MCP Bridge has been selected. If the GUI plugin was updated, restart CAE before evaluating plugin-side changes. The GUI plugin does not create a request log by default; set ABAQUS_MCP_DEBUG=1 before starting CAE to enable a rotating debug log. No output from abaqus-control-mcp-server on stdout is normal for a stdio MCP server.

Community Adoption and Ecosystem Impact

Since its open-source release, the designs and implementations of Abaqus-Control-MCP have been adopted and further developed by other open-source projects. We are glad to see this project advancing the integration of AI and engineering simulation and serving as a technical foundation for related tools.

  • CAE-Agent-Hub adopted and adapted this project's live execution and diagnostic architecture in commit 5bd51ff on May 25, 2026, including the local socket bridge, GUI-thread dispatch, persistent execution context, and AST-driven error diagnosis and recovery mechanisms.
    • The relevant upstream implementation was available in the initial Abaqus-Control-MCP release, commit cc4ab0b, on May 10, 2026.
    • CAE-Agent-Hub provides attribution under the MIT License in its THIRD_PARTY_NOTICES.md.

We welcome and encourage developers to explore, improve, and build new tools upon Abaqus-Control-MCP. The value of open source lies in enabling good ideas to be reused, advanced, and shared with the broader community. If your project adopts designs or implementations from this project, feel free to open an Issue or submit a Pull Request to share your work and be included in this list. Together, we can explore more possibilities for AI-driven engineering simulation.

License

MIT — see LICENSE.

Abaqus Control MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Abaqus Control MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Abaqus Control MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Abaqus Control MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "abaqus-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAbaqus Control MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Abaqus Control MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Abaqus Control MCPを使ってこのタスクを手伝ってもらえますか?
Abaqus Control MCP
はい、読みました。
Abaqus Control MCPで調べた結果をお伝えします。

よくある質問

Abaqus Control MCP MCPサーバーは何に使いますか?

Abaqus Control MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでAbaqus Control MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAbaqus Control MCPを利用できます。

TypingMindでAbaqus Control MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Abaqus Control MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Abaqus Control MCP MCPをTypingMindに接続するにはどうすればよいですか?

Abaqus Control MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAbaqus Control MCP MCPのどのようなツールを利用できますか?

Abaqus Control MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Abaqus Control MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Abaqus Control MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇