Skip to main content
MCP server CX Codex

Micro-Manager Microscope — Claude Code MCP server: install

This MCP server connects an agent to microscopes running Micro-Manager. Use it to capture images, adjust stage and focus, switch configuration groups, or collect image sequences.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio micro-manager -- uvx labmcp-micro-manager
Open on GitHub

What Micro-Manager Microscope does

The server talks to Micro-Manager through MMCore and pymmcore-plus. An agent can inspect device and position details, set exposure, change configuration groups, operate the shutter, move the XY stage or focus drive, run autofocus, and collect z-stacks or time-lapse images. Acquisitions are saved as multi-page TIFF files.

To connect real equipment, prepare a Micro-Manager .cfg file and device adapter libraries compatible with the installed pymmcore build. Camera vendor drivers and SDKs are installed separately. Close the Micro-Manager application before connecting, since a device cannot be opened by two programs at once. Check the configured motion limits before issuing movement commands.

Testing has covered a simulated microscope and pymmcore-plus test devices; real hardware has not been verified. To try the simulation, run uvx labmcp-micro-manager --simulate --check. With --read-only, the agent can inspect settings and positions but cannot acquire images or move equipment.

What it helps with

  • capture an image from a connected microscope
  • collect a z-stack around the current focus
  • save a time-lapse acquisition as TIFF
  • inspect stage and focus positions
  • change the active channel or objective preset

Example prompts for the agent

  • Inspect the connected microscope, its devices, current position, and motion limits.
  • Collect a z-stack around the current focus and save it as TIFF.
  • Acquire a time-lapse at the current position and report the intensity change.

How to install Micro-Manager Microscope

Platform CLI

claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio micro-manager -- uvx labmcp-micro-manager

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-micro-manager <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Micro-Manager Microscope

How do I install Micro-Manager Microscope in Claude Code?

Run claude mcp add labmcp-micro-manager -- uvx labmcp-micro-manager. This registers the MCP server and launches it with uvx.

What does Micro-Manager Microscope do?

It lets an agent inspect and control a Micro-Manager microscope, including camera exposure, stage and focus movement, shutter operation, and image acquisition.

Has Micro-Manager Microscope been tested on physical hardware?

It has been tested with a simulator and pymmcore-plus test devices. Testing on real microscope hardware has not been verified.

Similar MCP servers

Everything for Science and research →

From the same set15

Ocean Insight Spectrometer Connect an Ocean Insight spectrometer to an AI agent to capture spectra and measure absorbance or transmittance. A simulator lets you try the server before connecting hardware. CX Codex +1 ★ 23repo stars NI-DAQmx DAQ Devices An MCP server that hands an AI agent control over National Instruments hardware through the NI-DAQmx driver: voltage and thermocouple reads, digital line reads, analog and digital writes. CX Codex +1 ★ 23repo stars LC-MS Worklist Builder Builds and checks LC-MS sample queues, then writes files for import into vendor software. Use it to prepare a run list without starting an acquisition. CX Codex +1 ★ 23repo stars Mass Spectrometry Data (mzML, Bruker TDF, vendor conversion) Lets an agent browse LC-MS runs, plot chromatograms, pull spectra, locate MS2 scans by precursor m/z and run a quick QC. CX Codex +1 ★ 23repo stars Keithley SourceMeter SMU Lets an agent drive a SourceMeter SMU: set a source level with a compliance cap, take V and I readings, run stepped IV sweeps. Useful when the instrument sits on a bench. CX Codex +1 ★ 23repo stars IKA Hotplate & Overhead Stirrer Control IKA heating and stirring equipment through NAMUR commands, and read temperatures, speed, and torque. Useful for monitoring or changing a connected stirrer from an agent. CX Codex +1 ★ 23repo stars EPICS Channel Access Gives an agent access to EPICS process variables: read them, watch them change, and write when you allow it. Built for accelerator and lab control systems. CX Codex +1 ★ 23repo stars BrainFlow Biosensing Boards Connect an AI agent to BrainFlow-compatible biosensing boards to stream, record, and inspect signals. Try the simulated mode before connecting a board. CX Codex +1 ★ 23repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor