New Era Syringe Pump

v0.1.2
io.github.K-Dense-AI/labmcp-new-era Checked 1 day ago Published 2 months ago

MCP server for New Era Pump Systems syringe pumps (NE-1000 family, RS-232).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_connection_info Get Connection Info

Report which instrument is connected (identity, address, simulated or real), whether the server is read-only, and the active safety limits. Call this first.

get_command_log Get Command Log

Return the most recent raw commands sent to / replies received from the instrument (newest last). Useful for debugging and for recording what was done.

ParameterTypeDescription
limitinteger

reconnect Reconnect

Close and re-open the connection to the instrument (e.g. after it was power cycled or a cable was re-plugged).

get_status Get Status

Report what the pump is doing (infusing/withdrawing/stopped/paused, alarms), the syringe diameter, rate, target volume, direction and the accumulated dispensed volumes.

list_syringe_presets List Syringe Presets

List the syringe inside diameters from the New Era manual's reference table (BD, Monoject, Terumo, HSW Norm-Ject, Poulten & Graf glass, stainless steel, SGE, Hamilton), with the NE-1000 rate range each allows. Use a name with `set_syringe`.

ParameterTypeDescription
containsstringOnly list presets whose name contains this text, e.g. 'BD'

set_syringe Set Syringe

Set the syringe inside diameter, either from a preset or a measured value. The pump must be stopped. Changing the diameter also resets the dispensed-volume accumulators and may switch the pump's volume units (µL below 14.0 mm, mL above).

ParameterTypeDescription
diameter_mmSyringe inside diameter in mm (overrides preset)
presetSyringe preset name from `list_syringe_presets`, e.g. 'BD 10 mL'

infuse Infuse

Push `volume_ml` out of the syringe at `rate_ml_min`, then stop. Returns as soon as pumping has started, with the estimated duration. Requires the correct syringe diameter (`set_syringe`) and a stopped pump. Overwrites phases 1-2 of the pump's stored Pumping Program.

ParameterTypeDescription
rate_ml_min *numberInfusion rate, in mL/min
volume_ml *numberVolume to infuse, in mL

withdraw Withdraw

Pull `volume_ml` into the syringe at `rate_ml_min`, then stop. Returns as soon as pumping has started. Make sure the syringe has room for the volume. Overwrites phases 1-2 of the pump's stored Pumping Program.

ParameterTypeDescription
rate_ml_min *numberWithdrawal rate, in mL/min
volume_ml *numberVolume to withdraw, in mL

get_dispensed_volume Get Dispensed Volume

Return the accumulated infused and withdrawn volumes (pump command DIS).

clear_dispensed_volume Clear Dispensed Volume

Reset the infused and withdrawn volume accumulators to zero. Only possible while stopped.

stop_pump Stop Pump

Stop the pump immediately (STP). A paused program is also cancelled so it cannot resume.