booking-mcp
booking-mcp
booking-mcp 是一个用于管理餐厅预订的 Model Context Protocol 服务器,通过 Streamable HTTP 提供服务。它提供了预订餐桌、检查可用性和取消预订的工具;用于读取预订簿的资源;以及用于起草确认消息的提示词。预订时,服务器会通过引导交互从用户那里收集客人的联系信息。
要求
Python 3.13
Related MCP server: mcp-booking-bridge
用法
设置
创建虚拟环境,安装 SDK(mcp[cli,rich])和依赖项,并以可编辑模式安装包:
uv sync服务器
启动服务器,该服务器在 http://127.0.0.1:8000/mcp 上提供 Streamable HTTP 服务:
uv run booking-mcp演练
一个运行在进程内的独立交互式客户端,因此无需运行其他任何内容。它会为你提供操作菜单,并允许你自行回答引导提示。
uv run python scripts/walkthrough.py[!TIP]
默认情况下,预订会持久化到
var/bookings.json。设置BOOKING_DB_PATH可将其存储到其他位置:BOOKING_DB_PATH=/tmp/demo.json uv run python scripts/walkthrough.py
MCP 表面
Kind | Name | Notes |
工具 |
| 从用户处引导获取姓名、电话和备注 |
工具 |
| 将预订标记为已取消 |
工具 |
| 某个时段剩余的桌数 |
资源 |
| 所有预订,以 JSON 格式 |
资源 |
| 单个预订,以 JSON 格式 |
资源 |
| 某日各时段的容量,以 JSON 格式 |
提示词 |
| 起草客人确认消息 |
布局
booking-mcp/
├── src/booking_mcp/
│ ├── app.py # the shared MCPServer instance
│ ├── config.py # storage path + capacity limits
│ ├── models.py # Reservation domain model
│ ├── store.py # JSON file repository
│ ├── server.py # entrypoint: registers features, runs the server
│ └── features/
│ ├── reservations.py # book/cancel + reservation resources + prompt
│ └── availability.py # availability tool + resource
├── scripts/
│ └── walkthrough.py # manual interactive client
└── var/ # runtime state, gitignored (holds bookings.json)Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Demo booking server for a fictional salon. Try confirm-first write tools in Claude or ChatGPT.
OpenTable MCP server for ChatGPT, Claude and any AI agent: search restaurants with open tables, check availability, book a reservation, modify a reservation, cancel a reservation, list your reservations, read the reservation book and add guest notes and tags in your own OpenTable account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to OpenTable yourself; Cotlet does not store your password and you need no OpenTable API key. About the official OpenTable API: OpenTable has APIs only for approved partners (checked 27 Oct 2026). Booking, Sync, CRM, Directory and Reviews APIs need an application through the OpenTable partner program, and they work per restaurant, not on a diner account. Setup and FAQ: https://cotlet.dev/integrations/opentable-api-mcp-server
AI phones restaurants and local businesses to book, move or cancel reservations and appointments.
Restaurant menus, carts, reservations and owner drafts for AI agents (Thmenu MCP).
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables restaurant reservation management through SevenRooms API, allowing users to create reservations and query available time slots with guest details and party size information.-
- AlicenseNot gradedqualityDmaintenanceEnables managing restaurant table bookings through natural language conversations with an AI assistant, with built-in safety measures like no deletion and explicit write enable.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to search restaurants, check availability, and book reservations on OpenTable, including managing booking history and handling multi-factor authentication.9MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to manage restaurant reservations through typed MCP tools, including checking table availability, creating and canceling reservations, and listing the day's confirmed bookings.-