AVL aerodynamics and flight stability MCP server
  • TypeScript 91.3%
  • CSS 4.9%
  • Shell 2.2%
  • Dockerfile 1.4%
  • HTML 0.2%
Find a file
Erwan Lee Pesle bec78ba532
Some checks failed
ci.yml / Merge pull request #9 from vidimus-dev/feat/widget-compose-sync (push) Failing after 0s
Merge pull request #9 from vidimus-dev/feat/widget-compose-sync
feat(ui): add bidirectional @mcpview/compose portSync to widgets
2026-12-05 20:30:27 +08:00
.github/workflows chore(ci): migrate engineering-toolchain and GHCR target to vidimus-dev 2026-12-05 15:32:08 +08:00
scripts fix(widgets): stat purity, gates table, declared views, locked bundle, third-party notices 2026-12-03 13:26:23 +08:00
src feat(ui): add bidirectional @mcpview/compose portSync to widgets 2026-12-05 20:28:48 +08:00
tests feat!: rename dual-configuration check to avl_check_two_stage_stability (v0.3.0) 2026-12-05 11:44:10 +08:00
.dockerignore feat: @casys/mcp-avl 0.1.0 — MIT AVL stability MCP, native @mcpview snippets 2026-12-03 11:58:08 +08:00
.gitignore feat: @casys/mcp-avl 0.1.0 — MIT AVL stability MCP, native @mcpview snippets 2026-12-03 11:58:08 +08:00
.release-please-manifest.json feat!: rename dual-configuration check to avl_check_two_stage_stability (v0.3.0) 2026-12-05 11:44:10 +08:00
CHANGELOG.md feat!: rename dual-configuration check to avl_check_two_stage_stability (v0.3.0) 2026-12-05 11:44:10 +08:00
deno.json feat!: rename dual-configuration check to avl_check_two_stage_stability (v0.3.0) 2026-12-05 11:44:10 +08:00
deno.lock feat: @casys/mcp-avl 0.1.0 — MIT AVL stability MCP, native @mcpview snippets 2026-12-03 11:58:08 +08:00
Dockerfile fix(widgets): stat purity, gates table, declared views, locked bundle, third-party notices 2026-12-03 13:26:23 +08:00
LICENSE feat: @casys/mcp-avl 0.1.0 — MIT AVL stability MCP, native @mcpview snippets 2026-12-03 11:58:08 +08:00
mod.ts feat!: rename dual-configuration check to avl_check_two_stage_stability (v0.3.0) 2026-12-05 11:44:10 +08:00
README.md feat!: rename dual-configuration check to avl_check_two_stage_stability (v0.3.0) 2026-12-05 11:44:10 +08:00
release-please-config.json chore(ci): adopt superWorldSavior/engineering-toolchain@v1 2026-12-04 11:56:17 +08:00
renovate.json chore(ci): migrate engineering-toolchain and GHCR target to vidimus-dev 2026-12-05 15:32:08 +08:00
server.ts feat!: rename dual-configuration check to avl_check_two_stage_stability (v0.3.0) 2026-12-05 11:44:10 +08:00
THIRD_PARTY_NOTICES.txt fix(widgets): stat purity, gates table, declared views, locked bundle, third-party notices 2026-12-03 13:26:23 +08:00

@casys/mcp-avl

MCP server for 3D Vortex-Lattice aerodynamic stability, trim, and neutral-point verification powered by MIT AVL (Mark Drela / Harold Youngren) and built natively on @mcpview/server + @mcpview/compose.

Tools

  • avl_run_stability — Executes real MIT AVL 3D VLM (X / ST stability derivatives) for coupled or separated airframe configurations (CLa, Cma, Cnb, Clb, Xnp, static margin SM%, trim elevon angle, and 5-gate qualification).
  • avl_check_two_stage_stability — Qualifies stability across both coupled two-stage (carrier + pod) and post-release carrier-alone configurations in a single MIT AVL verification pass.
  • list_snippets / run_snippet — Layer-2 @mcpview/compose snippet bridge (run_stability, check_two_stage_stability).

Widgets

Results are shown as small, individual MCP App widgets, one reading each, never a dashboard. Each widget is its own ui://mcp-avl/<widget> resource and adapts to the width its host grants (a Compose board snaps its resize handle between supportedWidths; a standalone host gets the widest).

Widget (ui://mcp-avl/…) Kind Shows supportedWidths
stability-verdict stat PASS or FAIL with 1 to 3 headline numbers 280, 380, 520
stability-gates table Each qualification gate with pass/fail and requirement, one column per configuration 320, 460, 640
stability-derivatives table CLα, Cmα, Cnβ, Clβ, neutral point and trim, one column per configuration 340, 480, 680
static-margin chart Static margin of each configuration against the 4 to 22 % window 320, 440, 640

Smallest width: the essential. Middle: the usual reading. Largest: the full detail of that one thing, with a provenance footer (engine, AVL version, case SHA-256). avl_run_stability, avl_check_two_stage_stability and run_snippet advertise stability-verdict by default; a board selects another widget for the same result by resource URI. AVL_WIDGETS (exported from mod.ts) lists URIs, kinds and supportedWidths for a board to read:

import { AVL_WIDGETS } from "jsr:@casys/mcp-avl";
// { resourceUri: widget.uri, supportedWidths: widget.supportedWidths }

Quickstart

docker build -t casys-mcp-avl:local .
docker run -d --name casys-mcp-avl -p 127.0.0.1:3029:3029 casys-mcp-avl:local
curl http://127.0.0.1:3029/health

Snippets

list_snippets returns run_stability and check_two_stage_stability. Both carry _meta["io.casys/provenance"] = "verified-solver" only when MIT AVL actually ran; any failure returns an AVL_ERROR tool error.

Install

# Deno (JSR)
deno run --allow-read --allow-write --allow-run --allow-env --allow-net jsr:@casys/mcp-avl/server --port=3029
# Node.js >= 20 (npm)
npx @casys/mcp-avl --port=3029

Both need the avl binary on PATH (or AVL_BIN / --avl-bin); the Docker image builds it.

Development

deno task release:check   # fmt + check + lint + unit tests + widget bundle freshness (no AVL needed)
deno task build:ui        # rebuild the committed single-file widget HTML in src/ui/dist/
deno task test:avl        # integration test against a server on 127.0.0.1:3029
deno task build:npm       # Node bundle in dist-node/bin

License

MIT — see LICENSE. MIT AVL itself is GPL software by Mark Drela and Harold Youngren; it is downloaded and compiled inside the Docker image, not redistributed here.