πŸ€– AI-Powered Facility Management

MCP Server & AI Agent

Control the entire facility scheduling platform with natural language. A 202-tool MCP server connected to Claude enables multi-step administration tasks β€” manage bookings, assign staff, track supplies, configure facilities β€” all from a single conversational interface.

πŸ’¬ Natural Language Administration

See how the FacLT Agent handles a multi-step scheduling request β€” from checking availability to confirming the booking in natural language.

FacLT Agent

Claude Sonnet 4 Β· 202 tools available

Book Jane Smith for an IV Iron Infusion at the Downtown clinic tomorrow at 9am with Dr. Martinez in Bay 3
βœ“get_facilitiesβ€” Found Downtown Infusion Center
βœ“get_patientsβ€” Found Jane Smith (ID: patient-1)
βœ“get_staffβ€” Found Dr. Martinez (ID: staff-3)
βœ“get_servicesβ€” IV Iron Infusion β€” 90 min
βœ“get_stationsβ€” Bay 3 available
βœ“create_bookingβ€” Booking confirmed

Done! I've booked the appointment:

Patient: Jane Smith

Service: IV Iron Infusion (90 min)

Facility: Downtown Infusion Center

Station: Bay 3

Staff: Dr. Martinez

Time: Mar 13, 2026 at 9:00 AM

Status: Confirmed

βš™οΈ Architecture

The agent chat runs server-side through a Next.js API route. The user's auth token is forwarded to every MCP tool call, ensuring all actions respect permissions and tenant boundaries.

Admin UI

Chat Interface

Next.js API

SSE Route

Claude API

Anthropic SDK

MCP Server

202 Tools

.NET 10 API

REST Endpoints

SQL Server

EF Core 10

Server-Side Execution

All tool calls execute on the server via the Next.js API route. No MCP credentials or API keys are exposed to the browser.

Auth Token Passthrough

The authenticated user’s JWT is forwarded to every .NET API call, ensuring RBAC and tenant scoping are enforced at the API layer.

SSE Streaming

Responses stream via Server-Sent Events, delivering text token-by-token and tool call status updates in real time.

πŸ› οΈ 202 Tools Across 39 Categories

The MCP server exposes the full facility scheduling API surface as individually callable tools. Each tool includes parameter validation, safety guards, and detailed descriptions for the AI agent.

5Tenants

List, get, create, update, delete tenant organizations

5Tenant Settings

Per-tenant configuration with status and license info

5Tenant Statuses

Tenant state classifications (Active, Suspended, Trial)

5Facilities

List, get, create, update, delete clinic locations

5Facility Settings

Per-facility capacity limits, lead times, and policies

5Hours of Operation

Facility operating hours by day of week

5Bookings

Schedule and manage patient appointments with staff and stations

5Booking Statuses

Configurable booking stages (Scheduled, Completed, Cancelled)

5Staff

Manage practitioners with hire dates and facility assignments

5Patients

Patient records with facility assignments and status tracking

5Patient Statuses

Patient state classifications (Active, Inactive, Discharged)

5Patient Facilities

Patient-facility enrollment associations and primary facility

5Services

Service catalog with types, pricing, and duration metadata

5Service Types

Service categories (Infusion, Aesthetic, Diagnostic)

5Schedules

Staff availability by day of week and time range per facility

5Availability

Staff/resource availability windows by day and time range

5Stations

Treatment bays and rooms within each facility

5Roles

Permission roles with RBAC for tenant-scoped access control

5Supplies

Track stock levels, reorder points, shelf life, and lead times

5Suppliers

Vendor management with contact info and supply relationships

5Addresses

Physical addresses with type, city, state, country, and ZIP

5Address Types

Address classifications (Home, Office, Billing)

5Countries

Country reference data with abbreviations

5States

State/province reference data with abbreviations

5Email Addresses

Email addresses with type classification

5Email Address Types

Email classifications (Personal, Work)

5Phones

Phone numbers with type classification

5Phone Types

Phone classifications (Mobile, Home, Work)

5Notification Types

Notification classifications (Reminder, Cancellation)

5Notification Templates

Reusable message templates for notifications

2Notification Log

Read-only audit trail of sent notifications (list, get)

7Shifts

Facility shift definitions with day-of-week scheduling and role assignments

2Shift Logs

Read-only audit trail of shift assignments (list, get)

2Booking Logs

Read-only audit trail of booking changes (list, get)

5Channel Types

Notification delivery channels (Email, SMS, WhatsApp, Push)

5Schedule Statuses

Schedule lifecycle states (Scheduled, Worked, PTO, Sick, NoShow)

2Notification Preferences

Per-patient/staff notification preferences by type x channel (get, save)

4Messaging Consents

HIPAA-compliant consent records per channel with forensic trail (list, create, revoke)

2Device Registrations

Push notification device token management (register, unregister)

202 Tools Total

✨ Agent Features

Purpose-built chat interface for facility scheduling administration.

Per-Conversation Model Selection

Choose the Claude model for each chat session β€” Haiku for quick queries, Sonnet or Opus for complex multi-step operations.

SSE Streaming

Real-time Server-Sent Events streaming delivers agent responses token-by-token as they are generated.

Tool Call Visualization

Every MCP tool call is displayed with expandable input/output, status indicators (running, success, error), and timing.

Persistent Chat History

Conversations are saved to localStorage so you can pick up where you left off across browser sessions.

Custom Markdown Rendering

Agent responses render rich markdown including tables, code blocks, lists, bold/italic, and inline code.

Destructive Action Safeguards

The MCP server includes safety guards that prevent deletion of system tenants, default roles, and reference data.

Auth Token Passthrough

The user's authentication token is forwarded to every MCP tool call, ensuring all actions respect RBAC and tenant scoping.

Mobile-Optimized Layout

Responsive chat interface adapts to any screen size with touch-friendly controls and compact tool call display.

Explore the Full Platform

The MCP server and AI agent are part of a comprehensive facility scheduling platform with booking management, staff scheduling, supply chain tracking, and more.