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
| Tool | What it does |
|---|---|
get_restaurant | Branches, address, phone, opening hours and whether they take bookings. |
get_menu | The menu of a branch with prices, veg/non-veg and what is available now. |
check_availability | Free booking times for a date and party size. |
book_table | Books a table for a guest (name, mobile, party size, time). |
get_booking | Status and details of a booking by its id. |
cancel_booking | Cancels an upcoming booking. The assistant confirms with the guest first. |
find_guest | A 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.
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:
{
"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