Back to Home
melbamorph icon

zonerMCP

Verified Safe

by melbamorph

Overview

This server provides a hardened Model Context Protocol (MCP) interface for accessing Lebanon, NH GIS data (zoning, addresses, parcels, environmental overlays) to AI agents, designed for platforms like OpenAI Agent Builder.

Installation

Run Command
npm start

Environment Variables

  • ARCGIS_BASE_URL
  • ZONING_LAYER
  • ADDRESS_LAYER
  • PORT
  • REQUIRE_AUTH
  • MCP_BEARER_TOKEN
  • ALLOW_STATELESS
  • RATE_LIMIT_WINDOW_MS
  • RATE_LIMIT_MAX_REQUESTS
  • RATE_LIMIT_AUTH_MULTIPLIER
  • CACHE_TTL_SECONDS
  • CACHE_MAX_ENTRIES
  • MAX_FIELDS
  • CORS_ALLOW_ORIGINS

Security Notes

The server demonstrates strong security hardening, explicitly noted in its `replit.md` and implemented in the code. Key measures include: an explicit layer registry and field policy (allowlist approach, blocked fields, summary/full profiles), structured query modes to prevent freeform SQL injection, comprehensive input validation (e.g., coordinate ranges, bounding box size limits, object ID counts, string lengths), record count caps on query results, bearer token authentication (configurable), robust rate limiting with IP-based and authenticated token buckets, a response cache, optional session enforcement (though stateless mode is default, it's configurable), validation for geometry inclusion, payload size limits, and configurable CORS origins. External API calls (ArcGIS) are made with a timeout to prevent long-running requests. The `ARCGIS_BASE_URL` is correctly configured as a required secret and checked at startup. No 'eval' or other obviously dangerous patterns were found.

Similar Servers

Stats

Interest Score20
Security Score9
Cost ClassLow
Avg Tokens1000
Stars1
Forks0
Last Update2026-01-01

Tags

MCPGISOpenAI-Agent-BuilderGeospatialNode.js