
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 分