Intelligent ArcGIS content search for Portal and Online.
Project description
ArcGIS MCP Server
An AI agent tool for searching ArcGIS content (layers, maps, etc.) with natural language in VS Code using GitHub Copilot.
🚀 Quickstart Guide
This guide provides the essential steps to get the server running reliably.
Step 1: Installation
First, create a clean Python environment and install the package.
-
Create & Activate Conda Environment:
conda create -n arcgis-tool-env python=3.11 -y conda activate arcgis-tool-env
-
Install from PyPI:
pip install arcgis-mcp-server==1.1.5
Step 2: VS Code Configuration (Required)
A one-time manual configuration is required to guarantee VS Code can find and run the tool. This example is for developers who want to bypass the login prompt for faster testing by including credentials directly.
-
Create a Config File: In your project folder, create a file at this exact path:
.vscode/mcp.json. -
Paste the following JSON into the
mcp.jsonfile:{ "servers": { "arcgis-mcp-server": { "type": "stdio", "command": "C:\\Users\\YOUR_USERNAME\\miniconda3\\envs\\arcgis-tool-env\\python.exe", "args": ["-m", "arcgis_mcp"], "env": { "ARCGIS_URL": "[https://your-portal.maps.arcgis.com](https://your-portal.maps.arcgis.com)", "ARCGIS_USERNAME": "your_username", "ARCGIS_PASSWORD": "your_password" } } } }
-
Update the Paths and Credentials:
- IMPORTANT: You must replace
C:\\Users\\YOUR_USERNAME\\...with the actual path to thepython.exein yourarcgis-tool-env. Find it by runningwhere pythonin your activated terminal. - Replace the placeholder credentials in the
"env"block with your actual ArcGIS URL, username, and password.
- IMPORTANT: You must replace
-
Set Interpreter & Reload VS Code:
- In VS Code, open the Command Palette (
Ctrl+Shift+P). - Run
Python: Select Interpreterand choose thearcgis-tool-envenvironment. - Run
Developer: Reload Windowfrom the Command Palette to apply all changes.
- In VS Code, open the Command Palette (
Want the login prompt instead?
For the standard user experience, simply remove the entire "env": { ... } block from your mcp.json file. This will cause the secure authentication pop-up to appear when you first use the tool.
Step 3: Usage
Now you can interact with the tool.
- Open Copilot Chat in the VS Code sidebar.
- Ask a Question: Tell Copilot to use your tool to find data.
Using your ArcGIS tool, find feature layers about roads - The tool will connect automatically using the credentials you provided and show the results.
mcp-name: io.github.esrisaudiarabia/arcgis-mcp-server
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arcgis_mcp_server-1.1.5.tar.gz.
File metadata
- Download URL: arcgis_mcp_server-1.1.5.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
507052f06fda504a7dee73da3bc004bcc8d35ccb0d23a839c8cb08f48bbf12f5
|
|
| MD5 |
e600a890eda2244cd57eab3416f7ebc5
|
|
| BLAKE2b-256 |
1ca97e747eec3b35a0411cb9b9298aa15cd8f3f45e1be9c14a53da0a7c529d27
|
File details
Details for the file arcgis_mcp_server-1.1.5-py3-none-any.whl.
File metadata
- Download URL: arcgis_mcp_server-1.1.5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d5157b0be6e668276ba287884881ec3090ed9de53a8c33b4b7b412661ca5d71
|
|
| MD5 |
3649a9fc2bc7801e8922316eedf6398b
|
|
| BLAKE2b-256 |
b7a06889ea8a5a86620e5aa38d886e98a188531cd666d2d2af7ef5c9890bf31e
|