
Micro-Manager Microscope
io.github.K-Dense-AI由 GitHub 账号 K-Dense-AI 发布v0.1.3更新于 Oct 24, 2026
MCP server for microscopes controlled by Micro-Manager (pymmcore-plus).
发布方自己的服务:Mu
概览
让助手控制 Micro-Manager 显微镜:拍摄图像、执行 Z 层扫描和时间序列、移动载物台与对焦、切换通道和物镜。
- 可以做什么
- 通过 pymmcore-plus 封装 Micro-Manager 的 MMCore 设备层,使助手可以驱动任何带 Micro-Manager 设备适配器的显微镜。工具涵盖成像(snap_image、acquire_z_stack、acquire_time_lapse)、运动(move_stage_xy、move_z、autofocus)、光学与光源(set_config、set_objective、set_exposure、set_shutter),以及只读的设备、位置、配置组和原始命令日志查询。安全工具可停止载物台并关闭快门。图像保存为 TIFF 文件,工具返回统计信息和小尺寸预览。
- 适用场景
- 当你希望助手操作由 Micro-Manager 控制的显微镜完成常规成像时使用:拍摄视野、Z 层扫描、时间序列、自动对焦、切换通道和物镜,或读取仪器状态。也可通过内置模拟器在无硬件的情况下使用,便于先试用提示词或测试流程。
- 运行要求
- 以 PyPI 包 labmcp-micro-manager(uvx)通过 stdio 在本地运行。需要 Micro-Manager 的 .cfg 硬件配置、版本匹配的设备适配器库(可用自带的 mmcore 命令安装,或指向已有的 Micro-Manager 安装),以及厂商相机 SDK/驱动。服务器占用设备期间必须关闭 Micro-Manager 应用。可选环境变量:LABMCP_ADDRESS、LABMCP_LIMITS、LABMCP_READ_ONLY、LABMCP_SIMULATE。未声明身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Micro-Manager Microscope,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Micro-Manager Microscope — MCP Server
Let an AI agent snap images, acquire z-stacks and time-lapses, move the stage and focus within limits you set, switch channels and objectives, set exposure, operate shutters and run autofocus on any microscope controlled by Micro-Manager, through its open device layer (MMCore) and pymmcore-plus.
Try it without hardware
The simulator is a widefield fluorescence microscope with a 512 x 512, 12-bit camera, an XY stage, a focus drive, a shutter, a DAPI / FITC / TRITC / Brightfield filter wheel, a 10x / 20x / 40x turret and a hardware autofocus, looking at a field of cell nuclei. Its images defocus with Z, scale with exposure, bleach with light dose, saturate at 4095 and carry shot and read noise, so focusing, exposure and bleaching behave like on a real microscope.
Connect your microscope
- Hardware configuration: create and test a
.cfgfile with Micro-Manager's Hardware Configuration Wizard (in the Micro-Manager app), including config groups for channels (usuallyChannel) and objectives (Objective) and a pixel-size calibration. Close the Micro-Manager app afterwards: a device can only be opened by one program. - Device adapters: pymmcore-plus needs Micro-Manager's device adapter libraries in a version that matches its
pymmcorebuild. Either download them with pymmcore-plus' own installer: or point to an existing Micro-Manager installation with--option mm_path=/path/to/Micro-Manager(it must be a build whose device interface matches pymmcore;mmcore infoshows the version). Vendor camera SDKs and drivers must be installed separately, as for Micro-Manager itself. - Test the connection:
--checkloads the configuration and prints the camera, stages and other device roles.
Add to your MCP client
Claude Code
Claude Desktop / Cursor / Windsurf (claude_desktop_config.json, .cursor/mcp.json, …)
Add --read-only to let the agent read positions and settings without imaging or moving anything (stop_stage and close_shutter stay available). For other clients, generate the snippet with uvx labmcp config micro-manager --address /path/to/MyScope.cfg --client vscode (also cursor, codex, claude-code).
Tools
get_connection_info, get_command_log and reconnect are built into every LabMCP server. get_command_log lists every state-changing MMCore call (setPosition(1502.0), setConfig('Channel', 'FITC'), snapImage(), ...).
Safety limits
Override at launch, e.g. --limit max_z_step_um=10 --limit max_frames=2000.
Soft limits (recommended): absolute stage bounds in micrometres, set with driver options. Find them by moving to the safe extremes in Micro-Manager (e.g. Z with the objective just below the coverslip) and reading the positions:
Every Z and XY move, every z-stack slice and every autofocus result is checked against the step limits and soft limits before anything moves (autofocus results are checked afterwards and undone if out of range).
Example prompts
- "What's on this microscope? List the channels and objectives, and the current position."
- "Switch to FITC, find an exposure that uses about half the camera's range without saturating, then snap an image and show me."
- "Autofocus, then take a z-stack from −10 to +10 µm in 1 µm steps in DAPI and FITC and tell me which slice is sharpest."
- "Move 500 µm to the right and snap a DAPI image; repeat three more times to make a row of four fields."
- "Record a time-lapse in TRITC every 30 s for 20 minutes and tell me how much the signal bleached."
- "Something is wrong — stop the stage and close the shutter."
Notes
- Objective crashes. Moving the focus drive toward the sample can drive the objective into the coverslip or dish.
get_position/get_system_inforeportfocus_direction(whether increasing Z moves the objective toward the sample, as declared by the device adapter; oftenunknown). Configurez_min_um/z_max_umfor every microscope you connect. - Objective changes (
set_objective) rotate the nosepiece and are marked as hazardous;set_configrefuses config groups whose names look like objective or turret groups (Objective,Nosepiece,Turret,Magnification,Lens). Other groups are applied as-is: if one of your presets moves hardware near the sample, name the group accordingly or leave it out of the configuration. - Light exposure. With auto-shutter on (the default), the light path only opens while the camera exposes.
set_shutter(open=True)leaves the sample lit untilclose_shutteris called. - Images are saved as TIFF files (ImageJ hyperstacks with pixel size, Z spacing and frame interval) in
save_path, or in--option data_dir=...(default: the system temp folder,labmcp-micro-manager/).save_pathmust end in.tif/.tiffand must not be a folder; it is checked before anything moves or is exposed. Existing files are never overwritten (a numeric suffix is added). Tools return statistics (min/max/mean/std, saturated fraction, a sharpness score) and a small contrast-stretched PNG preview, never the full image. - Acquisitions (
acquire_z_stack,acquire_time_lapse) snap image by image with the current camera settings; they do not use hardware-triggered sequencing, so they are slower than Micro-Manager's MDA engine but behave identically on every device.stop_stageorclose_shutteraborts them between frames; partial data is saved (an incomplete slice or timepoint is dropped). A z-stack returns the focus to its starting position unless it was aborted. An acquisition must fit in one tool call: one whose exposure time alone exceeds 3600 s is refused, and one that runs long because of stage, filter or camera overheads stops between slices/timepoints and reports why innote. Channels cannot come from an objective/turret group. - Autofocus uses the configured autofocus device (
fullFocus). Software autofocus plugins from the Micro-Manager Java app are not available. - pymmcore-plus is imported only when a real configuration is loaded, so
--simulateworks without Micro-Manager's native libraries.
Hardware verification
来源:servers/biology/micro-manager/README.md,提交 46545ea
工具
0版本历史
3- v0.1.3最新Sep 27, 2026
- v0.1.1Sep 26, 2026
- v0.1.0Sep 26, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Micro 集成

Mu
mu.micro官方发布者
Mu 是以单一 MCP 端点提供的个人助理运行时,为助手提供应用、博客、文档、书签、聊天、联系人、日程与归档等工具。

NEMO x402 Micro-Services
由 GitHub 账号 floortomproductions-droid 发布
远程按次付费网关,提供 34 个数据工具:站点/SEO 审计、天气、加密货币与 Polymarket 数据、YouTube、播客和招聘信息。

Myworker — 20 paid crypto & AI micro-APIs (x402)
由 GitHub 账号 princearies 发布
远程 MCP 服务器,提供 20 个付费的加密、DeFi、汇率、网页抓取与 AI 微服务,按次以 USDC 通过 x402 计费。

Skavio USDC Payment Verification & Proof MCP
eu.skavio
托管式 MCP 服务器,可查验与核对原生 USDC 转账、生成链上凭证 PDF、审计 DNS/TLS,并运行付费的文档、OCR 与音频任务。

x402 Micro Tollgate
由 GitHub 账号 kevin2003050666-coder 发布
自托管的 x402 收费网关,为你的 API 或 MCP 工具加上 USDC 微支付门槛,让智能体按次付费。