LUNA 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
LUNA是开源的MCP工具,支持LX200、OnStep和Temma2等设备的AI驱动控制器。它提供了MCP Server和Lua脚本功能,帮助用户轻松控制天文望远镜。
LUNA 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
LUNA是开源的MCP工具,支持LX200、OnStep和Temma2等设备的AI驱动控制器。它提供了MCP Server和Lua脚本功能,帮助用户轻松控制天文望远镜。
LUNA 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/OnStepNinja/LUNA
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"luna": {
"command": "npx",
"args": ["-y", "luna"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 LUNA 执行以下任务... Claude: [自动调用 LUNA MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"luna": {
"command": "npx",
"args": ["-y", "luna"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
MCP Server + Lua Scripting Engine on ESP32
Let Claude AI control your telescope, camera, and entire observatory — in plain language.
---
udp.* module (v5.9.3)http.get / http.put / http.post for ASCOM/Alpaca, NINA Advanced API, and Vixen STAR BOOK TENudp.begin / udp.connect / udp.write / udp.read / udp.close for Vixen Wireless Unit (v5.9.3)log.save() / log.load() enable stateful workflows without Claudeserial.query(), serial.write(), serial.read()---
---
-- LUNA Lua script: check weather, then start NINA sequence
local resp, code = http.get(
"http://192.168.x.x/api/v1/observingconditions/0/humidity", 2000)
if code == 200 then
local humidity = -- parse resp
if humidity < 80 then
http.post("http://192.168.x.x:1888/v2/api/sequence/start", "{}",
"application/json", 3000)
log.write("Sequence started. Humidity: " .. humidity .. "%")
else
notify.set("Humidity too high (" .. humidity .. "%). Imaging skipped.")
end
end
---
-- Serial control
serial.write(cmd)
serial.read(timeout_ms)
serial.query(cmd, timeout_ms)
-- HTTP (LAN only — ASCOM/Alpaca/NINA/Stellarium/Vixen STAR BOOK TEN)
http.get(url, timeout_ms)
http.put(url, body, content_type, timeout_ms)
http.post(url, body, content_type, timeout_ms) -- v5.9.2
-- UDP (Vixen Wireless Unit) -- v5.9.3
udp.begin(local_port)
udp.connect(host, port)
udp.write(data)
udp.read([timeout_ms])
udp.close()
-- Logging & data passing
log.write(message)
log.read([n]) -- n omitted = latest line
log.save() -- persist to flash
log.load() -- restore from flash
-- Hardware
hw.delay(ms)
hw.millis()
hw.free_heap()
hw.led(0 or 1)
-- Notify Claude
notify.set("message")
-- Script chaining
luna.run("next_script_name")
---
LUNA now controls NINA (Nighttime Imaging 'N' Astronomy) — the world's most popular free astrophotography software — directly via its HTTP API.
LUNA是一个有潜力的开源MCP工具,提供了AI驱动控制器和Lua脚本功能。然而,设备兼容性和脚本编写可能需要进一步的改进。
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
经综合评估,LUNA 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | LUNA |
| 原始描述 | 开源MCP工具:AI-driven telescope controller for LX200, OnStep, and Temma2. MCP Server + Lua o。⭐10 |
| Topics | esp32lualx200mcponstep |
| GitHub | https://github.com/OnStepNinja/LUNA |
收录时间:2026-05-24 · 更新时间:2026-05-30 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端