- TypeScript 57%
- Python 39.8%
- CSS 1.5%
- Shell 1.1%
- Dockerfile 0.4%
- Other 0.2%
|
Some checks failed
ci.yml / Merge pull request #2 from vidimus-dev/chore/vidimus-dev-ghcr (push) Failing after 0s
chore(ci): migrate engineering-toolchain and GHCR to vidimus-dev |
||
|---|---|---|
| .github/workflows | ||
| scripts | ||
| src | ||
| tests | ||
| .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 | ||
@casys/mcp-control
Deterministic Layer-4 MCP server (v0.1.0, port 127.0.0.1:3039) for classical & modern control
systems, LQR/PID synthesis, linearized 6-DOF aircraft flight-dynamics modes, and closed-loop
gust/saturation disturbance simulation with Level-2 @mcpview/compose Code Mode snippets and 3
interactive MCP App widgets.
Provenance
All four tools, Level-2 snippets, _meta["io.casys/provenance"] headers, /health, and MCP App
widget badges report literal provenance deterministic-analysis.
@casys/mcp-control executes deterministic Python/NumPy/SciPy control-systems models (with an
IEEE-754 parity Python stdlib fallback for bare Node/host installs). In the Casys Digital Thread
provenance contract, verified-solver is reserved strictly for independent established physics
engines (CalculiX, OpenFOAM, OCCT, ngspice, OpenEMS, Project Chrono, MIT AVL, and Z3).
Engineering Tools & Level-2 Snippets
| Direct MCP Tool | Level-2 Snippet | Primary Widget View | Deterministic Analysis Model |
|---|---|---|---|
control_analyze_frequency_response |
analyze_frequency_response |
bode-margins |
Transfer-function (num, den) or state-space (A, B, C, D) open-loop Bode/Nyquist analysis with exact transport delay exp(-jωτ), GM, PM, M_s, -3 dB bandwidth, closed-loop poles & ζ |
control_synthesize_lqr_pid |
synthesize_lqr_pid |
step-response |
Exact CARE LQR (solve_continuous_are / Matrix Sign Function) or filtered PID synthesis with closed-loop eigenvalues, step-response metrics (t_r, M_p, t_s2%), and actuator saturation check |
control_analyze_flight_modes |
analyze_flight_modes |
flight-modes |
Generic 4×4 longitudinal & 4×4 lateral-directional linearized flight dynamics classifying Short-Period, Phugoid, Dutch Roll, Roll Subsidence, and Spiral modes against MIL-F-8785C Level-1 limits |
control_simulate_disturbance |
simulate_disturbance |
step-response |
Nonlinear closed-loop time-domain ODE (solve_ivp / RK4) with 1-cos discrete wind gust or step disturbance, actuator rate limit, deflection saturation, transport delay, and rejection verdict |
Interactive MCP App Viewers (src/ui/)
ui://mcp-control/bode-margins— Dual Bode magnitude/phase SVG chart with0 dB/-180°crossover cursors, Nyquist plot with(-1, 0)crosshair and1/M_scircle, qualification badge, and closed-loop pole table.ui://mcp-control/step-response— Outputy(t)vs reference/disturbance SVG plot, control effortu(t)with saturation rails and shaded saturation windows, LQR gain/pole or disturbance rejection KPI cards.ui://mcp-control/flight-modes— Interactives-plane eigenvalue map with constant-damping rays (ζ = 0.08, 0.35, 0.707), 5-mode KPI cards, and clickable MIL-F-8785C Level-1 handling criteria table.
All widgets declare Layer-3 portSync event ports
(emits: ["part.selected", "artifact.selected", "requirement.selected"],
accepts: ["part.focus", "artifact.focus", "requirement.focus"]), and tool responses keep
content[0].text strictly compact (< 900 B) while exposing complete curves and pole arrays in
structuredContent.
Quick Start
# Local Deno HTTP server on 127.0.0.1:3039
deno task build:ui
deno task serve
# Full quality gate (fmt, check, lint, tests, UI bundle freshness)
deno task ci:check
# Multi-arch Docker container (Deno 2 + Python 3 + NumPy/SciPy)
docker build -t ghcr.io/superworldsavior/mcp-control:0.1.0 .
docker run -d --name casys-mcp-control --restart unless-stopped \
-p 127.0.0.1:3039:3039 ghcr.io/superworldsavior/mcp-control:0.1.0