RN

royerlab/napari-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

47 stars 7 forks 品質 65 トレンド 0BSD-3-Clause

royerlab/napari-mcp は [https://github.com/royerlab/napari-mcp.] からインポートされた MCP サーバーの候補です

概要

royerlab/napari-mcp は [https://github.com/royerlab/napari-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

モデルコンテキストプロトコル(MCP)を介してナパリビューアのリモートコントロールのためのMCPサーバー。 Claude デスクトップや他の LLM アプリケーションで AI 支援顕微鏡解析に最適です。

[https://github.com/user-attachments/assets/d261674c-9875-4671-8c60-a7f49d6f1b84]

OST クイックスタート(3ステップ)

##1. パッケージのインストール

##2. AIアプリケーションの自動構成

##3. アプリケーションを再起動し、使用を開始

AIアプリを再起動し、準備完了です! お問い合わせ:

→ 詳細なガイドのための完全な文書を参照してください

🔌 napari プラグインとして使用

napari-mcp は、実行中の napari セッションとの直接統合のために、napari プラグイン として使用できます。

1。通常、napariを開始します:[napari 2.ウィジェットを開く: プラグイン → napari-mcp: MCP サーバー制御 3。「Start Server」をクリックします AIアシスタントに現在のセッションを公開するには 4。**標準インストーラを使用してAIアプリを接続します。[napari-mcp-install install ]

このモードは、AIアシスタントが新しいビューアを起動するのではなく、**現在のnapariセッションを制御することを可能にします。 既存のワークフローとの統合に最適!

→ 詳細な手順のプラグインガイドを参照してください

できること

##基本画像解析

高度なワークフロー

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Napari MCP Server

MCP server for remote control of napari viewers via Model Context Protocol (MCP). Perfect for AI-assisted microscopy analysis with Claude Desktop and other LLM applications.

https://github.com/user-attachments/assets/d261674c-9875-4671-8c60-a7f49d6f1b84

🚀 Quick Start (3 Steps)

1. Install the Package

pip install napari-mcp

2. Auto-Configure Your AI Application

# For Claude Desktop
napari-mcp-install install claude-desktop

# Include a napari GUI backend in the uv environment
napari-mcp-install install claude-desktop --backend pyqt6

# For other applications (Claude Code, Cursor, Cline, etc.)
napari-mcp-install install --help  # See all options

3. Restart Your Application & Start Using

Restart your AI app and you’re ready! Try asking:

"Can you call session_information() to show my napari session details?"

→ See Full Documentation for detailed guides

🔌 Using as a napari Plugin

napari-mcp can also be used as a napari plugin for direct integration with a running napari session:

  1. Start napari normally: napari
  2. Open the widget: Plugins → napari-mcp: MCP Server Control
  3. Click “Start Server” to expose your current session to AI assistants
  4. Connect your AI app using the standard installer: napari-mcp-install install

This mode enables AI assistants to control your current napari session rather than starting a new viewer. Perfect for integrating with existing workflows!

→ See Plugin Guide for detailed instructions

🎯 What Can You Do?

Basic Image Analysis

"Load the image from ./data/sample.tif and apply a viridis colormap"
"Create point annotations at coordinates [[100,100], [200,200]]"
"Take a screenshot and save it"

Advanced Workflows

"Execute this code to create a filtered version:
from scipy import ndimage
filtered = ndimage.gaussian_filter(viewer.layers[0].data, sigma=2)
viewer.add_image(filtered, name='filtered')"

"Install scikit-image and segment the cells in this microscopy image"

3D/4D Navigation

"Switch to 3D display mode"
"Navigate to time point 5, Z-slice 10"
"Create a rotating animation of this volume"

Automated Workflows

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →