MCP Server & AI Agent
Two AI integration layers: 515 tools (477 entity + 34 workflow + 4 utility) power the in-dashboard agent with constraint validation, facility snapshots, availability checks, schedule generation, time-off lifecycle, onboarding invites, booking invites, identity resolution, and specialty-aware demo seeding for infusion clinics, cancer centers, and medspas. A separate MCP server provides full API parity across 96 entity types for external AI clients like Claude Code and Cursor.
π¬ 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 Β· 515 tools
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
API Layer
Streaming Proxy
AI Engine
Claude Models
Tool Layer
515 Tools
REST API
Business Logic
Database
Persistent Storage
Admin UI
Chat Interface
API Layer
Streaming Proxy
AI Engine
Claude Models
Tool Layer
515 Tools
REST API
Business Logic
Database
Persistent Storage
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.
Authenticated Operations
Every tool call runs with the userβs identity, ensuring role-based access control and tenant scoping are enforced at every layer.
SSE Streaming
Responses stream via Server-Sent Events, delivering text token-by-token and tool call status updates in real time.
MCP Tools Across 96 Entity Types
The MCP server exposes the full facility scheduling API surface as individually callable tools for external AI clients. Each tool includes parameter validation, safety guards, and detailed descriptions.
β¨ Agent Features
Purpose-built chat interface with workflow-driven AI 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.
Specialty-Aware Demo Seeding
Six workflow tools create realistic, fully-integrated demo environments tailored to three healthcare specialties. Each specialty brings its own service catalog, supply chain, staffing matrices, and facility configuration β seeded in dependency order so everything is cross-linked from day one.
Explore More
Dive into other areas of the platform.
Overview
Platform overview, tech stack, and project summary for the full FacLT scheduling system.
Features
Booking engine, schedule generation, patient self-scheduling, supply chain, dashboards, two-way SMS, and AI agent workflows.
Architecture
Eight-project architecture, 133 domain entities, CQRS layers, 95 API endpoint groups, 309 web components, and native mobile apps.
Mobile
Native Android apps for staff and patients built with Kotlin and Jetpack Compose, powered by the same REST API and MCP server.