JM

jenkinsm13/metashape-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

36 stars 4 forks 质量 76 趋势 16MIT

AI驱动的摄影测量自动化——Agisoft Metashape Professional 2.3+的MCP服务器。通过自然......

概览

一个全面的模型上下文协议(MCP)服务器,提供 .106 个工具、10 个资源和 6 个提示,涵盖完整的摄影测量流程——从照片对准到 3D 模型导出——通过自然语言通过 Claude、Claude Code 或任何兼容 MCP 的 AI 助手实现。 这个MCP服务器内嵌在Metashape的Python环境中,并展示可调用的AI工具。你无需手动点击菜单,只需描述所需内容,AI就会执行完整的工作流程: - — 导入照片、对准相机、构建密集点云、生成 DEM 和正交镶嵌图 - — 物体扫描、文物数字化、遗产文献 - 地面分类、网格生成、纹理映射 - 地面控制点和编码标记的测量级精度 - OBJ、PLY、FBX、TIFF、LAS 及所有支持的 Metashape 格式 - — 在 Metashape 网络处理集群上提交和监控作业 - 覆盖摄影测量流程各阶段的15个模块——用于......

概述(AI 翻译)

一个全面的模型上下文协议(MCP)服务器,为Agisoft Metashape Professional带来AI驱动的自动化。106个工具、10个资源和6个提示,涵盖完整的摄影测量流程——从照片对齐到3D模型导出——通过自然语言通过Claude、Claude代码或任何兼容MCP的AI助手实现。

利用人工智能处理无人机调查、构建3D模型、生成DEM、制作正交模型,并导出可生产的交付物——全部通过对话实现。

这会带来什么

该MCP服务器嵌入Metashape的Python环境内,将整个摄影测量处理流程作为AI调用工具展示。你无需手动点击菜单,只需描述所需内容,AI即可执行完整的工作流程:

  • 无人机航空测量处理 — 导入照片、对准相机、构建密集点云、生成DEM和正交大相图
  • 近距离三维重建——物体扫描、文物数字化、遗产文献
  • 地形与表面建模 — 地面分类、网格生成、纹理映射

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Metashape MCP Server — AI-Powered Photogrammetry Automation

A comprehensive Model Context Protocol (MCP) server that brings AI-powered automation to Agisoft Metashape Professional. 106 tools, 10 resources, and 6 prompts covering the full photogrammetry pipeline — from photo alignment to 3D model export — using natural language through Claude, Claude Code, or any MCP-compatible AI assistant.

Use AI to process drone surveys, build 3D models, generate DEMs, create orthomosaics, and export production-ready deliverables — all through conversation.

What This Does

This MCP server runs embedded inside Metashape’s Python environment and exposes the entire photogrammetry processing pipeline as AI-callable tools. Instead of manually clicking through menus, you describe what you want and the AI executes the full workflow:

  • Drone aerial survey processing — import photos, align cameras, build dense point clouds, generate DEMs and orthomosaics
  • Close-range 3D reconstruction — object scanning, artifact digitization, heritage documentation
  • Terrain and surface modeling — ground classification, mesh generation, texture mapping
  • GCP and marker workflows — survey-grade accuracy with ground control points and coded markers
  • Batch export — OBJ, PLY, FBX, TIFF, LAS, and all Metashape-supported formats
  • Network processing — submit and monitor jobs on Metashape network processing clusters

Features

  • 106 tools across 15 modules covering every stage of the photogrammetry pipeline
  • 10 resources for real-time project state inspection
  • 6 prompts for guided workflows (aerial survey, close-range, diagnostics)
  • Runs natively inside Metashape’s embedded Python 3.12
  • Streamable HTTP transport (default http://127.0.0.1:8765, port is user-configurable via startup script or METASHAPE_MCP_PORT env)
  • Stdio proxy for Claude Code with no timeout limits on long operations
  • Progress reporting for dense cloud, mesh, and texture generation
  • Full coordinate reference system (CRS/EPSG) support
  • Non-blocking UI — the Metashape GUI stays fully interactive while the AI processes in the background
  • Headless mode — run without GUI on remote servers, VMs, or CI pipelines for automated processing

Tool Categories

Module Tools Capabilities
project 12 Create, open, save projects; manage/merge/align/duplicate chunks; GPU/CPU config; processing status
在 GitHub 查看完整 README

安装

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

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "metashape": { "command": "python", "args": ["-m", "metashape_mcp.proxy"], "env": { "PYTHONPATH": "C:/path/to/metashape-mcp/src" } } } }