Introduction

Connect is how an AI agent works with a hotel running on Foyer.

Foyer exposes its operations as an MCP server. An agent that speaks the Model Context Protocol discovers the available tools, asks the operator for consent, and then reads and acts on that hotel's data within the scope it was granted.

Connect in a nutshell:

  • Model Context Protocol over HTTP
  • OAuth 2.1 with PKCE (S256) and dynamic client registration
  • Tokens are audience-bound to the MCP resource (RFC 8707)
  • API keys are supported as a simpler alternative to OAuth
  • Read and write: the tool surface covers the operational product, not a read-only subset