
Lake Shore Temperature Controller
io.github.K-Dense-AI由 GitHub 帳號 K-Dense-AI 發布v0.1.3更新於 Oct 27, 2026
MCP server for Lake Shore Cryotronics 335/336/350 temperature controllers.
概覽
針對 Lake Shore 335/336/350 低溫溫控器的 MCP 伺服器:讀取感測器、查看加熱器狀態、設定設定點、斜坡、檔位與 PID,並可關閉全部加熱器。
- 可以做什麼
- 讀取各感測器輸入(克耳文、原始單位、類型、狀態)以及加熱器完整狀態,包括檔位、輸出百分比、設定點、斜坡狀態、PID 與加熱器故障
- 依輸出迴路設定以克耳文為單位的設定點、加熱器檔位、斜坡開關與速率,以及 P/I/D 參數
- 等待控制輸入在容差內穩定指定時間,回傳最終溫度與降取樣曲線
- 像面板 All Off 鍵一樣關閉所有加熱器,並在斷電重啟後重新連線
- 查看連線身分、唯讀模式與目前安全上限,並檢視原始指令紀錄
- 適用情境
- 適用於使用 Lake Shore 335、336 或 350 溫控器的實驗室,讓助理監控低溫恆溫器溫度、調整設定點與 PID,或執行升溫並等待穩定的流程。也可透過內建模擬器在沒有硬體時試用。
- 執行需求
- 以 Python 套件(uvx labmcp-lakeshore)透過 stdio 在本機執行,僅支援桌面用戶端。需以 LABMCP_ADDRESS 指定可連線的儀器:USB 序列埠、乙太網路(336/350 的 TCP 7777)或經 VISA 的 GPIB。可選用 LABMCP_LIMITS、LABMCP_READ_ONLY、LABMCP_SIMULATE。不需帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Lake Shore Temperature Controller,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Lake Shore Temperature Controller — MCP Server
Let an AI agent read every sensor on your cryostat, check heater status, set setpoints, ramps, heater ranges and PID values, wait for the temperature to settle, and switch all heaters off on Lake Shore Cryotronics Model 335, 336 and 350 temperature controllers.
Try it without hardware
The simulator models a small cryostat at 4.2 K: a stage (inputs A diode and C Cernox-like, heated by output 1) and a sample (input B Pt-100, heated by output 2), with Lake Shore's PID law and setpoint ramping. sim_speed makes simulated time run faster than real time.
Connect your controller
The model is detected from *IDN?; other Lake Shore models (325, 331, 340, 372, ...) are refused.
- Pick the interface in the controller's Interface menu (only one remote interface is active at a time).
- USB: install the Lake Shore USB driver (Windows Update, or lakeshore.com). The port runs at a fixed 57600 baud, 7 data bits, odd parity, 1 stop bit; the server sets this automatically.
- Ethernet (336, 350): configure the IP address on the front panel; the command port is TCP 7777 (two connections at most).
- Test the connection:
Add to your MCP client
Claude Code
Claude Desktop / Cursor / Windsurf (claude_desktop_config.json, .cursor/mcp.json, …)
Add --read-only to allow reading temperatures and heater status but block setpoint, ramp, range and PID changes (all_heaters_off stays available). For other clients, generate the snippet with uvx labmcp config lakeshore --address tcp://192.168.1.40:7777 --client vscode (also cursor, codex, claude-code).
Tools
get_connection_info, get_command_log and reconnect are built into every LabMCP server.
Safety limits
Override at launch: --limit max_setpoint_k=420 --limit max_heater_range=2.
Example prompts
- "Read all the temperatures and tell me if any sensor has an error."
- "Ramp output 1 to 77 K at 2 K/min on the medium range, then wait until input A has been within 50 mK for 5 minutes."
- "Step the sample from 10 K to 300 K in 10 K steps and tell me when each step is stable." (with
max_setpoint_khigh enough) - "What are the PID settings on loop 1? Reduce P to 30 and keep I and D."
- "Something's wrong - turn all heaters off."
Notes
- Setting a setpoint does not start heating; the heater range does. With a range above 0 an output heats as its PID loop demands (closed loop) or at the manual output (open loop). Output modes and control inputs are configured on the front panel; the server does not change them, since pointing a loop at the wrong sensor can cause a thermal runaway.
- Setpoints are always given in kelvin.
SETPuses the preferred units of the loop's control input: the server converts for Celsius and refuses when the input is set to sensor units. - Every command is followed by
*ESR?; command (CME) and execution (EXE) errors are reported instead of being ignored. The server leaves at least 50 ms between messages, as the manuals require (--option min_interval_s=). get_heater_statusreadsHTRST?, which clears a latched heater open/short error on the controller.wait_for_stable_temperatureneeds the setpoint to have stopped ramping (RAMPST?) as well as the temperature to be in tolerance.all_heaters_offstops a running wait.all_heaters_offsendsRANGE n,0to every output and reads it back, like the front-panel All Off key. Every output is tried even if another fails;all_offis true only when every output read back as off. It does not change setpoints or output modes. Consider also setting a hardware temperature limit (TLIMIT, front panel) as a last line of defence.- The 3062 scanner option (inputs D1-D5), zone tables, autotune, curves, alarms and relays are not exposed. The Model 372 AC resistance bridge was not verified and is refused at connect time.
Hardware verification
來源:servers/physics/lakeshore-temperature/README.md,提交 46545ea
工具
0版本歷史
2- v0.1.3最新Sep 27, 2026
- v0.1.1Sep 26, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分