AD

asem-d/arcgis-portal-mcp

Analytics & monitoring

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

23 stars 4 forks 品質 89 トレンド 24MIT

ArcGISポータルとArcGIS Online用のオープンソースMCPサーバー

概要

ArcGIS Enterprise Portal および ArcGIS Online 用の 81 個のツール。 ArcGISコンテンツを直接アクセスできるモデルコンテキストプロトコル(MCP)サーバー。 自然言語による検索、検査、編集、公開、管理 Claude Desktop、Cursor、VSコードコピロット、およびMCP互換クライアントで動作します。 独立したオープンソースプロジェクトです。 Esri が主催する、もしくはEsri のスポンサーと提携していません。 - : upload item は、正しい /addItem エンドポイントを使用しており、publish from item は、ArcGIS が期待する(fileType、小文字項目、公開 URL のユーザ GUID) の正確なワイヤ形式を送信します。 Enterprise 12.x では、古いコードが "success" を返すが、ArcGIS Server でホストされているサービスは作成されていない。 - : レイヤー情報なしでCSVを公開し、フィールドスキーマは、lat/lon座標検出を含むヘッダーと最初のデータ行から自動生成されます。 ArcGIS は、CSV を公開せずにサイレントに失敗します.

概要(AI 翻訳)

v1.15.0. ArcGIS Enterprise Portal および ArcGIS Online 用の 81 個のツール。

ArcGISコンテンツを直接アクセスできるモデルコンテキストプロトコル(MCP)サーバー。 自然言語による検索、検査、編集、公開、管理

Claude Desktop、Cursor、VSコードコピロット、およびMCP互換クライアントで動作します。

免責事項: 独立したオープンソースプロジェクトです。 Esri が主催する、もしくはEsri のスポンサーと提携していません。

v1.14.0 の新機能

-** ArcGIS Enterprise 12.x**: [upload_item] で修正された公開は、正しい [/addItem] エンドポイントと [publish_from_item] を使用して、ArcGIS が期待する正確なワイヤ形式 ([fileType]]])、小文字 [[[itemid]])、公開 URL でユーザー GUID を送信します。 Enterprise 12.x では、古いコードが “success” を返すが、ArcGIS Server でホストされているサービスは作成されていない。

  • CSV 公開はただ動作します: layerInfo なしで CSV を公開し、フィールドスキーマは、lat/lon 座標検出を含むヘッダーと最初のデータ行から自動生成されます。 ArcGIS は、CSV を公開せずにサイレントに失敗します。

##v1.13.0の新機能

  • エンタープライズ検索の修正: [search_items("*")]は、エンタープライズポータルで動作します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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_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.
  • CSV publish just works: 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.

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_inventory now excludes Esri system accounts (esri_*, portaladmin) by default, giving you accurate counts of your organization’s actual content. Pass exclude_system_content=false to 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_inventory now 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 require contentStatus=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_request errors include http_status code; server_status shows auth method and token expiry
  • find_stale_items optimization: only fetches full item details for governance checks on items already classified stale
  • Consistent field naming: full_name everywhere (was fullname in get_user_details)
  • portal_health now shows portal_url and connected_as
GitHub で README 全文を見る

インストール

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