🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

arcgis-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arcgis-mcp-server

Intelligent ArcGIS content search for Portal and Online.

pipPyPI
Version
1.1.5
Weekly downloads
164
Maintainers
1

ArcGIS MCP Server

PyPI Version PyPI - License

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.json file:

    {
      "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 the python.exe in your arcgis-tool-env. Find it by running where python in your activated terminal.
    • Replace the placeholder credentials in the "env" block with your actual ArcGIS URL, username, and password.
  • Set Interpreter & Reload VS Code:

    • In VS Code, open the Command Palette (Ctrl+Shift+P).
    • Run Python: Select Interpreter and choose the arcgis-tool-env environment.
    • Run Developer: Reload Window from the Command Palette to apply all changes.
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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts