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
Metadata
Release files for su2-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| su2_mcp-0.1.0.tar.gz | 25.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| su2_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.4 kB
Release files / su2_mcp-0.1.0.tar.gz
| Download URL | su2_mcp-0.1.0.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f494abc6be2da4d31e60898a5e52f60c5fd6c7b2cec17c5116969643c0b8d166
|
|
BLAKE2b-256 checksum How to use checksums |
8327d9e50ec26f7b35c971caa3a87ac0b474731152d178fa960339aaf4063e45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.
Transparency logRelease files / su2_mcp-0.1.0-py3-none-any.whl
| Download URL | su2_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f35d670026215cdd781aaa34acaede0253f7f0a8cf11cdc89b961c5f917542f5
|
|
BLAKE2b-256 checksum How to use checksums |
6c5d74f3a3024ee4df2d7a4e285eaacc8b78a59b9e47de181d54b71001b0990c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.
Transparency logSecurity for su2-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for su2_mcp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.