Thermal network and heatsink analysis MCP server
  • TypeScript 63.4%
  • Python 33.2%
  • CSS 1.7%
  • Shell 1.1%
  • Dockerfile 0.4%
  • Other 0.2%
Find a file
Erwan Lee Pesle e0cc0e061b
Some checks failed
ci.yml / Merge pull request #2 from vidimus-dev/chore/vidimus-dev-ghcr (push) Failing after 0s
Merge pull request #2 from vidimus-dev/chore/vidimus-dev-ghcr
chore(ci): migrate engineering-toolchain and GHCR to vidimus-dev
2026-12-05 15:41:32 +08:00
.github/workflows chore(ci): migrate engineering-toolchain and GHCR target to vidimus-dev 2026-12-05 15:32:20 +08:00
scripts feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
src feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
tests feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
.gitignore feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
.release-please-manifest.json feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
CHANGELOG.md feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
deno.json feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
deno.lock feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
Dockerfile feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
LICENSE feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
mod.ts feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
README.md feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
release-please-config.json feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00
renovate.json chore(ci): migrate engineering-toolchain and GHCR target to vidimus-dev 2026-12-05 15:32:20 +08:00
server.ts feat: initial @casys/mcp-thermal v0.1.0 deterministic thermal MCP server 2026-12-04 19:56:55 +08:00

@casys/mcp-thermal

Deterministic Layer-4 MCP server (v0.1.0, port 127.0.0.1:3038) for multi-node RC thermal networks, plate-fin/pin-fin heatsinks with ISA altitude lapse, insulated multi-layer enclosure cold/hot-soak ODEs, and concentric/planar radiation shielding 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 emit literal provenance deterministic-analysis.

@casys/mcp-thermal executes deterministic Python/NumPy/SciPy (with stdlib fallback) thermal engineering models (nonlinear steady-state + stiff BDF transient ODEs, Bar-Cohen–Rohsenow / Churchill–Chu / Gnielinski / Zukauskas heatsink correlations, multi-layer enclosure soak ODEs, and nonlinear radiosity equilibrium).

Engineering Tools & Level-2 Snippets

Direct MCP Tool Level-2 Snippet Primary Widget View Deterministic Analysis Model
thermal_analyze_network analyze_network thermal-network Multi-node RC network: exact nonlinear steady-state (T_ss with conduction + σ·ε·A·(T⁴ - T_amb⁴)) AND stiff ODE out to max(duration_s, 5·τ_dom) (never capped!)
thermal_analyze_heatsink analyze_heatsink heatsink-map Plate-fin / pin-fin heatsink in natural or forced convection + cavity gray-body radiation + solar irradiance + ISA altitude air density/viscosity lapse (0–20 km)
thermal_analyze_enclosure_soak analyze_enclosure_soak soak-profile Multi-layer insulated enclosure cold/hot-soak ODE at ISA altitude with external convection/radiation and thermostatic heater duty cycle & Wh energy integration
thermal_analyze_radiation_shield analyze_radiation_shield thermal-network N concentric cylindrical or parallel planar radiation shields solving exact nonlinear radiosity (+ optional gap conduction/convection) equilibrium and attenuation

Interactive MCP App Viewers (src/ui/)

  • ui://mcp-thermal/thermal-network — Multi-node transient temperature trajectories (0 → 5·τ) with steady-state vs limit bars, or N-shield nonlinear T⁴ cascade & flux attenuation sweep.
  • ui://mcp-thermal/heatsink-map — Junction & base temperature vs heat load sweep, R_th_sink vs airflow velocity at ISA altitude, Re/Ra/Nu & fin efficiency KPIs, and thermal resistance stack.
  • ui://mcp-thermal/soak-profile — Internal & outer-skin soak trajectory with freeze/overtemp limits, thermostatic heater power/Wh profile, and per-layer insulation resistance breakdown.

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 compact (< 900 B, zero raw arrays) while exposing complete time-series, sweeps, and tables in structuredContent.

Quick Start

# Local Deno HTTP server on 127.0.0.1:3038
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-thermal:0.1.0 .
docker run -d --name casys-mcp-thermal --restart unless-stopped \
  -p 127.0.0.1:3038:3038 ghcr.io/superworldsavior/mcp-thermal:0.1.0