Metashape

v1.0.0Cloud Servicesstable

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

3d-reconstructionagisoftclaudedrone-mappingmcp
Share:
22
Stars
0
Downloads
0
Weekly
0/5

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

Automate photogrammetry workflows including 3D reconstruction and mesh generation.
Control Agisoft Metashape Professional through natural language commands.
jenkinsm13

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx metashape

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-mcp
2

Install 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"
3

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.py
4

Configure 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=8765
5

Configure 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"
      }
    }
  }
}
6

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.

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.

Quick Config Preview

{ "mcpServers": { "metashape": { "command": "npx", "args": ["-y", "metashape"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides