@casys/mcp-avl 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +45 -2
  3. package/mcp-avl.mjs +57086 -0
  4. package/package.json +10 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Casys
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,46 @@
1
- # Temporary Holding Version
1
+ # `@casys/mcp-avl`
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 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`.
4
+
5
+ ## Tools
6
+
7
+ - `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).
8
+ - `list_snippets` / `run_snippet` — Layer-2 `@mcpview/compose` snippet bridge (`run_stability`).
9
+
10
+ ## Quickstart
11
+
12
+ ```bash
13
+ docker build -t casys-mcp-avl:local .
14
+ docker run -d --name casys-mcp-avl -p 127.0.0.1:3029:3029 casys-mcp-avl:local
15
+ curl http://127.0.0.1:3029/health
16
+ ```
17
+
18
+ ## Snippets
19
+
20
+ `list_snippets` returns `run_stability` and `check_valkyrie_stability`. Both carry
21
+ `_meta["io.casys/provenance"] = "verified-solver"` only when MIT AVL actually ran; any
22
+ failure returns an `AVL_ERROR` tool error.
23
+
24
+ ## Install
25
+
26
+ ```bash
27
+ # Deno (JSR)
28
+ deno run --allow-read --allow-write --allow-run --allow-env --allow-net jsr:@casys/mcp-avl/server --port=3029
29
+ # Node.js >= 20 (npm)
30
+ npx @casys/mcp-avl --port=3029
31
+ ```
32
+
33
+ Both need the `avl` binary on `PATH` (or `AVL_BIN` / `--avl-bin`); the Docker image builds it.
34
+
35
+ ## Development
36
+
37
+ ```bash
38
+ deno task release:check # fmt + check + lint + unit tests (no AVL needed)
39
+ deno task test:avl # integration test against a server on 127.0.0.1:3029
40
+ deno task build:npm # Node bundle in dist-node/bin
41
+ ```
42
+
43
+ ## License
44
+
45
+ MIT — see [LICENSE](LICENSE). MIT AVL itself is GPL software by Mark Drela and Harold
46
+ Youngren; it is downloaded and compiled inside the Docker image, not redistributed here.