@honua/mcp-server

Native application path: gRPC for live data and edits; PMTiles, GeoParquet and COG through the CDN. Start there for browser gRPC-Web setup, signed private URLs and regeneration after changes. OGC API and GeoServices REST examples below are compatibility workflows.

For the persistent connector journey across Docker, data, Studio, Processes and optional cloud operations, see Unified agent workflows.

There are two different MCP servers in the Honua platform and they advertise different tools. Calling a tool against the wrong one returns "unknown tool", which is the single most common way an agent gets stuck here.

@honua/mcp-server (this package) Honua Server's built-in /mcp
Transport stdio HTTP POST /mcp, authenticated
Needs a Honua deployment No Yes
Points at any public Esri FeatureServer or OGC API endpoint that one deployment
Surface 11 read-only discovery/query/style tools the full operator catalog: planning, async jobs, Studio drafts, publishing
Install npx -y -p @honua/mcp-server honua-mcp already running; connect to it

The package ships five binaries (honua-mcp, honua-mcp-proxy, honua-zero-to-map-release, honua-agent-mcp, and honua-agent-gateway). honua-mcp is the standalone server — no Honua server, no admin API, no /mcp catalog. honua-mcp-proxy bridges a Honua deployment's /mcp catalog to stdio for clients that only speak stdio; it does not add tools of its own. The other three binaries serve the unified agent connector (honua-agent-mcp, honua-agent-gateway) and release check (honua-zero-to-map-release).

Install

npx -y -p @honua/mcp-server honua-mcp

Needs Node.js >=22.12 and HONUA_BASE_URL. Client configuration (.mcp.json, claude_desktop_config.json, Cursor):

{
  "mcpServers": {
    "honua": {
      "command": "npx",
      "args": ["-y", "-p", "@honua/mcp-server", "honua-mcp"],
      "env": {
        "HONUA_BASE_URL": "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis",
        "HONUA_TRANSPORT": "rest"
      }
    }
  }
}

HONUA_TRANSPORT is grpc-web by default, which is what a Honua deployment speaks; use rest for a plain public ArcGIS or OGC endpoint.

What this server advertises

All read-only:

honua_list_sources, honua_list_services, honua_describe_layer, honua_query_features, honua_count_features, honua_get_extent, honua_statistics, honua_explain_capability_gap, honua_get_style, honua_apply_style_preset, and honua_docs_search.

Tools that need a Honua-only surface — server-side styling through OGC API – Styles, a /rest/services catalog — do not crash on a plain endpoint. They return { "available": false, "surface": …, "reason": …, "guidance": … }, so a client can tell "this endpoint cannot do that" from "the call failed".

What it does not advertise

Anything that plans, executes, publishes, or composes. Those live on a Honua deployment's /mcp — see Connect AI agents to Honua over MCP.

The geoprocessing verbs named in the geospatial-mcp standard's opt-in analysis and geoservices-gp conformance profiles — honua_buffer_features, honua_geoservices_gp_list_tasks, honua_geoservices_gp_describe_task, honua_geoservices_gp_execute_task — are advertised by neither surface today. They are profile members the zero-to-map release preflight checks a candidate server for. To run geoprocessing now, use honua_plan_analysis → honua_validate_plan → honua_execute_plan on a deployment's /mcp, or HonuaClient.geoprocessingRunner() from this SDK over HTTP.

There is no MCP tool that edits features. AI operational data editing is not supported (honua-server ADR-0028), on either surface.

Going further

The package README carries the full protocol-neutral addressing table, the typed filter grammar, the environment variables, and the bootstrap-only local-install mode. The local installer hands MCP clients a honua-local-agent key carrying admin:read, admin:write, and read:*; read:* is what lets it list, query, and render layers, and a key minted before it was added is re-issued on the next honua admin install local. How well different client models actually drive this surface is measured, not claimed: see the cross-model eval scorecard.