Maya MCP · Anamaya OMS

Anamaya OMS as MCP

Thin translation of Anamaya OMS APIs into MCP tools + a REST facade — for sales demos, WhatsApp, Maya Travel, and chat training. The OMS API itself is unchanged. Workspace chat always calls this MCP, not OMS directly. Live chat evidence.

Public endpoints

UseURL
Streamable HTTPhttps://maya.suherman.net/mcp/anamaya/v1
Legacy SSEhttps://maya.suherman.net/mcp/anamaya/v1/sse
REST facadehttps://maya.suherman.net/mcp/anamaya/v1/api
Healthhttps://maya.suherman.net/mcp/anamaya/v1/health

Remote gate: Authorization: Bearer <MAYA_ANAMAYA_MCP_API_TOKEN>. Every tool also needs OMS email + password (JWT cached in-memory only). Mutating tools require confirm: true.

Install

Core tools

ToolPurpose
anamaya_loginOMS login (caches JWT)
anamaya_flight_searchOne-way flight search
anamaya_hotel_discoveryHotel discovery
anamaya_booking_createCreate ESPPD (confirm: true)
anamaya_booking_add_flights / …_hotelsAttach inventory (confirm: true)
anamaya_booking_approveApprove segments (confirm: true)
anamaya_files_fetchE-ticket / voucher PDF as base64

Full tool list and REST routes: sibling repo maya-anamaya-mcp README.