Tecan Cavro Syringe Pump

io.github.K-Dense-AI由 GitHub 帳號 K-Dense-AI 發布v0.1.3更新於 Oct 24, 2026

MCP server for Tecan Cavro syringe pumps (XLP 6000, XMP 6000, XCalibur) over the DT protocol.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

此 MCP 伺服器讓助理透過 DT 協定控制 Tecan Cavro 注射泵:初始化、吸液、排液、切換閥口與停止。

可以做什麼
初始化泵、歸位閥門,並在斷電重啟或重新插線後重新連線;提供終止指令立即停止柱塞運動(之後需重新初始化)。依指定流速經由目前或指定閥口吸取與排出設定的微升體積,並等待每次動作完成。將閥門切換到具名或編號埠。讀取狀態:就緒或忙碌、解碼後的錯誤、柱塞內液體體積、閥位、解析度模式與最高速度。檢視連線身分、唯讀狀態與生效的安全限制,並查閱原始指令日誌以利除錯或記錄。
適用情境
適合讓助理在實驗台上操作 Cavro XLP 6000、XMP 6000 或 XCalibur 泵進行預充、樣品轉移或小體積分注,也適合先在内建模擬器上試用流程再接觸實體硬體。
執行需求
以 Python 套件(labmcp-cavro,透過 uvx 啟動)在本機經 stdio 執行。需要與泵的序列埠或序列轉乙太網路連線,透過 LABMCP_ADDRESS 或 --address 指定。實體硬體上必須以選項提供注射器體積與泵型號(或每行程步數)。LABMCP_SIMULATE=1 使用內建模擬器,無需硬體;LABMCP_READ_ONLY=1 停用會改變狀態的工具;LABMCP_LIMITS 可覆寫安全限制。
安裝前請注意
吸液、排液、初始化與切換閥門會實際移動液體與閥門;初始化會把注射器內容物排出,應先將閥口接到廢液。此伺服器僅經模擬器測試,尚未在實體硬體上驗證。終止指令不會停止進行中的閥門動作,且之後必須重新初始化。安全限制(max_volume_ul、max_flow_ul_s)預設 5000 µL 與 500 µL/s;僅需查看狀態時使用 LABMCP_READ_ONLY。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tecan Cavro Syringe Pump,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Tecan Cavro Syringe Pump — MCP Server

Let an AI agent initialize, aspirate and dispense microlitre volumes at set flow rates, switch valve ports and stop Tecan Cavro OEM syringe pumps through the documented Cavro Data Terminal (DT) protocol.

Packagelabmcp-cavro
InstrumentsCavro XLP 6000, Cavro XMP 6000, Cavro XCalibur (with 3-port, 4-port or distribution valves, or valveless)
InterfacesRS-232, RS-485 (with an RS-485 adapter), serial-to-Ethernet adapters
ProtocolCavro DT protocol (XLP 6000 Operating Manual, 734237-C, chapter 3 and appendix G); step resolution per Tecan XCalibur / XMP 6000 specifications
Status🧪 simulated: tested against a wire-level simulator, not yet verified on hardware. Report a hardware test

Try it without hardware

bash
uvx labmcp-cavro --simulate --check

The simulator is an XLP 6000 with a 1 mL syringe and a 3-port valve. Moves take real time; add --option sim_speed=10 to speed it up.

Connect your pump

  1. Pump setup: set the address switch (switch 0 is DT address 1, switch 1 is 2, … switch 8 is 9, switches 9–E are : ; < = > ?). The pump detects DT versus OEM protocol from the first message after power-up. The default is 9600 baud, 8N1; 38400 baud is selected with the U47 configuration command.
  2. Tell the server what is installed. The pump cannot report its syringe, so these options are required on real hardware:
    • --option syringe_ul=1000: syringe volume in µL.
    • --option model=xlp6000 (or xmp6000, 6000 increments per stroke; xcalibur, 3000). For another DT-compatible pump, give --option steps_per_stroke=<increments per full stroke in standard mode> instead.
    • Optional: --option resolution=fine (N1, 8× finer volume steps; applied by initialize) and --option pump_address=2.
  3. Find the port: uvx labmcp ports
  4. Test the connection:
    bash
    uvx labmcp-cavro --address /dev/ttyUSB0 --option syringe_ul=1000 --option model=xcalibur --checkuvx labmcp-cavro --address COM3 --option syringe_ul=500 --option model=xlp6000 --check
    Non-default baud rates go in the address: serial://COM3?baudrate=38400.

Add to your MCP client

Claude Code

bash
claude mcp add cavro -- uvx labmcp-cavro --address /dev/ttyUSB0 --option syringe_ul=1000 --option model=xcalibur

