arcpro-mcp
Controls ArcGIS Pro, allowing inspection of projects, layers, attributes, coordinate systems, and execution of geoprocessing tasks and layout exports via natural language.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@arcpro-mcpList the layers on the active map."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
arcpro-mcp
Control ArcGIS Pro with natural language through the Model Context Protocol (MCP). Works with Cursor, Claude, and Codex — bring your own LLM, keep your data local.
arcpro-mcp lets an AI agent drive a live ArcGIS Pro session: inspect projects,
explore layers and attributes, check coordinate systems, and (soon) run geoprocessing
and build layouts — all from a chat prompt in your favorite MCP client.
Unlike Esri's built-in assistant, this is open source, connects to any LLM via your MCP client, and acts on your actual open session rather than only generating code.
Architecture
ArcGIS Pro hosts arcpy, and arcpy.mp.ArcGISProject("CURRENT") only works inside
the running app. So the MCP server (a separate process started by your client) talks to a
small bridge running in ArcGIS Pro's Python window over a local socket:
Cursor / Claude / Codex
│ stdio (MCP)
▼
arcpro-mcp (this package, separate process)
│ TCP socket, length-prefixed JSON (127.0.0.1:18748)
▼
arcpro_bridge.py (runs in ArcGIS Pro's Python window)
│ arcpy / arcpy.mp
▼
ArcGIS Pro (live session)Design choices vs. existing tools:
Socket, not file polling — lower latency, cleaner framing for big payloads.
Layered + tested —
src/package, dependency-free bridge, pytest, CI.Safety first — read-only by default; destructive tools ask for confirmation;
execute_pythonis off unless explicitly enabled; every call is audit-logged.Great UX — structured output, MCP resources, and live layer-name auto-complete.
Related MCP server: ArcGIS MCP Server
Requirements
ArcGIS Pro 3.x (provides
arcpy)Python 3.10+ for the MCP server (the
arcgispro-py3conda env works well)An MCP client: Cursor, Claude Desktop, or Codex
uvrecommended (or plainpip)
Install
git clone https://github.com/qiobn/arcpro-mcp
cd arcpro-mcp
uv sync # or: pip install -e .Usage
1. Start the bridge in ArcGIS Pro
Open ArcGIS Pro with a project, open the Python window, and run:
exec(open(r"C:/path/to/arcpro-mcp/bridge/arcpro_bridge.py").read())You should see [ArcPro MCP Bridge] Listening on 127.0.0.1:18748.
2. Configure your MCP client
See examples/mcp-config.example.json. For Cursor or
Claude Desktop:
{
"mcpServers": {
"arcgis-pro": {
"command": "uv",
"args": ["--directory", "C:/path/to/arcpro-mcp", "run", "arcpro-mcp"]
}
}
}3. Talk to it
"Ping ArcGIS Pro and tell me what's in the project." "List the layers, then show me the first 10 rows of the roads layer." "What's the coordinate system of C:/data/parcels.shp?"
Tools
Read-only
Tool | Description |
| Connectivity + project status |
| Project path, default GDB, maps |
| List files (confirm paths before loading) |
| Data type, geometry, extent, CRS |
| Feature classes in a workspace |
| Layers on the active map |
| Fields of a dataset/layer |
| Row count of a layer |
| Preview attribute rows |
| Distinct values of a field |
| Inspect workspace / layouts |
Write / map-modifying
Tool | Description |
| Add data to a map |
| Remove a layer (asks for confirmation) |
| Toggle / navigate |
| Map and project management |
| SQL-based selection |
| Set default GP workspace |
| Run any ArcPy tool by dotted name |
| Build and export print layouts (PDF/PNG/...) |
execute_python (arbitrary arcpy) exists but is disabled unless you set
ARCPRO_MCP_ALLOW_EXEC=1 in both the client env and the ArcGIS Pro env.
Configuration
Variable | Default | Description |
|
| Bridge host |
|
| Bridge port |
|
|
|
| (off) | Enable |
|
| Audit log path (empty to disable) |
|
| Server log level |
Safety
Read-only tools are annotated
readOnlyHintand are always safe.Destructive tools (coming next) require confirmation via MCP elicitation.
execute_pythonis opt-in and double-gated (client + bridge).Every requested operation is appended to an audit log for review/replay.
Roadmap
v0.1 — socket bridge, read-only tools, audit log, CI, tests
v0.2 — write tools (add/remove layer, selection, geoprocessing) with HITL confirm
v0.3 —
execute_pythonhardening, reflection middleware (CRS/units sanity), layouts & exportv0.4 — main-thread dispatch queue / optional .NET Add-In (QueuedTask) for rock-solid
arcpy.mpv1.0 — installer, multi-client docs, compound tool mode to cut tokens
License
MIT — see LICENSE.
Acknowledgements
Architecture informed by the excellent nkarasiak/qgis-mcp, jjsantos01/qgis_mcp, geo2004/MCP-ArcGISPro, and the safety patterns in gdal-mcp.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/qiobn/arcpro-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server