su2-mcp
Enables interaction with SU2 CFD solver for session lifecycle management, config editing, solver execution, and results inspection, with optional CPACS integration for aircraft analysis.
README
su2-mcp
su2-mcp exposes SU2 session lifecycle, config editing, solver execution, and
results inspection through an MCP server.
Features
- Session lifecycle management with per-session working directories.
- Config helpers for reading, parsing, and updating SU2
.cfgfiles. - Mesh upload and automatic
MESH_FILENAMEsynchronization. - Optional STEP -> SU2 mesh conversion via
gmsh(generate_mesh_from_step). - Solver wrappers for
SU2_CFDandSU2_DEFwith timeout/missing-binary handling. - Result-file listing, base64 download, history CSV parsing, and surface sampling.
Install
python3 -m venv .venv
source .venv/bin/activate
pip install -e .[dev]
Run the Server
StdIO (default)
su2-mcp --transport stdio
HTTP transports
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 /mcp
Server-Sent Events (SSE)
su2-mcp --transport sse --host 0.0.0.0 --port 8000 --mount-path / --sse-path /sse
Programmatic entrypoints are available from su2_mcp.main.
Development
make dev
make lint
make type
make test
make docs
Full local CI-style gate:
make ci
Checking SU2 binaries
The MCP tool get_su2_status reports availability of common SU2 binaries
(SU2_CFD, SU2_CFD_MPI, SU2_DEF).
Optional SU2 dependency extra
pip install .[su2]
System dependencies
The Python package is pure Python, but some tools rely on external executables:
run_su2_solver/generate_deformed_mesh: requires SU2 binaries onPATHgenerate_mesh_from_step: requiresgmshonPATH
Shared-CPACS Integration
This MCP includes a CPACS adapter (src/su2_mcp/cpacs_adapter.py) that
bridges SU2 to the shared-CPACS aircraft analysis pipeline.
What it does
The adapter reads reference geometry and flight conditions from CPACS, meshes
STEP files via Gmsh, runs real SU2_CFD Euler simulations, parses CL/CD from
history.csv, and writes aerodynamic results into //analysisResults/aero.
| Direction | XPath |
|---|---|
| Reads | .//vehicles/aircraft/model/reference, .//analysisResults/tigl |
| Writes | .//vehicles/aircraft/model/analysisResults/aero (CL, CD, L/D, solver info) |
Running as part of the pipeline
python pipeline/shared_cpacs_orchestrator.py D150_v30.xml --mcps tigl su2 pycycle mission
See cmudrc/aircraft-analysis for full pipeline documentation, versioning details, and installation instructions.
Related MCP servers
| MCP | Repository |
|---|---|
| TiGL (geometry) | cmudrc/tigl-mcp |
| pyCycle (engine cycle) | cmudrc/pycycle-mcp |
| Mission (trajectory/fuel) | cmudrc/mission-mcp |
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.