MCP Reference

Guide

ChatGPT

Use Streamable HTTP to register Anamaya MCP as a remote tool server for ChatGPT Enterprise or connector-capable custom GPTs.

Registration

{
  "mcpServers": {
    "anamaya": {
      "url": "https://maya.suherman.net/mcp/anamaya/v1",
      "headers": {
        "Authorization": "Bearer <MAYA_ANAMAYA_MCP_API_TOKEN>"
      }
    }
  }
}

Store the gate token in your org’s secret store. Inject it as a header — never paste production tokens into shared GPT instructions.

Runtime

  1. After connect, verify tools/list includes anamaya_login, flight, hotel, and booking tools.
  2. Instruct the assistant to call anamaya_login with the employee’s OMS credentials (or a controlled service account mapping).
  3. Search with live tools; present ≤3 options with prices from the envelope only.
  4. Require an explicit user confirmation message before any confirm: true mutation.
ChatGPT must not invent fares when the tool returns empty inventory. Prefer sandbox OMS for the first pilot.

System prompt tips

  • State that Anamaya MCP is the only booking path (no scraping).
  • Document depDate as MM-DD-YYYY and string passenger counts.
  • Separate gate token (HTTP header) from OMS email/password (tool args).