U

Utility Network MCP

by sgdev279 · io.github.sgdev279/utility-network-mcp

Enables AI agents and MCP clients to connect to a live Esri ArcGIS Utility Network through the UtilityNetworkServer REST API, supporting trace, subnetwork, dirty-area, and association operations.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-sgdev279-utility-network-mcp": {
      "command": "uvx",
      "args": [
        "utility-network-mcp"
      ],
      "env": {
        "UN_FEATURE_SERVICE_URL": "<VALUE>",
        "UN_PORTAL_URL": "<VALUE>",
        "UN_CLIENT_ID": "<VALUE>",
        "UN_CLIENT_SECRET": "<YOUR_VALUE>",
        "UN_USERNAME": "<VALUE>",
        "UN_PASSWORD": "<YOUR_VALUE>",
        "UN_TOKEN": "<YOUR_VALUE>",
        "UN_ALLOW_WRITES": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-sgdev279-utility-network-mcp": {
      "command": "uvx",
      "args": [
        "utility-network-mcp"
      ],
      "env": {
        "UN_FEATURE_SERVICE_URL": "<VALUE>",
        "UN_PORTAL_URL": "<VALUE>",
        "UN_CLIENT_ID": "<VALUE>",
        "UN_CLIENT_SECRET": "<YOUR_VALUE>",
        "UN_USERNAME": "<VALUE>",
        "UN_PASSWORD": "<YOUR_VALUE>",
        "UN_TOKEN": "<YOUR_VALUE>",
        "UN_ALLOW_WRITES": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-sgdev279-utility-network-mcp": {
      "command": "uvx",
      "args": [
        "utility-network-mcp"
      ],
      "env": {
        "UN_FEATURE_SERVICE_URL": "<VALUE>",
        "UN_PORTAL_URL": "<VALUE>",
        "UN_CLIENT_ID": "<VALUE>",
        "UN_CLIENT_SECRET": "<YOUR_VALUE>",
        "UN_USERNAME": "<VALUE>",
        "UN_PASSWORD": "<YOUR_VALUE>",
        "UN_TOKEN": "<YOUR_VALUE>",
        "UN_ALLOW_WRITES": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-sgdev279-utility-network-mcp": {
      "command": "uvx",
      "args": [
        "utility-network-mcp"
      ],
      "env": {
        "UN_FEATURE_SERVICE_URL": "<VALUE>",
        "UN_PORTAL_URL": "<VALUE>",
        "UN_CLIENT_ID": "<VALUE>",
        "UN_CLIENT_SECRET": "<YOUR_VALUE>",
        "UN_USERNAME": "<VALUE>",
        "UN_PASSWORD": "<YOUR_VALUE>",
        "UN_TOKEN": "<YOUR_VALUE>",
        "UN_ALLOW_WRITES": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-sgdev279-utility-network-mcp": {
      "command": "uvx",
      "args": [
        "utility-network-mcp"
      ],
      "env": {
        "UN_FEATURE_SERVICE_URL": "<VALUE>",
        "UN_PORTAL_URL": "<VALUE>",
        "UN_CLIENT_ID": "<VALUE>",
        "UN_CLIENT_SECRET": "<YOUR_VALUE>",
        "UN_USERNAME": "<VALUE>",
        "UN_PASSWORD": "<YOUR_VALUE>",
        "UN_TOKEN": "<YOUR_VALUE>",
        "UN_ALLOW_WRITES": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-sgdev279-utility-network-mcp": {
      "command": "uvx",
      "args": [
        "utility-network-mcp"
      ],
      "env": {
        "UN_FEATURE_SERVICE_URL": "<VALUE>",
        "UN_PORTAL_URL": "<VALUE>",
        "UN_CLIENT_ID": "<VALUE>",
        "UN_CLIENT_SECRET": "<YOUR_VALUE>",
        "UN_USERNAME": "<VALUE>",
        "UN_PASSWORD": "<YOUR_VALUE>",
        "UN_TOKEN": "<YOUR_VALUE>",
        "UN_ALLOW_WRITES": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
UN_FEATURE_SERVICE_URL Yes Utility network FeatureServer URL (ends with /FeatureServer)
UN_PORTAL_URL No Portal URL, for username/password or OAuth client-credential auth
UN_CLIENT_ID No OAuth app client id (client_credentials)
UN_CLIENT_SECRET secret No OAuth app client secret
UN_USERNAME No Portal username (generateToken)
UN_PASSWORD secret No Portal password
UN_TOKEN secret No Pre-issued ArcGIS token
UN_ALLOW_WRITES No Set to true to enable validate topology / update subnetwork tools

Similar servers