Skip to main content

Slotlock

io.github.PILOTAAI/slotlock

v0.12.3Updated Nov 16, 2026local · Docker

Calendars for AI agents: free/busy, next free slot, and bookings PostgreSQL never double-books.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add slotlock -e 'DATABASE_URL=<your-database-url>' -e PORT=8080 -e SLOTLOCK_CONFIRM_WRITES=none -e SLOTLOCK_REST_API=on -e SLOTLOCK_SHARED_LIMITS=off -e SLOTLOCK_WEBHOOKS=on -e SLOTLOCK_TENANT=default -- docker run -i --rm -e DATABASE_URL -e PORT -e SLOTLOCK_CONFIRM_WRITES -e SLOTLOCK_REST_API -e SLOTLOCK_SHARED_LIMITS -e SLOTLOCK_WEBHOOKS -e SLOTLOCK_TENANT ghcr.io/pilotaai/slotlock:0.12.3

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

14 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • DATABASE_URL
    Env var· required· secret
    postgres:// URL of a PostgreSQL 16 or newer database the container can reach, as a role that is not a superuser and has no BYPASSRLS: serve refuses one, since row-level security would not confine it. Without SLOTLOCK_MIGRATE_DATABASE_URL this role also applies the schema, so it must be able to create it.
  • SLOTLOCK_AUTH_TOKEN
    Env var· optional· secret
    Optional bearer token for SLOTLOCK_TENANT, with read and write (never admin): at least 32 random characters (openssl rand -hex 32). Leave it unset to accept only API keys (slotlock key create).
  • SLOTLOCK_CONFIRMATION_SECRET
    Env var· optional· secret
    Signs pending write confirmations: at least 32 random characters, different from the token. Required unless SLOTLOCK_CONFIRM_WRITES is none.
  • SLOTLOCK_METRICS_TOKEN
    Env var· optional· secret
    Serves Prometheus metrics at /metrics to this bearer token: at least 32 random characters, different from every other secret. Off without it.
  • SLOTLOCK_MIGRATE_DATABASE_URL
    Env var· optional· secret
    postgres:// URL of the schema owner. When set, migration runs as this role and grants the DATABASE_URL role only what it needs at runtime.
  • PORT
    Env var· optional
    Port the server listens on inside the container.Default: 8080
Show 8 more
  • SLOTLOCK_CONFIRM_WRITES
    Env var· optional
    Writes that wait for a person to confirm them: none, all, or a comma-separated list of slotlock_create_event, slotlock_book_together, slotlock_book_pool, slotlock_update_event, slotlock_delete_event, slotlock_confirm_slot, slotlock_reschedule, slotlock_cancel. Listing one also guards the tool that makes the same write (slotlock_cancel with slotlock_delete_event, slotlock_reschedule with slotlock_update_event, slotlock_confirm_slot with slotlock_create_event). Clients without MCP 2026-07-28 form elicitation have guarded writes refused.Default: none
  • SLOTLOCK_AVAILABILITY
    Env var· optional
    JSON array of weekly bookable-hours rules, e.g. [{"rrule":"FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR","startMinutes":540,"durationMinutes":480}]. Without rules no slot is ever offered.
  • SLOTLOCK_REST_API
    Env var· optional
    on: also serve the tools as a REST API under /v1, and the application API (resources, bookable hours, holds, reservations, coverage, maintenance) for admin keys, described by an OpenAPI 3.1 document at /openapi.json. Writes that wait for confirmation answer 428 there. off: MCP and A2A only.Default: on
  • SLOTLOCK_RETENTION_DAYS
    Env var· optional
    Days of history kept: the change feed (who made each change included) and how far back a cursor reaches, and ended waitlist entries; retried writes are answered for at least 30 days whatever it is. 1-3650; default 30.
  • SLOTLOCK_SHARED_LIMITS
    Env var· optional
    on: tenant request budgets (SLOTLOCK_LIMITS' tenant_* and app_*) are shared by every server of a deployment through PostgreSQL, so N servers allow a tenant its rate once, not N times. off: each server keeps its own.Default: off
  • SLOTLOCK_WEBHOOKS
    Env var· optional
    on: deliver each tenant's changes to its webhooks (POST /v1/webhooks), signed as Standard Webhooks; never to a private network address. private: those too, for testing. off: keep the change feed (GET /v1/changes), send nothing.Default: on
  • SLOTLOCK_TENANT
    Env var· optional
    The tenant SLOTLOCK_AUTH_TOKEN acts in; API keys act in their own tenant.Default: default
  • -p
    Argument· optional
    Publish the server on this machine's loopback interface only.

Listed in the official MCP Registry since Nov 16, 2026. Mirrored daily; last checked Nov 26, 2026.