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
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
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.
List, get, create, update, delete tenant organizations
Per-tenant configuration with status and license info
Tenant state classifications (Active, Suspended, Trial)
List, get, create, update, delete clinic locations
Per-facility capacity limits, lead times, and policies
Facility operating hours by day of week
Schedule and manage patient appointments with staff and stations
Configurable booking stages (Scheduled, Completed, Cancelled)
Manage practitioners with hire dates and facility assignments
Patient records with facility assignments and status tracking
Patient state classifications (Active, Inactive, Discharged)
Patient-facility enrollment associations and primary facility
Service catalog with types, pricing, and duration metadata
Service categories (Infusion, Aesthetic, Diagnostic)
Staff availability by day of week and time range per facility
Staff/resource availability windows by day and time range
Treatment bays and rooms within each facility
Permission roles with RBAC for tenant-scoped access control
Track stock levels, reorder points, shelf life, and lead times
Vendor management with contact info and supply relationships
Physical addresses with type, city, state, country, and ZIP
Address classifications (Home, Office, Billing)
Country reference data with abbreviations
State/province reference data with abbreviations
Email addresses with type classification
Email classifications (Personal, Work)
Phone numbers with type classification
Phone classifications (Mobile, Home, Work)
Notification classifications (Reminder, Cancellation)
Reusable message templates for notifications
Read-only audit trail of sent notifications (list, get)
Facility shift definitions with day-of-week scheduling and role assignments
Read-only audit trail of shift assignments (list, get)
Read-only audit trail of booking changes (list, get)
Notification delivery channels (Email, SMS, WhatsApp, Push)
Schedule lifecycle states (Scheduled, Worked, PTO, Sick, NoShow)
Per-patient/staff notification preferences by type x channel (get, save)
HIPAA-compliant consent records per channel with forensic trail (list, create, revoke)
Push notification device token management (register, unregister)
β¨ 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.