su2-mcp
su2-mcp
su2-mcp は、MCP サーバーを介して SU2 セッションのライフサイクル、設定編集、ソルバー実行、結果の検査を公開します。
機能
セッションごとの作業ディレクトリによるセッションライフサイクル管理。
SU2 の
.cfgファイルの読み取り、解析、更新のための設定ヘルパー。メッシュのアップロードと
MESH_FILENAMEの自動同期。gmshによるオプションの STEP -> SU2 メッシュ変換 (generate_mesh_from_step)。タイムアウト/バイナリ欠落処理を備えた
SU2_CFDおよびSU2_DEF用ソルバーラッパー。結果ファイルの一覧表示、base64 ダウンロード、履歴 CSV の解析、サーフェスサンプリング。
オープンエンドなメッシュリファインメント (2026-06-21): CPACS アダプタは、3 つの名前付きプリセット (
laptop/workstation/industry) に加えて、オプションのsurface_densityとfarfield_factorのオーバーライドを公開し、実際のmesh_n_elemセル数とcauchy_triggeredフラグを報告するため、呼び出し側は収束するまでプラトーを続けるループを構築できます (cmudrc/agent-mcp内のSKILL_OPEN_ENDED_MESH.mdスキルとscripts/run_converged_su2.pyを参照)。
Related MCP server: tigl-mcp
インストール
python3 -m venv .venv
source .venv/bin/activate
pip install -e .[dev]サーバーの実行
StdIO (デフォルト)
su2-mcp --transport stdioHTTP トランスポート
su2-mcp --transport http --host 0.0.0.0 --port 8002 --path /mcp
su2-mcp --transport streamable-http --host 0.0.0.0 --port 8002 --streamable-http-path /mcpServer-Sent Events (SSE)
su2-mcp --transport sse --host 0.0.0.0 --port 8000 --mount-path / --sse-path /sseプログラムによるエントリポイントは su2_mcp.main から利用できます。
開発
make dev
make lint
make type
make test
make docs完全なローカル CI スタイルのゲート:
make ciSU2 バイナリの確認
MCP ツール get_su2_status は、一般的な SU2 バイナリ (SU2_CFD、SU2_CFD_MPI、SU2_DEF) の利用可能性を報告します。
オプションの SU2 依存関係エクストラ
pip install .[su2]システム依存関係
Python パッケージは純粋な Python ですが、一部のツールは外部の実行可能ファイルに依存しています:
run_su2_solver/generate_deformed_mesh:PATHに SU2 バイナリが必要ですgenerate_mesh_from_step:PATHにgmshが必要です
Shared-CPACS 統合
この MCP には、SU2 を shared-CPACS 航空機解析パイプラインに橋渡しする CPACS アダプタ (src/su2_mcp/cpacs_adapter.py) が含まれています。
機能
アダプタは CPACS から参照形状と飛行条件を読み取り、Gmsh を介して STEP ファイルをメッシュ化し、実際の SU2_CFD オイラーシミュレーションを実行し、history.csv から CL/CD を解析し、空力結果を //analysisResults/aero に書き込みます。
方向 | XPath |
読み取り |
|
書き込み |
|
パイプラインの一部として実行
# Classic preset path
python pipeline/shared_cpacs_orchestrator.py D150_v30.xml \
--mcps tigl su2 pycycle nseg --su2-preset workstation
# Custom one-off density (open-ended override)
python pipeline/shared_cpacs_orchestrator.py D150_v30.xml \
--mcps tigl su2 --su2-density 120
# Converged delivery: refine surface_density until CL/CD plateau
python pipeline/shared_cpacs_orchestrator.py D150_v30.xml \
--mcps tigl su2 --su2-converge完全なパイプラインのドキュメント、バージョン管理の詳細、インストール手順については、cmudrc/aircraft-analysis を参照してください。
関連 MCP サーバー
MCP | リポジトリ |
TiGL (geometry) | |
pyCycle (engine cycle) | |
Mission, segment/Breguet | |
Mission, trajectory-level |
メンテナー
Mayank Dixit (@Kugel-Blitz-13), Carnegie Mellon University — mayankd@cmu.edu Christopher McComb, Carnegie Mellon University — Design Research Collective
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables automated geometry editing and aerodynamic analysis using OpenVSP and VSPAero through natural language. Provides tools to modify aircraft geometry parameters and run computational fluid dynamics simulations programmatically.36MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for CPACS-oriented TiGL workflows, enabling lifecycle management, inspection, export, and parameter manipulation of aircraft geometry models without native geometry runtimes.3MIT
- FlicenseNot gradedqualityCmaintenanceEnables to interact with Abaqus FEA software through an MCP bridge, supporting connection checks, script execution, model queries, job submission, and simulation automation.2
- AlicenseBqualityAmaintenanceEnables natural language-driven ANSYS simulations (Fluent, Mechanical, Geometry) with automatic TUI script generation for reproducibility.416MIT
Related MCP Connectors
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Real FEA on CAD parts: validated setups, stress, safety factor, natural frequencies
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cmudrc/su2-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server