- TypeScript 91.3%
- CSS 4.9%
- Shell 2.2%
- Dockerfile 1.4%
- HTML 0.2%
|
Some checks failed
ci.yml / Merge pull request #9 from vidimus-dev/feat/widget-compose-sync (push) Failing after 0s
feat(ui): add bidirectional @mcpview/compose portSync to widgets |
||
|---|---|---|
| .github/workflows | ||
| scripts | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| .release-please-manifest.json | ||
| CHANGELOG.md | ||
| deno.json | ||
| deno.lock | ||
| Dockerfile | ||
| LICENSE | ||
| mod.ts | ||
| README.md | ||
| release-please-config.json | ||
| renovate.json | ||
| server.ts | ||
| THIRD_PARTY_NOTICES.txt | ||
@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/STstability derivatives) for coupled or separated airframe configurations (CLa,Cma,Cnb,Clb,Xnp, static marginSM%, 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/composesnippet 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.