Logo de Abaqus Control MCP

Abaqus Control MCP

Comunidade
Whfkl

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

Publicado porWhfkl
RepositórioAbaqus-Control-MCP
IdiomaPython
Forks
21
Estrelas
203
Ferramentas disponíveis
0
Tipo de transportestdio
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    Abaqus Control MCP disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 0 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    203 estrelas e 21 forks no repositório vinculado.

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.

Use o MCP de Abaqus Control MCP com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar Abaqus Control MCP, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, vá até Configurações, Configurações avançadas e depois Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Ajustes.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione Abaqus Control MCP como servidor

Quando o status do conector for Pronto, clique em Editar e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar.
  3. Cole a configuração do servidor MCP de Abaqus Control MCP.
  4. Salve a lista de servidores.
  5. Atualize para confirmar se o conector ainda está pronto para uso.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar
{
  "mcpServers": {
    "abaqus-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de Abaqus Control MCP, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de Abaqus Control MCP.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar Abaqus Control MCP para me ajudar nesta tarefa?
Abaqus Control MCP
Claro. Já li.
Veja o que encontrei usando Abaqus Control MCP.

Perguntas frequentes

Para que serve o servidor MCP Abaqus Control MCP?

Abaqus Control MCP é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP Abaqus Control MCP com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar Abaqus Control MCP com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP Abaqus Control MCP com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com Abaqus Control MCP conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP Abaqus Control MCP ao TypingMind?

Abaqus Control MCP funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP Abaqus Control MCP oferece no TypingMind?

Abaqus Control MCP disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP Abaqus Control MCP?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se Abaqus Control MCP exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