booking-mcp
booking-mcp
booking-mcp 是一个用于管理餐厅预订的 Model Context Protocol 服务器,通过 Streamable HTTP 提供服务。它提供了预订餐桌、检查可用性和取消预订的工具;用于读取预订簿的资源;以及用于起草确认消息的提示词。预订时,服务器会通过引导交互从用户那里收集客人的联系信息。
要求
Python 3.13
Related MCP server: Lumen Resto MCP
用法
设置
创建虚拟环境,安装 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)This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.
- -licenseNot gradedqualityNot gradedmaintenanceEnables restaurant reservation management and schedule checking through Supabase with multi-tenant support. Designed for WhatsApp and phone agents to verify opening hours, create reservations with automatic table assignment, and handle multiple restaurants from a single server.
- FlicenseBqualityFmaintenanceEnables users to search, check availability, and book restaurant reservations across Resy and OpenTable platforms. It supports direct booking for Resy and includes an automated reservation 'sniper' for securing high-demand slots the moment they become available.124
- AlicenseNot gradedqualityCmaintenanceEnables 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
Related MCP Connectors
Agentic scheduling & booking for field service: availability, jobs, customers, crews, fleet.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Bounded tools for rendering, extraction, RAG, enrichment, local discovery and review analysis.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LuoZihYuan/booking-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server