PP

pardovot/pixinsight-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

5 stars 3 forks Качество 82 Тренд 26MIT

MCP Сервер для управления обработкой астрофотографии PixInsight с помощью ИИ-помощников

Обзор

Сервер MCP, который позволяет ИИ-помощнику управлять PixInsight: открывать изображения, измерять их, запускать любой установленный процесс, считывать результаты обратно. PixInsight остается отзывчивым, пока он работает, поэтому вы можете смотреть и вмешиваться. Кросс-платформа: Windows, macOS и Linux. Работает любой клиент MCP. Это стоковый стио-сервер без клиентоспецифического кода. Claude Desktop, Cursor, Windsurf и все остальное, что требует mcp.json: В Windows, если клиент не может разрешить npx, используйте «команд»: «cmd» с «args»: [»/c», «npx», «-y», «@pardovot/pixinsight-mcp»]. Постройте и подпишите его из источника, см. Здание из источника ниже. Процесс Услуги > MCP Начните, затем попросите своего помощника перечислить ваши открытые изображения. Если он отвечает, вы связаны. Требуется PixInsight 1.9.4+ (двигатель V8), Node 18+ и клиент MCP.

Обзор (машинный перевод)

Сервер MCP, позволяющий ИИ-помощнику управлять PixInsight: открывать изображения, измерять их, запускать любые Установить процесс, прочитать результаты обратно. PixInsight остается отзывчивым, пока работает, поэтому вы можете Смотрите и вмешивайтесь.

Кросс-платформа: Windows, macOS и Linux.

##Установка

1. MCP-сервер Работает любой клиент MCP. Это стоковый стио-сервер без клиентоспецифического кода.

Клод Код:

Claude Desktop, Cursor, Windsurf и все остальное, что занимает 0:

Codex CLI, в ~/.codex/config.toml:

В Windows, если клиент не может разрешить npx, используйте "command": "cmd" [4].

2. Модуль PixInsight. Постройте и подпишите его из источника, см. Здание из источника ниже.

3. Начните. [[Т5]], затем попросите вашего помощника перечислить ваш Открытые изображения. Если он отвечает, вы связаны.

Требуется PixInsight 1.9.4+ (двигатель V8), Node 18+ и клиент MCP.

Инструменты

24 инструмента. Смелые несут работу.

| Категория | Инструменты [скрыто] [скрыто] | Исполнение | run_process, get_process_parameters, run_recipe*

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

PixInsight MCP

An MCP server that lets an AI assistant drive PixInsight: open images, measure them, run any installed process, read the results back. Everything runs in your own PixInsight session, so you can watch the work happen and take over between steps.

Install

First add the server to your MCP client. Any client works, this is a stock stdio server with no client specific code.

Claude Code:

claude mcp add pixinsight -- npx -y @pardovot/pixinsight-mcp

Claude Desktop, Cursor, Windsurf and anything else that takes an mcp.json:

{
  "mcpServers": {
    "pixinsight": { "command": "npx", "args": ["-y", "@pardovot/pixinsight-mcp"] }
  }
}

Codex CLI, in ~/.codex/config.toml:

[mcp_servers.pixinsight]
command = "npx"
args = ["-y", "@pardovot/pixinsight-mcp"]

On Windows, if a client cannot resolve npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "@pardovot/pixinsight-mcp"].

Then start PixInsight and ask your assistant to list your open images. If it answers, you are connected. Nothing is installed inside PixInsight.

Requires PixInsight 1.9.4 or later and Node 22 or later.

Tools

Category Tools
Processes run_process, get_process_parameters
Images list_open_images, open_image, save_image, close_image, get_image_statistics
Measurement get_noise, get_background_gradient, get_background_neutrality, get_star_metrics, get_structure_color
Rendering render_view
History get_history, get_full_history, undo, redo, snapshot, restore
Instances list_instances, use_instance, start_instance
Export export_container

run_process runs any process by class name, third party ones included, so a newly installed tool needs nothing added here. Calls that hit a verified tool defect (a parameter that does nothing, a setting that hangs PixInsight) are refused with what to do instead, see src/facts/facts.ts.

With processId Script it runs a script instead, named as in the Script menu or by file path, through the script’s own code and with no user interaction. inspect lists the script’s dialog with its controls and buttons, controls sets them by name or label (an image picker takes a view id, a color box #RRGGBB, a list the items to check), and button clicks one, or else the dialog’s own OK button is clicked so its handler reads the settings. dialogs gives settings per dialog for scripts that open more than one. parameters reach scripts that read them like a script instance dropped on the view. answers picks the button for message boxes by a fragment of their text, others get their first button, and file pickers are cancelled, all reported back. A script that keeps asking for something the run cannot give is stopped. Windows a script opens stay open and are listed in the result. arguments are the script’s command line arguments, which lets a script with

Открыть полный README на GitHub

Установка

npx -y @pardovot/pixinsight-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "pixinsight": { "command": "npx", "args": ["-y", "@pardovot/pixinsight-mcp"] } } }