{
  "manifest_version": "0.1-draft",
  "gateway_id": "https://gateway.automotivemcp.ai",
  "name": "AutomotiveMCP open gateway (test kit)",
  "version": "0.1.0",
  "description": "One MCP endpoint for every dealer this gateway serves (Castle Kia of McHenry), in front of each dealer's member tools. This demo runs on the open AutomotiveMCP gateway, hosted by PromptGraph.",
  "open_source": {
    "license": "Apache-2.0",
    "about": "https://automotivemcp.ai/gateway",
    "statement": "The gateway is open source. Any website company, vendor or dealer can host one and stay in control of it, and anyone can contribute. A gateway is optional: every member can still be called directly."
  },
  "sandbox": true,
  "operator": {
    "name": "PromptGraph",
    "role": "Hosts and operates this demo instance of the open gateway",
    "support": {
      "url": "https://www.promptgraph.ai/contact-form",
      "email": "hello@automotivemcp.ai",
      "hours": "Business days, US Central time",
      "note": "Support for this demo instance goes to PromptGraph, the operator, through its contact form."
    },
    "status_page": "https://gateway.automotivemcp.ai/health",
    "security_contact": "https://automotivemcp.ai/security"
  },
  "dealers": [
    {
      "name": "Castle Kia of McHenry",
      "dealer_key": "castle-kia-mchenry",
      "location_id": "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry",
      "address": {
        "city": "McHenry",
        "region": "IL",
        "postal_code": "60050",
        "country": "US"
      },
      "phone": "+18154538566",
      "website": "https://www.castlekiamchenry.com/",
      "franchised_makes": [
        "Kia"
      ],
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/specials",
        "https://gateway.automotivemcp.ai/members/oem-offers",
        "https://gateway.automotivemcp.ai/members/trade-appraisal",
        "https://gateway.automotivemcp.ai/members/payments-desk",
        "https://gateway.automotivemcp.ai/members/chat-bdc",
        "https://gateway.automotivemcp.ai/members/crm",
        "https://gateway.automotivemcp.ai/members/store-knowledge"
      ],
      "alias_endpoint": "https://gateway.automotivemcp.ai/castle-kia/mcp",
      "controls": "The dealer decides which members connect to this gateway for its store: it connects a catalog member or pastes an MCP endpoint, approves its scopes, and the operator is notified automatically. No ticket is needed.",
      "dealer_view": "https://automotivemcp.ai/demo/dealer/castle-kia-mchenry",
      "dealer_view_note": "Sandbox dealer view for this demo. Catalog connections revert after a few hours.",
      "data_note": "Demo data, not an offer. A dated snapshot of public listings and published manufacturer programs; never a feed from the dealer's systems.",
      "data": {
        "kind": "snapshot",
        "snapshot_date": "2026-12-05",
        "label": "Demo data, not an offer. A dated snapshot of one store's public listings and published manufacturer programs. Trade values and payments are illustrative estimates. Nothing here reaches a real dealer."
      }
    }
  ],
  "dealer": {
    "name": "Castle Kia of McHenry",
    "dealer_key": "castle-kia-mchenry",
    "location_id": "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry",
    "address": {
      "city": "McHenry",
      "region": "IL",
      "postal_code": "60050",
      "country": "US"
    },
    "phone": "+18154538566",
    "website": "https://www.castlekiamchenry.com/",
    "franchised_makes": [
      "Kia"
    ],
    "members": [
      "https://gateway.automotivemcp.ai/members/website-feed",
      "https://gateway.automotivemcp.ai/members/specials",
      "https://gateway.automotivemcp.ai/members/oem-offers",
      "https://gateway.automotivemcp.ai/members/trade-appraisal",
      "https://gateway.automotivemcp.ai/members/payments-desk",
      "https://gateway.automotivemcp.ai/members/chat-bdc",
      "https://gateway.automotivemcp.ai/members/crm",
      "https://gateway.automotivemcp.ai/members/store-knowledge"
    ],
    "alias_endpoint": "https://gateway.automotivemcp.ai/castle-kia/mcp",
    "controls": "The dealer decides which members connect to this gateway for its store: it connects a catalog member or pastes an MCP endpoint, approves its scopes, and the operator is notified automatically. No ticket is needed.",
    "dealer_view": "https://automotivemcp.ai/demo/dealer/castle-kia-mchenry",
    "dealer_view_note": "Sandbox dealer view for this demo. Catalog connections revert after a few hours.",
    "data_note": "Demo data, not an offer. A dated snapshot of public listings and published manufacturer programs; never a feed from the dealer's systems.",
    "data": {
      "kind": "snapshot",
      "snapshot_date": "2026-12-05",
      "label": "Demo data, not an offer. A dated snapshot of one store's public listings and published manufacturer programs. Trade values and payments are illustrative estimates. Nothing here reaches a real dealer."
    }
  },
  "dealer_note": "`dealer` is the first entry of `dealers`, kept for older readers.",
  "mcp": {
    "endpoint": "https://gateway.automotivemcp.ai/mcp",
    "transport": "streamable-http",
    "protocol_versions": [
      "2026-07-28",
      "2025-11-25"
    ],
    "authentication": "none (demo). Writes are SANDBOX: recorded on the session, NOT SENT. Trade, quote and desking tools are stateless and store nothing.",
    "dealer_selection": "Dealer tools take an optional location_id (section 11.4). It is required only when the gateway serves more than one dealer and the session has not picked one yet; core.list_dealers lists them. Each dealer also has a permanent alias endpoint with that dealer pre-selected."
  },
  "members": [
    {
      "member_id": "https://gateway.automotivemcp.ai/members/website-feed",
      "display_name": "Website inventory feed",
      "role": "inventory_feed",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/website-feed/manifest.json",
      "tools": [
        "core.get_dealer",
        "inventory.get_snapshot",
        "inventory.search_vehicles",
        "inventory.get_vehicle",
        "testkit.check_availability",
        "testkit.get_window_sticker",
        "testkit.decode_vin"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/specials",
      "display_name": "Specials provider",
      "role": "specials",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/specials/manifest.json",
      "tools": [
        "deals.list_incentives",
        "deals.get_incentive"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/oem-offers",
      "display_name": "OEM offers provider",
      "role": "oem_offers",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/oem-offers/manifest.json",
      "tools": [
        "deals.list_incentives",
        "deals.get_incentive"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/trade-appraisal",
      "display_name": "Trade appraisal",
      "role": "trade",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/trade-appraisal/manifest.json",
      "tools": [
        "inventory.appraise_trade",
        "testkit.capture_payoff"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/payments-desk",
      "display_name": "Payments desk",
      "role": "desking",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/payments-desk/manifest.json",
      "tools": [
        "testkit.estimate_payments",
        "deals.create_quote",
        "deals.desk_deal"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/chat-bdc",
      "display_name": "Chat and BDC desk (sandbox)",
      "role": "chat",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/chat-bdc/manifest.json",
      "tools": [
        "leads.send_message",
        "testkit.start_live_chat",
        "testkit.send_chat_message",
        "testkit.end_live_chat"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/crm",
      "display_name": "CRM (sandbox)",
      "role": "crm",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/crm/manifest.json",
      "tools": [
        "leads.create_lead",
        "leads.create_appointment",
        "leads.get_lead"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/store-knowledge",
      "display_name": "Store knowledge (website content)",
      "role": "other",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/store-knowledge/manifest.json",
      "tools": [
        "testkit.get_value_props",
        "testkit.get_store_faq",
        "testkit.search_knowledge",
        "testkit.get_corpus_health"
      ],
      "status": "active",
      "dealers": [
        "https://gateway.automotivemcp.ai/locations/castle-kia-mchenry"
      ],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Simulated vendor run by the test kit; its tickets go to the gateway operator."
      }
    },
    {
      "member_id": "https://gateway.automotivemcp.ai/members/service-scheduler",
      "display_name": "Service scheduler (built in-house, sandbox)",
      "role": "service_scheduler",
      "manifest_uri": "https://gateway.automotivemcp.ai/members/service-scheduler/manifest.json",
      "tools": [
        "leads.create_appointment",
        "leads.get_appointment"
      ],
      "status": "available",
      "catalog": "A dealer connects this member itself from the dealer view.",
      "dealers": [],
      "support": {
        "contact": "https://automotivemcp.ai/contact",
        "note": "Support for this member goes to its operator first, then the gateway operator."
      }
    }
  ],
  "routes": {
    "core.get_dealer": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "inventory.get_snapshot": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "inventory.search_vehicles": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "inventory.get_vehicle": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "testkit.get_vehicle_details": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/oem-offers",
        "https://gateway.automotivemcp.ai/members/specials",
        "https://gateway.automotivemcp.ai/members/payments-desk"
      ],
      "fan_out": true
    },
    "testkit.compare_vehicles": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/oem-offers",
        "https://gateway.automotivemcp.ai/members/specials"
      ],
      "fan_out": true
    },
    "testkit.check_availability": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "testkit.decode_vin": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "testkit.get_window_sticker": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "testkit.match_vehicles": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/payments-desk"
      ],
      "fan_out": true
    },
    "inventory.appraise_trade": {
      "members": [
        "https://gateway.automotivemcp.ai/members/trade-appraisal"
      ],
      "fan_out": false
    },
    "testkit.capture_payoff": {
      "members": [
        "https://gateway.automotivemcp.ai/members/trade-appraisal"
      ],
      "fan_out": false
    },
    "deals.create_quote": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/oem-offers",
        "https://gateway.automotivemcp.ai/members/specials",
        "https://gateway.automotivemcp.ai/members/payments-desk"
      ],
      "fan_out": true
    },
    "deals.desk_deal": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/oem-offers",
        "https://gateway.automotivemcp.ai/members/specials",
        "https://gateway.automotivemcp.ai/members/payments-desk"
      ],
      "fan_out": true
    },
    "deals.list_incentives": {
      "members": [
        "https://gateway.automotivemcp.ai/members/oem-offers",
        "https://gateway.automotivemcp.ai/members/specials"
      ],
      "fan_out": true
    },
    "deals.get_incentive": {
      "members": [
        "https://gateway.automotivemcp.ai/members/oem-offers",
        "https://gateway.automotivemcp.ai/members/specials"
      ],
      "fan_out": true
    },
    "leads.send_message": {
      "members": [
        "https://gateway.automotivemcp.ai/members/chat-bdc"
      ],
      "fan_out": false
    },
    "leads.create_lead": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/crm"
      ],
      "fan_out": true
    },
    "leads.create_appointment": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed",
        "https://gateway.automotivemcp.ai/members/crm"
      ],
      "fan_out": true
    },
    "testkit.list_open_times": {
      "members": [
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": false
    },
    "leads.get_lead": {
      "members": [
        "https://gateway.automotivemcp.ai/members/crm"
      ],
      "fan_out": false
    },
    "testkit.get_value_props": {
      "members": [
        "https://gateway.automotivemcp.ai/members/store-knowledge"
      ],
      "fan_out": false
    },
    "testkit.get_store_faq": {
      "members": [
        "https://gateway.automotivemcp.ai/members/store-knowledge"
      ],
      "fan_out": false
    },
    "testkit.search_knowledge": {
      "members": [
        "https://gateway.automotivemcp.ai/members/store-knowledge"
      ],
      "fan_out": false
    },
    "testkit.get_corpus_health": {
      "members": [
        "https://gateway.automotivemcp.ai/members/store-knowledge"
      ],
      "fan_out": false
    },
    "testkit.start_live_chat": {
      "members": [
        "https://gateway.automotivemcp.ai/members/chat-bdc",
        "https://gateway.automotivemcp.ai/members/website-feed"
      ],
      "fan_out": true
    },
    "testkit.send_chat_message": {
      "members": [
        "https://gateway.automotivemcp.ai/members/chat-bdc"
      ],
      "fan_out": false
    },
    "testkit.end_live_chat": {
      "members": [
        "https://gateway.automotivemcp.ai/members/chat-bdc"
      ],
      "fan_out": false
    }
  },
  "support": {
    "how_to_file": "Include the gateway_id, the session short code and trace link, the tool and member involved, the time, what you expected and what happened. Never include a shopper's personal data.",
    "ticket_fields": [
      "gateway_id",
      "operator",
      "dealer",
      "member",
      "tool",
      "session_short_code",
      "trace_url",
      "occurred_at",
      "client_kind",
      "error",
      "expected",
      "observed"
    ],
    "escalation": [
      {
        "step": 1,
        "who": "The member vendor",
        "when": "A member returns wrong data or errors",
        "contact": "members[].support"
      },
      {
        "step": 2,
        "who": "The gateway operator (PromptGraph)",
        "when": "Routing, sessions, limits, availability, or no answer from a vendor",
        "contact": "https://www.promptgraph.ai/contact-form"
      },
      {
        "step": 3,
        "who": "The dealer",
        "when": "Questions about the store, its vehicles or connecting a new member",
        "contact": "dealers[].phone"
      },
      {
        "step": 4,
        "who": "AutomotiveMCP security",
        "when": "A security or privacy flaw",
        "contact": "https://automotivemcp.ai/security"
      }
    ],
    "create_ticket_tool": "testkit.create_support_ticket (SANDBOX, test kit helper): files a ticket for this session, filled in from this manifest and the session (gateway, operator, dealer, provider, tool, session and trace link, recent errors, client kind) and routed per the escalation path. Recorded on the session page; NOT SENT."
  },
  "trace": {
    "watch_url_template": "https://gateway.automotivemcp.ai/s/{short_code}",
    "trace_url_template": "https://automotivemcp.ai/demo/s/{view_id}",
    "note": "Every tool result carries a link where the user can watch the calls. The trace shows the operator and where tickets go."
  },
  "sts": {
    "issuer": "https://gateway.automotivemcp.ai",
    "jwks_uri": "https://gateway.automotivemcp.ai/.well-known/jwks.json",
    "exchange_grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
    "introspection": "internal: members introspect every call in-process (one trust domain in this demo)",
    "root_delegation": {
      "when": "Minted at the first call of a session and kept inside the gateway; never handed to the agent.",
      "sub": "The shopper as a pairwise id at the gateway (pseudonymous from the first call).",
      "act": "urn:amcp:testkit:agent:<client kind>, self-asserted and unverified (no sign-in in v1).",
      "scope": "amcp:core:read amcp:inventory:read amcp:deals:read amcp:inventory:write amcp:deals:write amcp:leads:write amcp:service:read amcp:parts:read amcp:fni:read",
      "amcp_level": "anonymous",
      "ttl_seconds": 1800
    },
    "per_hop": {
      "credential": "An ES256 token exchanged from the root for one member (aud), one tool, one scope and one dealer location, expiring no later than the root.",
      "sub": "Pairwise per member: each vendor knows the shopper by a different id.",
      "act": "The gateway, with the agent nested inside (RFC 8693 actor chain).",
      "ttl_seconds": 120,
      "rejected_by_members": [
        "a sub without act",
        "the wrong audience",
        "a scope wider than the member accepts",
        "an expired token or one that outlives its parent",
        "a revoked delegation",
        "a location the member does not serve"
      ]
    },
    "trust_note": "The gateway STS and its members share one trust domain here. How a member's authorization server trusts another party's subject tokens is an open question (section 11.11)."
  },
  "consent": {
    "spec": "section 9 (normative): portable consent receipts; the step-up that asks for it is section 12.6 (draft)",
    "page": "https://automotivemcp.ai/demo/consent",
    "how": "A lead, a test drive or a text follow-up needs the shopper at contact_verified. The tool answers with a step-up challenge { error: insufficient_scope, scope, acr_values, max_age, consent_url }. The consent link is single use, valid 15 minutes and bound to the session, not to the trace link. Only the shopper can approve it.",
    "receipts": "One compact ES256 JWS per relying party, addressed to that party alone (the CRM for email, the chat desk for SMS). Members verify it themselves and then receive contact fields from the gateway by reference. No tool argument ever carries a name, phone or email.",
    "jwks_uri": "https://gateway.automotivemcp.ai/.well-known/consent-jwks.json",
    "status_uri_template": "https://gateway.automotivemcp.ai/consent/status/{cnsnt_id}",
    "disclosure_uri_template": "https://gateway.automotivemcp.ai/disclosures/{dealer_key}/{disclosure_id}",
    "revocation": "The shopper can revoke from the session page. Every root delegation of the session is revoked (so every token exchanged from it stops), every receipt reads revoked at status_uri, and the agent's next call fails with \"access revoked by the shopper\".",
    "personas": "Sandbox: the shopper picks a fictional persona and types a code shown on screen. Nothing is texted or emailed."
  },
  "references": {
    "what": "appraisal_id and quote_id are stateless references signed by the member that issued them. Nothing is stored; the receiving member verifies the signature against the issuer's published key.",
    "keys": {
      "https://gateway.automotivemcp.ai/members/trade-appraisal": "https://gateway.automotivemcp.ai/members/trade-appraisal/jwks.json",
      "https://gateway.automotivemcp.ai/members/payments-desk": "https://gateway.automotivemcp.ai/members/payments-desk/jwks.json"
    }
  },
  "spec_sections": {
    "federation": "draft (section 11)",
    "delegated_identity": "draft (section 12)",
    "consent_portability": "normative (section 9)"
  },
  "data": {
    "kind": "snapshot",
    "snapshot_date": "2026-12-05",
    "label": "Demo data, not an offer. A dated snapshot of one store's public listings and published manufacturer programs. Trade values and payments are illustrative estimates. Nothing here reaches a real dealer."
  },
  "links": {
    "connect": "https://gateway.automotivemcp.ai/",
    "server_card": "https://gateway.automotivemcp.ai/.well-known/mcp.json",
    "agent_card": "https://gateway.automotivemcp.ai/.well-known/agent-card.json",
    "llms_txt": "https://gateway.automotivemcp.ai/llms.txt",
    "health": "https://gateway.automotivemcp.ai/health"
  }
}