Skip to content
MCP server
Registry

Slotlock MCP Server

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

Slotlock scores 64 (Good), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It declares 1 tool. Filed under Databases, Productivity. GitHub shows 1 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by pilotaaiApache-2.0TypeScript1 stars
Trust score
64Good
Trust score 64 of 100, Good

Good trust

64 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 64 comes from

22 + 20 + 1 + 10 + 4 + 7 = 64. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "pilotaai-slotlock": {      "command": "docker",      "args": [        "run",        "-i",        "--rm",        "ghcr.io/pilotaai/slotlock:0.12.3"      ],      "env": {        "DATABASE_URL": "YOUR_DATABASE_URL",        "SLOTLOCK_AUTH_TOKEN": "YOUR_SLOTLOCK_AUTH_TOKEN",        "SLOTLOCK_CONFIRMATION_SECRET": "YOUR_SLOTLOCK_CONFIRMATION_SECRET",        "SLOTLOCK_METRICS_TOKEN": "YOUR_SLOTLOCK_METRICS_TOKEN",        "PORT": "8080",        "SLOTLOCK_MIGRATE_DATABASE_URL": "YOUR_SLOTLOCK_MIGRATE_DATABASE_URL",        "SLOTLOCK_CONFIRM_WRITES": "none",        "SLOTLOCK_AVAILABILITY": "",        "SLOTLOCK_REST_API": "on",        "SLOTLOCK_RETENTION_DAYS": "",        "SLOTLOCK_SHARED_LIMITS": "off",        "SLOTLOCK_WEBHOOKS": "on",        "SLOTLOCK_TENANT": "default"      }    }  }}

Environment variables

NameRequiredNotes
DATABASE_URLSecretRequiredpostgres:// 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_TOKENSecretOptionalOptional 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_SECRETSecretOptionalSigns pending write confirmations: at least 32 random characters, different from the token. Required unless SLOTLOCK_CONFIRM_WRITES is none.
SLOTLOCK_METRICS_TOKENSecretOptionalServes Prometheus metrics at /metrics to this bearer token: at least 32 random characters, different from every other secret. Off without it.
PORTOptionalPort the server listens on inside the container.
SLOTLOCK_MIGRATE_DATABASE_URLSecretOptionalpostgres:// URL of the schema owner. When set, migration runs as this role and grants the DATABASE_URL role only what it needs at runtime.
SLOTLOCK_CONFIRM_WRITESOptionalWrites 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.
SLOTLOCK_AVAILABILITYOptionalJSON 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_APIOptionalon: 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.
SLOTLOCK_RETENTION_DAYSOptionalDays 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_LIMITSOptionalon: 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.
SLOTLOCK_WEBHOOKSOptionalon: 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.
SLOTLOCK_TENANTOptionalThe tenant SLOTLOCK_AUTH_TOKEN acts in; API keys act in their own tenant.

Tools1Tool docs quality grade F

All capabilities

About

Slotlock

Slotlock is a calendar for AI agents. It books vehicles, rooms, machines, people or anything else reservable, answers "when is this free?" from weekly availability rules, and lets PostgreSQL reject double bookings, however many writers race. Agents call it over MCP or A2A; your code calls it as a TypeScript library.

Why it is built for agents

  • Resources own calendars, not users, and the tenant comes only from the authenticated caller.
  • Intervals are half-open [start, end), so back-to-back bookings never collide.
  • A PostgreSQL exclusion constraint decides overlaps; a conflict comes back as data, not an error.
  • Writes are idempotent and take an expected revision.
  • Free/busy says whether it is certain: a calendar not yet synced makes time unproven, not free.
  • Tool names, schemas and errors work on Claude, OpenAI and every MCP host.

Get started

The documentation is at slotlock.pylota.io/docs, with a page each for the booking MCP server, the booking API, use cases and pricing. There are three ways to run Slotlock:

  • Slotlock Cloud: nothing to run. Sign in with GitHub or Google at https://app.slotlock.pylota.io/dashboard, create a key, and connect an agent to https://slotlock-api.pylota.io/mcp. Start on Free, with no card; Developer and Team add room for agents in production (pricing). Best effort, with no service level agreement.
  • Self-host with Docker, or from npm with Self-hosting.
  • As a TypeScript library inside your own Node.js service.

Self-host with Docker

From a clone of this repository:

scripts/quickstart-env.sh > .env    # .env.example, its four secrets set to openssl rand -hex 32
docker compose up --build --detach
docker compose exec slotlock slotlock resource add vehicle-42 --timezone Europe/London
URLWhat
http://localhost:8080/mcpMCP, with Authorization: Bearer <SLOTLOCK_AUTH_TOKEN>
http://localhost:8080/a2aA2A 1.0, same token; card at /.well-known/agent-card.json
http://localhost:8080/v1/…REST: the tools, and the application API for admin keys; described at /openapi.json
http://localhost:8080/healthzReadiness, including the database
http://localhost:8080/metricsPrometheus metrics, with Authorization: Bearer <SLOTLOCK_METRICS_TOKEN>; off without it

