MCP Seat Reservation Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Seat Reservation Server show me available seats in Tokyo office next Monday"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Seat Reservation Server
座席予約システムの包括的なAPIとやり取りするためのModel Context Protocolサーバーです。オフィス管理、座席予約、コメント機能などを提供します。
機能概要
オフィス管理
get_offices: 全オフィス一覧を取得
get_office: 特定オフィスの詳細情報を取得
get_office_seats: オフィス内の全座席情報を取得
予約管理
get_reservations: 予約一覧を取得(日付フィルタリング可能)
get_reservation: 特定予約の詳細情報を取得
create_reservation: 新規予約を作成
update_reservation: 既存予約を更新
cancel_reservation: 予約をキャンセル
座席検索・管理
get_available_seats: 指定期間の利用可能座席を取得
find_seat_by_number: 座席番号で座席を検索
コメント機能
get_all_comments: 全コメントを取得
get_seat_comments: 特定座席のコメントを取得
add_comment: 座席にコメントを追加
delete_comment: コメントを削除
get_comment_counts: 座席ごとのコメント数を取得
Related MCP server: Lumen Resto MCP
セットアップ
1. プロジェクトの初期化
mkdir mcp-seat-reservation-server
cd mcp-seat-reservation-server2. 依存関係のインストール
npm install @modelcontextprotocol/sdk
npm install --save-dev @types/node typescript3. ファイル構成
mcp-seat-reservation-server/
├── src/
│ └── index.ts # メインのサーバーコード
├── package.json
├── tsconfig.json
└── README.md4. ビルド
npm run build使用方法
MCPクライアントでの設定
Claude DesktopなどのMCPクライアントで使用する場合、設定ファイルに以下を追加:
{
"mcpServers": {
"seat-reservation": {
"command": "node",
"args": ["/path/to/your/mcp-seat-reservation-server/build/index.js"]
}
}
}利用可能なツール詳細
オフィス管理
get_offices
全オフィス一覧を取得します。
// パラメータなしget_office
特定オフィスの詳細情報を取得します。
{
"office_id": 1
}get_office_seats
オフィス内の全座席情報を取得します。
{
"office_id": 1
}予約管理
get_reservations
予約一覧を取得します(日付フィルタリング可能)。
{
"start_date": "2024-01-01", // オプション
"end_date": "2024-01-31" // オプション
}create_reservation
新規予約を作成します。
{
"user_name": "田中太郎",
"seat_id": 1,
"start_date": "2024-01-15",
"end_date": "2024-01-17"
}update_reservation
既存予約を更新します。
{
"reservation_id": 1,
"seat_id": 2,
"start_date": "2024-01-16",
"end_date": "2024-01-18"
}座席検索
get_available_seats
指定期間の利用可能座席を取得します。
{
"office_id": 1,
"start_date": "2024-01-15",
"end_date": "2024-01-17"
}find_seat_by_number
座席番号で座席を検索します。
{
"office_id": 1,
"seat_number": "A1"
}コメント機能
add_comment
座席にコメントを追加します。
{
"seat_id": 1,
"name": "田中太郎",
"comment": "この席は快適です!"
}get_seat_comments
特定座席のコメントを取得します。
{
"seat_id": 1
}データ構造
オフィス(Office)
{
"id": 1,
"name": "東京本社",
"floor": "3F",
"layout_data": "{...}"
}座席(Seat)
{
"id": 1,
"office_id": 1,
"seat_number": "A1",
"position_x": 250,
"position_y": 90
}予約(Reservation)
{
"id": 1,
"user_id": 1,
"seat_id": 1,
"start_date": "2024-01-15",
"end_date": "2024-01-17",
"created_at": "2024-01-10T10:00:00Z",
"user_name": "田中太郎",
"seat_number": "A1",
"office_name": "東京本社",
"floor": "3F"
}コメント(Comment)
{
"id": 1,
"seat_id": 1,
"name": "田中太郎",
"comment": "この席は快適です!",
"created_at": "2024-01-10T10:00:00Z",
"seat_number": "A1",
"office_name": "東京本社",
"floor": "3F"
}API仕様
このサーバーは以下のAPIエンドポイントと連携します:
オフィス関連
GET /api/offices- 全オフィス取得GET /api/offices/:id- 特定オフィス取得GET /api/offices/:id/seats- オフィスの席一覧取得
予約関連
GET /api/reservations- 予約一覧取得GET /api/reservations/:id- 特定予約取得POST /api/reservations- 予約作成PUT /api/reservations/:id- 予約更新DELETE /api/reservations/:id- 予約削除
座席関連
GET /api/seats/available- 利用可能座席取得
コメント関連
GET /api/comments- 全コメント取得GET /api/seats/:id/comments- 座席のコメント取得POST /api/comments- コメント作成DELETE /api/comments/:id- コメント削除GET /api/seats/comments/count- 座席ごとのコメント数取得
使用例
1. 利用可能な座席を確認して予約
1. get_available_seats で利用可能座席を確認
2. create_reservation で予約を作成
3. get_reservation で予約詳細を確認2. 座席の口コミを確認
1. find_seat_by_number で座席を検索
2. get_seat_comments で座席のコメントを確認
3. add_comment で自分のコメントを追加3. 予約の管理
1. get_reservations で現在の予約一覧を確認
2. update_reservation で予約を変更
3. cancel_reservation で不要な予約をキャンセル開発
開発モード
npm run dev直接実行
npm start注意事項
Node.js 18以上が必要です
MCPクライアント(Claude Desktop等)での設定が必要です
日付は YYYY-MM-DD 形式で指定してください
トラブルシューティング
APIサーバーに接続できない場合
APIサーバーが稼働していることを確認
ポート番号とURLが正しいことを確認
ファイアウォールの設定を確認
予約作成時にエラーが発生する場合
座席が既に予約されていないか確認
日付形式が正しいか確認(YYYY-MM-DD)
座席IDが存在するか確認
MCPクライアントで認識されない場合
ビルドが正常に完了していることを確認
パスが正しいことを確認
MCPクライアントの設定ファイルを確認
Available Tools
15 toolsadd_commentC
Add a comment to a seat
Inputs: seat_id (required), name (required), comment (required).
cancel_reservationC
Cancel a reservation by ID
Inputs: reservation_id (required).
create_reservationC
Create a new seat reservation
Inputs: user_name (required), seat_id (required), start_date (required), end_date (required).
delete_commentC
Delete a comment by ID
Inputs: comment_id (required).
find_seat_by_numberC
Find a seat by seat number in an office
Inputs: office_id (required), seat_number (required).
get_all_commentsB
Get all comments across all seats
Inputs: no named parameters.
get_available_seatsC
Get available seats for a specific period
Inputs: office_id (required), start_date (required), end_date (required).
get_comment_countsC
Get comment count for each seat
Inputs: no named parameters.
get_officeC
Get specific office by ID
Inputs: office_id (required).
get_officesC
Get all offices
Inputs: no named parameters.
get_office_seatsB
Get all seats for a specific office
Inputs: office_id (required).
get_reservationC
Get specific reservation by ID
Inputs: reservation_id (required).
get_reservationsC
Get reservations with optional date filtering
Inputs: start_date, end_date.
get_seat_commentsC
Get comments for a specific seat
Inputs: seat_id (required).
update_reservationC
Update an existing reservation
Inputs: reservation_id (required), seat_id (required), start_date (required), end_date (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Every tool has a clearly distinct purpose targeting specific resources and actions with no ambiguity. For example, 'create_reservation' and 'update_reservation' handle different lifecycle stages, while 'get_available_seats' and 'get_office_seats' serve different query needs. The descriptions make it easy to distinguish between tools like 'get_all_comments' (global) and 'get_seat_comments' (specific).
All tools follow a consistent verb_noun pattern using snake_case throughout, such as 'create_reservation', 'get_available_seats', and 'update_reservation'. The naming is predictable and readable, with verbs like 'get', 'create', 'update', 'cancel', 'add', 'delete', and 'find' applied consistently to appropriate nouns like 'reservation', 'seat', 'comment', and 'office'.
With 15 tools, the count is well-scoped for a seat reservation domain, covering offices, seats, reservations, and comments comprehensively. Each tool earns its place by addressing specific operations without redundancy, such as separate tools for managing reservations versus comments, and it avoids being too thin or bloated for the apparent scope.
The tool set provides complete CRUD/lifecycle coverage for the seat reservation domain, including offices (get), seats (find, get, check availability), reservations (create, get, update, cancel), and comments (add, get, delete, count). There are no obvious gaps; agents can perform full workflows from browsing offices to managing reservations and comments without dead ends.
Maintenance
Related MCP Connectors
Browse OfficeRnD members, bookings, memberships, invoices and tickets, with optional write access.
Spaceti workplace analytics: occupancy, environment, bookings, sensors. Read-only, OAuth 2.1 login.
Book desks and meeting rooms, see who's in the office, and manage your workplace in Officely.
Read bookings, guests and availability; create, update or cancel bookings in resOS.
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.-
- FlicenseBqualityDmaintenanceEnables natural language booking and management of rooms in Nexudus coworking spaces, including listing rooms, checking availability, booking, viewing/cancelling bookings, and schedules.6-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to search for available desk space, submit room reservations, and let admins approve or reject booking requests through a scoped MCP API.-