Floyd
Scheduling and booking engine for AI agents. Check availability, hold slots, and confirm appointments with two-phase booking and conflict-free resource management.
Floyd MCP Server
MCP server that exposes Floyd scheduling and booking tools to AI agents. Built on the Model Context Protocol Streamable HTTP transport.
For full API documentation, see docs.floyd.run.
Tools
| Tool | Description |
|---|---|
floyd_get_available_slots | Check available appointment times for a service |
floyd_hold_booking | Place a temporary hold on a time slot |
floyd_confirm_booking | Confirm a held booking (requires explicit user consent) |
floyd_cancel_booking | Cancel a held or confirmed booking |
floyd_reschedule_booking | Move a booking to a new time |
floyd_update_booking | Update a booking's metadata |
floyd_get_booking | Retrieve booking details and status |
Setup
pnpm install
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
FLOYD_BASE_URL | No | https://api.floyd.run/v1 | Floyd API base URL |
PORT | No | 3000 | HTTP server port |
Usage
HTTP mode (Streamable HTTP)
pnpm dev
MCP endpoint: POST /
Health check: GET /health
Stdio mode
pnpm dev -- --stdio
Authentication
When the Floyd engine requires authentication, connecting agents provide their API key via:
Authorization: Bearer <token>header (preferred)?token=<value>query parameter
The API key is forwarded to the Floyd engine on each request. If the engine has auth disabled (e.g. self-hosted), no key is needed.
Booking flow
get_available_slots → hold_booking → confirm_booking
↘ cancel_booking
↘ reschedule_booking
↘ update_booking (metadata)
- Get slots — query available times, returns signed
slotIdtokens - Hold — reserve a slot using the
slotId(or explicit fields). Creates a booking inheldstate - Confirm — finalize the booking. Requires
userConfirmed: true - Cancel — release a held or confirmed booking
- Reschedule — move a booking to a new time, preserving its identity
- Update — attach or replace metadata (e.g. party size, special requests)
Development
pnpm test # run tests
pnpm typecheck # type-check
pnpm lint # eslint
pnpm format # prettier
pnpm build # bundle with tsup
Production
pnpm build
pnpm start
The server handles SIGTERM/SIGINT for graceful shutdown. HTTP requests to the Floyd API have a 10-second timeout.
相關伺服器
Scout Monitoring MCP
贊助Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Trading Simulator
An MCP server for interacting with the Trading Simulator API to simulate trading activities.
Sentinel Signal MCP
Agent tools via MCP for workflow scoring, limits/usage, and feedback (trial key supported)
shadcn/ui
Provides structured data for shadcn/ui components, including descriptions, installation instructions, usage examples, and props.
Mobile Xray MCP
Take screenshots and analyze mobile apps with AI assistance directly from your IDE.
MCP Performance Analysis Server
A server for detecting critical performance issues in code, providing concise analysis and output.
StatsWR MCP Server
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
Crates MCP Server
Query Rust crates from crates.io and docs.rs. Search for crates, get info, versions, dependencies, and documentation.
Sugar
Autonomous AI development system for Claude Code with task queue management and workflow automation.
Remote MCP Server (Authless)
A template for deploying a remote, auth-less MCP server on Cloudflare Workers.
P4 MCP Server
Perforce P4MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system.