
asem-d/arcgis-portal-mcp
Analytics & monitoringЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Open-source MCP server for ArcGIS Portal and ArcGIS Online
Обзор
81 tools for ArcGIS Enterprise Portal and ArcGIS Online. A Model Context Protocol (MCP) server that gives AI assistants direct access to your ArcGIS content. Search, inspect, edit, publish, and admin through natural language. Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP-compatible client. This is an independent open-source project. Not affiliated with, endorsed by, or sponsored by Esri. "ArcGIS" is a registered trademark of Esri. - : upload_item now uses the correct /addItem endpoint, and publish_from_item sends the exact wire format ArcGIS expects (fileType, lowercase itemid, user GUID in the publish URL). On Enterprise 12.x the old code returned "success" but the hosted service was never created on ArcGIS Server. - : publish a CSV without a layerInfo and the field schema is auto-generated from your headers and first data row, including lat/lon coordinate detection. ArcGIS silently fails CSV publish without it.
README
Показан фрагмент оригинального README. Открыть оригинал.
arcgis-portal-mcp
v1.15.0. 81 tools for ArcGIS Enterprise Portal and ArcGIS Online.
A Model Context Protocol (MCP) server that gives AI assistants direct access to your ArcGIS content. Search, inspect, edit, publish, and admin through natural language.
Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP-compatible client.
Disclaimer: This is an independent open-source project. Not affiliated with, endorsed by, or sponsored by Esri. “ArcGIS” is a registered trademark of Esri.
What’s new in v1.14.0
- Publishing fixed for ArcGIS Enterprise 12.x:
upload_itemnow uses the correct/addItemendpoint, andpublish_from_itemsends the exact wire format ArcGIS expects (fileType, lowercaseitemid, user GUID in the publish URL). On Enterprise 12.x the old code returned “success” but the hosted service was never created on ArcGIS Server. - CSV publish just works: publish a CSV without a
layerInfoand the field schema is auto-generated from your headers and first data row, including lat/lon coordinate detection. ArcGIS silently fails CSV publish without it.
What’s new in v1.13.0
- Enterprise search fix:
search_items("*")now works on Enterprise portals. Automatically falls back to an access-based query when the literal*returns 0 items. - System content filtering:
portal_inventorynow excludes Esri system accounts (esri_*,portaladmin) by default, giving you accurate counts of your organization’s actual content. Passexclude_system_content=falseto include system content.
What’s new in v1.12.0
portal_inventory: scan portal content with item counts by type, owner, age, and storage. Get a bird’s-eye view of your organization’s content.bulk_reassign_ownership: transfer content ownership between users in bulk. Essential for offboarding and team changes.- `offboard_user: offboard a user by transferring their content and removing them from groups.
- AGOL fix:
portal_inventorynow correctly queries ArcGIS Online organizations (was returning 0 items). - Reliable auto-connect: credentials are always read fresh from
.env, fixing stale-auth issues after gateway restarts.
What’s new in v1.11.1
- Enterprise search fix:
search_items("*")now works on Enterprise portals that requirecontentStatus=all - Auto-reconnect: token expiry during long operations (stale scan, broken refs) triggers automatic re-auth
- Faster broken-ref scanning: HEAD requests instead of GET, falls back on 405
- Better error diagnostics:
admin_requesterrors includehttp_statuscode;server_statusshows auth method and token expiry find_stale_itemsoptimization: only fetches full item details for governance checks on items already classified stale- Consistent field naming:
full_nameeverywhere (wasfullnameinget_user_details) portal_healthnow showsportal_urlandconnected_as
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"arcgis-portal": {
"command": "python",
"args": ["-m", "arcgis_portal_mcp.server"],
"cwd": "/path/to/arcgis-portal-mcp"
}
}
}