The server listens on 127.0.0.1:8080, as a database role that cannot bypass row-level security. .env.example makes every resource bookable on weekdays 09:00 to 17:00 and every write wait for a person. The Quickstart walks through it with Claude Code; Self-hosting covers the published image, configuration and commands, and Operations the production checklist.

Quick start: the next free slot

npm install slotlock postgres

Node.js 22.12+, PostgreSQL 16 or newer with btree_gist (created for you if missing), and postgres ^3.4.5 as a peer dependency. TypeScript declarations are included. The availability maths needs no database:

import { expandRules, findNextAvailable } from 'slotlock';

const searchWindow = {
  start: new Date('2026-09-14T00:00:00Z'),
  end: new Date('2026-09-21T00:00:00Z'),
};

const windows = expandRules(
  [{ rrule: 'FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR', startMinutes: 9 * 60, durationMinutes: 8 * 60 }],
  searchWindow,
  'Europe/London',
);

export const slot = findNextAvailable({
  windows,
  busy: [{ start: new Date('2026-09-14T09:00:00Z'), end: new Date('2026-09-14T10:00:00Z') }],
  durationMs: 2 * 60 * 60 * 1000,
});
// slot: 2026-09-14 10:00–12:00 UTC, the first two free hours after the busy one

The TypeScript library guide sets up PostgreSQL, then books, holds and reads time under row-level security.

Connect an agent

Point any Streamable HTTP MCP client at http://localhost:8080/mcp with the token (on Slotlock Cloud, https://slotlock-api.pylota.io/mcp with an API key). Claude Code:

claude mcp add --transport http slotlock http://localhost:8080/mcp \
  --header "Authorization: Bearer $SLOTLOCK_AUTH_TOKEN"

On Slotlock Cloud, Claude Code can also install Slotlock as a plugin: its tools, and skills for booking without double-booking and for setting Slotlock up in a project. Put your API key in SLOTLOCK_API_KEY, then:

/plugin marketplace add PILOTAAI/slotlock
/plugin install slotlock@slotlock

Cursor, VS Code, the Claude API and the MCP and A2A SDKs are in Connect an agent, and every slotlock_* tool's input, output and errors in the Tools reference.

Documentation

ForRead
Running itQuickstart, Self-hosting, Slotlock Cloud
API keys and scopesAPI keys
Bookable hours and booking rulesHours and booking rules
The dashboard, organizations and the assistantDashboard, on Cloudflare Workers
Agents: tools, errors and protocolsConnect an agent, Tools reference, Protocol reference
REST, the application API, changes and webhooksREST API, Protocol reference
The library: store, holds, waitlistsTypeScript library
Recurring eventsRecurring events
External calendars and iCalendarExternal calendars
Rate limits and tenant limitsLimits
Maintenance, retention and the production checklistOperations
Scaling and benchmarksScaling, Benchmarks
Clients for Python, Go, Rust, Java and .NETClients
Concepts and the security modelConcepts, Security, SECURITY.md
The exact rulesSPEC.md

Supported versions

Version
MCP2026-07-28 (stateless), 2025-11-25, 2025-06-18
A2A1.0, JSON-RPC binding
MCP Appsio.modelcontextprotocol/ui 2026-01-26
Node.js≥ 22.12 (CI: 22 and 24; the image runs 24)
PostgreSQL16, 17 and 18 (CI runs the database suites on each; Compose ships 18)
postgres (peer)^3.4.5

0.2.0 and older can double-book around daylight-saving changes: known issues.

Project status and boundaries

Slotlock is availability maths, holds and reservations, events with recurrence, coverage-aware free/busy, tenant isolation, iCalendar interchange, MCP and A2A with human confirmation and live updates, an MCP Apps view, REST with the application API, scoped API keys, a GitHub sign-in dashboard, maintenance, and clients for five languages. Hosted Slotlock runs it for you, or you self-host it. Provider sync (Google, Microsoft, CalDAV), notifications to people, and a human calendar app are yours to build around it. What each version promises is in VERSIONING.md.

Events need a finite duration (all-day events are whole local days; one event may last 3,660 days). Open-ended entries are refused rather than guessed.

The normative rules are in SPEC.md; tools can read slotlock.manifest.json without running package code. Report vulnerabilities as described in SECURITY.md. See CONTRIBUTING.md and GOVERNANCE.md for how the project runs.

License

Apache-2.0. Copyright 2026 TREFT LTD. Dependency notices are in NOTICE.

Frequently asked questions

What is Slotlock MCP Server?

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

How do I install Slotlock MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Slotlock MCP Server is published as the Docker image ghcr.io/pilotaai/slotlock:0.12.3.

Is Slotlock MCP Server free and open source?

Yes. Slotlock MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

What tools does Slotlock MCP Server provide?

Slotlock MCP Server provides 1 tool: normalizeExternalCalendarChange. See the full tool list for descriptions and parameters.

How is Slotlock MCP Server's trust score calculated?

Slotlock MCP Server scores 64 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server