An MCP server around SU2 workflows
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file su2_mcp-0.1.0.tar.gz.
File metadata
- Download URL: su2_mcp-0.1.0.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f494abc6be2da4d31e60898a5e52f60c5fd6c7b2cec17c5116969643c0b8d166
|
|
| MD5 |
bac1785dcd477ac0df1ac9eeba839147
|
|
| BLAKE2b-256 |
8327d9e50ec26f7b35c971caa3a87ac0b474731152d178fa960339aaf4063e45
|
Provenance
The following attestation bundles were made for su2_mcp-0.1.0.tar.gz:
Publisher:
workflow.yml on cmudrc/su2-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
su2_mcp-0.1.0.tar.gz -
Subject digest:
f494abc6be2da4d31e60898a5e52f60c5fd6c7b2cec17c5116969643c0b8d166 - Sigstore transparency entry: 1034945860
- Sigstore integration time:
-
Permalink:
cmudrc/su2-mcp@b6d4c25f4f16296c01f2c4d2c7e9afc8c310c845 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cmudrc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@b6d4c25f4f16296c01f2c4d2c7e9afc8c310c845 -
Trigger Event:
release
-
Statement type:
File details
Details for the file su2_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: su2_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f35d670026215cdd781aaa34acaede0253f7f0a8cf11cdc89b961c5f917542f5
|
|
| MD5 |
7f87f78746b458f038bd3e85168c8f7d
|
|
| BLAKE2b-256 |
6c5d74f3a3024ee4df2d7a4e285eaacc8b78a59b9e47de181d54b71001b0990c
|
Provenance
The following attestation bundles were made for su2_mcp-0.1.0-py3-none-any.whl:
Publisher:
workflow.yml on cmudrc/su2-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
su2_mcp-0.1.0-py3-none-any.whl -
Subject digest:
f35d670026215cdd781aaa34acaede0253f7f0a8cf11cdc89b961c5f917542f5 - Sigstore transparency entry: 1034945915
- Sigstore integration time:
-
Permalink:
cmudrc/su2-mcp@b6d4c25f4f16296c01f2c4d2c7e9afc8c310c845 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cmudrc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@b6d4c25f4f16296c01f2c4d2c7e9afc8c310c845 -
Trigger Event:
release
-
Statement type: