NINA Astrophotography Control
STDIOInterface for AI agents to control astrophotography setup using N.I.N.A software.
Interface for AI agents to control astrophotography setup using N.I.N.A software.
Interface for AI agents to use your astrophotography setup using N.I.N.A (Beta)
A powerful interface for controlling N.I.N.A. (Nighttime Imaging 'N' Astronomy) software through its Advanced API NINA Advanced API . This Model Context Protocol Server (MCP) enables AI agents to interact with NINA using tools, providing new way to interact with your setup. Usage with your own responsibility.
Complete Equipment Control for AI agents
AI Integration
**Most of the NINA advanced API v2 api interface endpoints supported
uv
package managerInstall NINA Advanced API Plugin
# Install the plugins in NINA # Enable and configure in NINA settings
Clone Repository
git clone https://github.com/PaDev1/Nina_advanced_api_mcp.git cd nina-mcp
Set Environment Variables
# Create .env file NINA_HOST=your_nina_host NINA_PORT=1888 LOG_LEVEL=INFO IMAGE_SAVE_DIR=~/Desktop/NINA_Images
Add to your AI agent's MCP configuration:
{ "mcpServers": { "nina_advanced_mcp_api": { "command": "uv", "args": [ "run", "--with", "fastmcp,fastapi,uvicorn,pydantic,aiohttp,requests,python-dotenv", "fastmcp", "run", "path/nina_advanced_mcp.py" ], "env": { "NINA_HOST": "NINA_IP", "NINA_PORT": "1888", "LOG_LEVEL": "INFO", "IMAGE_SAVE_DIR": "~/Desktop/NINA_Images" } } } }
- "Take a 30-second exposure of M31" - "Connect all equipment and start cooling the camera to -10°C" - "Start a sequence targeting NGC 7000" - "Get the current equipment status"
Contributions are welcome! Please read our Contributing Guidelines first.
Found a bug? Please open an issue with:
This project is licensed under the MIT License - see the LICENSE file for details.