Profili MCP

v0.1.1
io.github.GaillumXc/profili-mcp Checked 6 hours ago Published 16 days ago

Legacy Profili 2.x airfoil software MCP server: library search, XFOIL polars, redesign, DB access.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_status Get Status

Probe the Profili installation: paths, database row counts, whether the GUI is running, and platform notes. Call this first.

ParameterTypeDescription
install_dir

launch_profili Launch Profili

Start the Profili GUI.

ParameterTypeDescription
install_dir

close_profili Close Profili

Close all running Profili GUI instances.

list_libraries List Libraries

List airfoil libraries defined in the Profili database.

ParameterTypeDescription
install_dir

search_airfoils Search Airfoils

Search the 2200+ airfoil library. ``name`` is a SQL LIKE substring (e.g. 'NACA 24' or 'AG '). Thickness/camber bounds use the database's own units for MaxWidthSuCorda / MaxCamberSuCorda (see docs/SCHEMA.md).

ParameterTypeDescription
camber_max
camber_min
install_dir
library
limitinteger
name
thickness_max
thickness_min

get_airfoil_geometry Get Airfoil Geometry

Get an airfoil's metadata + full coordinates (chord fractions, LE->TE for both surfaces).

ParameterTypeDescription
name *string
install_dir

export_airfoil_dat Export Airfoil Dat

Export an airfoil from the library to a Profili .dat coordinate file.

ParameterTypeDescription
name *string
install_dir
output_path

import_airfoil_dat Import Airfoil Dat

Import a .dat coordinate file into the Profili library. The database is backed up first unless backup=False. Restart Profili afterwards if it was already running.

ParameterTypeDescription
file_path *string
backupboolean
install_dir
libraryinteger
name
notestring

list_polars List Polars

List the Reynolds numbers for which stored polars exist.

ParameterTypeDescription
name *string
install_dir

get_polar Get Polar

Get the stored polar (CL/CD/CM vs alpha, degrees) at the Reynolds number closest to ``re``.

ParameterTypeDescription
name *string
re *integer
install_dir

find_airfoils_by_polar Find Airfoils By Polar

Search airfoils by aerodynamic performance at one operating point. Narrows by name prefix first (the polar table is huge), then evaluates the polar at ``alfa`` (linear interpolation) and applies the criteria.

ParameterTypeDescription
alfa *number
name_prefix *string
re *integer
install_dir
limitinteger
max_cd
min_cl
min_cl_over_cd

analyze_airfoil Analyze Airfoil

Compute a fresh viscous polar with the bundled XFOIL (same recipe as Profili's own solver). If save_to_db=True the result is written into the Profili library and appears in the GUI after restart.

ParameterTypeDescription
name *string
alfa_endnumber
alfa_startnumber
alfa_stepnumber
backupboolean
install_dir
machnumber
ncritnumber
reinteger
save_to_dbboolean

analyze_naca Analyze Naca

Compute a polar for any NACA 4/5-digit airfoil without touching the library (XFOIL generates the geometry itself).

ParameterTypeDescription
naca_code *string
alfa_endnumber
alfa_startnumber
alfa_stepnumber
install_dir
machnumber
ncritnumber
reinteger

redesign_airfoil Redesign Airfoil

Rescale max thickness and/or camber (chord fractions) via XFOIL GDES TSET — the same 'modify airfoil' recipe Profili uses internally. If save_as is given, the new geometry is saved into the library under that name (and as a .dat file next to it).

ParameterTypeDescription
name *string
backupboolean
camber
install_dir
save_as
thickness
x_cambernumber
x_thicknessnumber