AI assistants (MCP)

RestoFleet speaks the Model Context Protocol (MCP), the open standard AI assistants use to call tools. Connect it and your assistant can answer "Are you open on Sunday?", read the menu, and book a table for four at 8 pm, on your live system.

What the assistant can do

ToolWhat it does
get_restaurantBranches, address, phone, opening hours and whether they take bookings.
get_menuThe menu of a branch with prices, veg/non-veg and what is available now.
check_availabilityFree booking times for a date and party size.
book_tableBooks a table for a guest (name, mobile, party size, time).
get_bookingStatus and details of a booking by its id.
cancel_bookingCancels an upcoming booking. The assistant confirms with the guest first.
find_guestA guest's name, visits and loyalty points by mobile number.

Each tool needs the matching scope on the key; tools the key cannot use are refused with a clear message. Bookings made this way are marked as made by AI on the floor plan.

1. Create a secret key

In Setup → API keys create a Secret key named e.g. "AI assistant". Leave out guests:read unless the assistant should look up loyalty points.

2a. Assistants that connect by URL

For hosted assistants and agent platforms that take a remote MCP server, use the endpoint below with your key as a Bearer token.

Remote MCP server
URL:    https://mcp.restofleet.com/mcp
Header: Authorization: Bearer rf_sk_...

2b. Desktop assistants (Claude Desktop and others)

Add RestoFleet to the assistant's MCP configuration file:

claude_desktop_config.json
{
  "mcpServers": {
    "restofleet": {
      "command": "npx",
      "args": [
        "-y",
        "@restofleet/mcp"
      ],
      "env": {
        "RESTOFLEET_API_KEY": "rf_sk_..."
      }
    }
  }
}

Restart the assistant and ask it: "Which branches does my restaurant have?"

Your own agent

Any MCP client library can connect to https://mcp.restofleet.com/mcp over Streamable HTTP. If your agent framework prefers plain HTTP tools, describe the Open API endpoints instead; the OpenAPI file can be imported directly by most frameworks.

Good practice

Ask your assistant to read back the date, time and party size before booking, and to confirm before cancelling. The tools are designed for that, but your instructions decide how your assistant talks to guests.