Claude Desktop / Cursor / Windsurf (claude_desktop_config.json, .cursor/mcp.json, …)

json
{  "mcpServers": {    "cavro": {      "command": "uvx",      "args": ["labmcp-cavro", "--address", "/dev/ttyUSB0",               "--option", "syringe_ul=1000", "--option", "model=xcalibur"]    }  }}

Add --read-only to allow status reads but block every move.

Tools

ToolKindDescription
aspirate_ul⚠️ hazardDraw volume_ul into the syringe at flow_ul_s through the current (or given) valve port, and wait until the move has finished. The pump must be initialized and have room for the volume.
dispense_ul⚠️ hazardPush volume_ul out of the syringe at flow_ul_s through the current (or given) valve port, and wait until the move has finished. The syringe must contain at least that volume.
get_command_log👁 readReturn the most recent raw commands sent to / replies received from the instrument (newest last). Useful for debugging and for recording what was done.
get_connection_info👁 readReport which instrument is connected (identity, address, simulated or real), whether the server is read-only, and the active safety limits. Call this first.
get_status👁 readReport whether the pump is ready or busy, any error (decoded), the plunger position as the volume in the syringe, the valve position, resolution mode and current top speed.
initialize⚠️ hazardInitialize the pump: drive the plunger to the top of the syringe (expelling its contents through the valve), set that as position 0 and home the valve. Needed after power-up, a plunger overload or terminate. Route the valve output to waste first. Takes a few seconds.
reconnect🛑 safetyClose and re-open the connection to the instrument (e.g. after it was power cycled or a cable was re-plugged).
set_valve⚠️ hazardTurn the valve to a named position (3/4-port valves) or to a numbered port (distribution valves). In bypass the plunger cannot move. Returns the new status.
terminate🛑 safetyStop any plunger move, loop or delay immediately (DT command T). A valve move in progress still completes. Re-initialize afterwards: the plunger may have lost steps.

Safety limits

LimitDefaultMeaning
max_volume_ul5000 µLLargest volume one aspirate_ul/dispense_ul may move
max_flow_ul_s500 µL/sHighest plunger flow rate an agent may use

Override at launch: --limit max_flow_ul_s=50. Independently of the limits, the server refuses moves that would overfill or over-empty the syringe, and flows the pump cannot produce with the installed syringe (top speed 5–6000 pulses/s).

Example prompts

  • "Initialize the pump, then prime it: aspirate 1 mL from the input port and dispense it to the output port, three times."
  • "Aspirate 150 µL of sample slowly (20 µL/s) from port 3 and dispense 50 µL into port 5."
  • "How much liquid is in the syringe right now and which port is the valve on?"
  • "The pump reported a plunger overload. What does that mean and what should I check?"
  • "Stop the pump now."

Notes

  • Conversion. Steps = volume × steps-per-stroke ÷ syringe volume, where steps-per-stroke is 6000 (XLP/XMP) or 3000 (XCalibur) in standard mode and 8× that in fine-positioning mode (N1). The mode is read from the pump (?28) before every move. Top speed V = flow × 6000 ÷ syringe volume: on all three models a full stroke is 6000 speed pulses in N0/N1. For the XCalibur this is derived from Tecan's published 1.2 s–20 min per stroke, not from its operating manual; please confirm on hardware.
  • Busy/ready is read only from Q, as the manual requires. Invalid commands are reported immediately; invalid operands (e.g. a move past the end of the syringe) are reported by the next Q, and the server turns both into clear errors.
  • Initialization force is chosen from the syringe size (full ≥ 1 mL, half for 250/500 µL, third for 50/100 µL; manual table 3-6) unless you pick one.
  • terminate sends T without R: in the DT command set R resumes a terminated string. T does not stop a valve move in progress. Re-initialize after terminating. If a move or initialization is still busy well past its expected duration (1.5× + 10 s), or the link fails while waiting, the server sends T itself instead of leaving the plunger moving.
  • The server does not use microstep mode (N2), the OEM protocol (checksums, sequence numbers) or CAN.
  • Cavro Centris has a different resolution (181,490 increments per stroke) and volume-based firmware commands that we could not verify, so it is not supported. XE 1000 and older XL/XP 3000 pumps may work with --option steps_per_stroke=…, but they are untested.

Hardware verification

ModelFirmwareInterfaceVerified byDate
none yet: be the first

來源:servers/biology/tecan-cavro-pump/README.md,提交 46545ea

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v0.1.3最新Sep 27, 2026
  2. v0.1.1Sep 26, 2026
  3. v0.1.0Sep 26, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分