POST REST facade
Hotel Geo List (REST only)
/api/hotel/geo/list
Resolve city/area names to geoId. Available on the REST facade only — not yet an MCP tool. MCP-only hosts must supply geoId from their own lookup or call this REST route.
Authorization
Optional MCP gate: Authorization: Bearer <MAYA_ANAMAYA_MCP_API_TOKEN>.
Required OMS identity: pass email and password on the tool call.
MCP caches the OMS JWT server-side and never returns it to the LLM.
Parameters
| Name | Type | Example | Description |
|---|---|---|---|
email / password Required | string | — | OMS credentials in JSON body or X-Anamaya-Email / X-Anamaya-Password headers. |
query Required | string | Jakarta | Geo search text. |
Notes
- REST base: https://maya.suherman.net/mcp/anamaya/v1/api
- Same optional gate token as MCP Streamable HTTP.
- After resolving geoId, continue with anamaya_hotel_discovery.