Metashape
AI-powered photogrammetry automation — MCP server for Agisoft Metashape Professional 2.3+. Control the full pipeline (alignment, dense cloud, mesh, texture, DEM, orthomosaic, export) using natural language through Claude or any MCP-compatible AI assi
What is Metashape?
Metashape is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ai-powered photogrammetry automation — mcp server for agisoft metashape professional 2.3+. control the full pipeline (alignment, dense cloud, mesh, texture, dem, orthomosaic, export) using natural lan...
AI-powered photogrammetry automation — MCP server for Agisoft Metashape Professional 2.3+. Control the full pipeline (alignment, dense cloud, mesh, texture, DEM, orthomosaic, export) using natural language through Claude or any MCP-compatible AI assi
This server falls under the Cloud Services and Data Science & ML categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- AI-powered photogrammetry automation — MCP server for Agisof
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx metashapeConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Metashape
Metashape MCP Server bridges Agisoft Metashape Professional 2.3+ with any MCP-compatible AI assistant, exposing 106 tools across 15 modules that cover the full photogrammetry pipeline: photo import, SfM alignment, MVS dense cloud generation, mesh construction, texture mapping, DEM and orthomosaic production, and multi-format export (GeoTIFF, OBJ, PLY, LAS/LAZ, Cesium 3D Tiles). The server runs inside Metashape's Python environment and communicates with Claude or other clients through a FastMCP proxy, allowing you to drive complex drone survey and 3D reconstruction workflows entirely through natural language commands.
Prerequisites
- Agisoft Metashape Professional 2.3 or later (licensed copy)
- Python accessible to Claude Code or Claude Desktop (for the FastMCP proxy)
- FastMCP 2.0+ installed in the Python environment Claude uses: pip install 'fastmcp>=2.0.0'
- An MCP-compatible client: Claude Code (recommended) or Claude Desktop
- The metashape-mcp repository cloned locally
Clone the repository
Clone the metashape-mcp repository to your local machine. All dependencies auto-install on first run inside Metashape.
git clone https://github.com/jenkinsm13/metashape-mcp.git
cd metashape-mcpInstall FastMCP in the Python environment used by your MCP client
The proxy component that bridges your MCP client to the Metashape server requires FastMCP 2.0+. Install it in the Python that Claude Code or Claude Desktop will use.
pip install "fastmcp>=2.0.0"Start the MCP server inside Metashape
There are three ways to start the server. The easiest is to copy start_mcp_server.py to Metashape's auto-run scripts folder so it launches automatically with Metashape.
# macOS auto-start path:
# ~/Library/Application Support/Agisoft/Metashape Pro/scripts/
# Windows auto-start path:
# C:\Users\<user>\AppData\Local\Agisoft\Metashape Pro\scripts\
# Or run manually via Tools > Run Script, selecting:
# scripts/start_mcp_server.pyConfigure the MCP port (optional)
By default the server listens on TCP port 8765. Override this with the METASHAPE_MCP_PORT environment variable before launching Metashape.
export METASHAPE_MCP_PORT=8765Configure Claude Code with the proxy
Add the metashape server to your .mcp.json (Claude Code project config), pointing to the proxy module and setting PYTHONPATH to the src directory.
{
"mcpServers": {
"metashape": {
"command": "python",
"args": ["-m", "metashape_mcp.proxy"],
"env": {
"PYTHONPATH": "/path/to/metashape-mcp/src"
}
}
}
}For Claude Desktop, use the HTTP transport
Claude Desktop can connect directly to the Metashape HTTP endpoint without the proxy. Ensure Metashape is running with the server active.
{
"mcpServers": {
"metashape": {
"url": "http://127.0.0.1:8765/mcp"
}
}
}Metashape Examples
Client configuration (Claude Code)
Add this to your project .mcp.json. Adjust PYTHONPATH to the actual location of your cloned metashape-mcp/src directory.
{
"mcpServers": {
"metashape": {
"command": "python",
"args": ["-m", "metashape_mcp.proxy"],
"env": {
"PYTHONPATH": "/Users/you/metashape-mcp/src"
}
}
}
}Prompts to try
Use these natural language prompts to drive the Metashape photogrammetry pipeline through your connected MCP client.
- "Import all geotagged drone photos from /data/survey and align them using high quality settings"
- "Process a complete aerial survey pipeline: align photos, generate dense cloud, DEM, and orthomosaic in EPSG:32633"
- "Reconstruct a 3D artifact: create project, add photos, align, dense cloud, mesh, texture, and export as OBJ"
- "Detect coded markers in the current chunk and import GCP coordinates from gcp.csv"
- "Export the orthomosaic as GeoTIFF with 2cm GSD"
- "Run the diagnose_alignment workflow to troubleshoot my camera alignment issues"Troubleshooting Metashape
Proxy cannot connect to Metashape — connection refused on port 8765
Ensure Metashape Professional is running and the start_mcp_server.py script has been executed inside it. Check that METASHAPE_MCP_PORT matches the port in your client config. Look at the Metashape console for any startup errors.
FastMCP import errors when starting the proxy
Run 'pip install fastmcp>=2.0.0' in the exact Python environment that Claude Code or Claude Desktop uses. If using a virtual environment, activate it first. Confirm with 'python -c "import fastmcp; print(fastmcp.__version__)"'.
Photo alignment fails or produces poor results
Use the built-in 'diagnose_alignment' guided workflow prompt via the MCP server — it will inspect tie-point statistics and suggest fixes. Ensure photos have sufficient overlap (>70% sidelap, >80% frontlap for aerial surveys) and that GPS tags are present.
Frequently Asked Questions about Metashape
What is Metashape?
Metashape is a Model Context Protocol (MCP) server that ai-powered photogrammetry automation — mcp server for agisoft metashape professional 2.3+. control the full pipeline (alignment, dense cloud, mesh, texture, dem, orthomosaic, export) using natural language through claude or any mcp-compatible ai assi It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Metashape?
Follow the installation instructions on the Metashape GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Metashape?
Metashape works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Metashape free to use?
Yes, Metashape is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Metashape Alternatives — Similar Cloud Services Servers
Looking for alternatives to Metashape? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Metashape in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Metashape?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.