mcpField
D
deltat

deltat

Local
delt.atProductivity9Updated 3w ago

About deltat

deltat is a calendar-booking MCP server for agents that need to propose times before a human confirms. Its find, hold, and commit flow reserves availability temporarily and commits bookings atomically, including across multiple calendars.

Key features

  1. 01Find available slots across calendars
  2. 02Temporarily hold slots before confirmation
  3. 03Commit or release holds
  4. 04Book multiple calendars atomically
  5. 05Return alternative times on conflicts
  6. 06List and cancel bookings

Use cases

  1. 01Offer a time while awaiting confirmation
  2. 02Schedule a room and equipment together
  3. 03Suggest alternatives when a slot is taken
  4. 04Manage appointments and cancellations

MCP support

The server exposes calendar tools to MCP clients, backed by a deltat database. Booking follows find_slots, hold_slot, and commit_hold; the package currently provides a stdio server.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"open-deltat-deltat": {
"command": "npx",
"args": [
"-y",
"@open-deltat/mcp"
],
"env": {
"DELTAT_PASSWORD": "<DELTAT_PASSWORD>",
"DELTAT_HOST": "<DELTAT_HOST>",
"DELTAT_PORT": "<DELTAT_PORT>",
"DELTAT_DATABASE": "<DELTAT_DATABASE>",
"DELTAT_USER": "<DELTAT_USER>",
"DELTAT_TLS": "<DELTAT_TLS>",
"DELTAT_TLS_CA": "<DELTAT_TLS_CA>"
}
}
}
}
Run commandnpx -y @open-deltat/mcp
Environment variables to set
DELTAT_PASSWORDSecretPassword for the deltat server. Required; there is no default.
DELTAT_HOSTHostname of the deltat server.
DELTAT_PORTPort deltat listens on.
DELTAT_DATABASETenant to connect to. Each database name is an isolated tenant.
DELTAT_USERUsername presented at connect time.
DELTAT_TLSon to encrypt the connection and verify deltat's certificate. Unset means off unless DELTAT_TLS_CA is set; without TLS the password is sent in the clear, so use it for any deltat that is not on this machine.
DELTAT_TLS_CAPath to a PEM certificate to trust instead of the system's authorities, for a deltat with a self-signed certificate. Implies DELTAT_TLS=on.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@open-deltat/mcp0.2.0

Tools

9

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
namestringYes
hoursarrayNoWeekly open hours; empty means no availability
timezonestringNoIANA timezone, e.g. Europe/Berlin
slot_minutesintegerNo

Details

From the project README

@open-deltat/mcp

Give an agent a calendar it can actually book on, without ever double-booking.

npx @open-deltat/mcp

Most scheduling APIs give an agent one verb: book. That is fine for a form submission and wrong for an agent, because an agent takes seconds to decide. It reads that 14:30 is free, says "how about 14:30?", waits for a human to answer, and by then someone else has taken it. Checking and booking are two separate moments, and everything in between is a race.

This server has no one-step booking verb. Booking is:

find_slots  →  hold_slot  →  commit_hold

The hold is the point. It reserves the slot for a few minutes, so between offering a time and confirming it, that time is yours and nobody else can take it. Holds expire on their own, so an abandoned conversation cleans itself up and holding costs nothing.

Underneath is deltat, a database whose one invariant is that two bookings can never occupy the same span. The refusal comes from the storage engine, not from application code that checked first and hoped.

Tools

ToolUse it when
find_slotsBefore offering anyone a time. Lists what is genuinely free, on every calendar you name.
hold_slotThe moment you are about to name a specific time to a human. Returns hold_ids.
commit_holdThe booking is confirmed. Turns every hold into a booking, atomically.
release_holdYou know the held time is not wanted. Frees it immediately.
create_calendarA new bookable calendar is needed. Returns the calendar_id.
set_availabilityOpening hours change, or find_slots returns nothing. Replaces the whole week.
list_bookingsSomeone asks what is scheduled, or you need a booking_id to cancel.
cancel_bookingA human asked for a confirmed booking to be cancelled.
book_slotNever. It exists only to refuse and point you at hold_slot + commit_hold.

That last row is deliberate. Every other calendar API has a one-step booking verb, so models reach for one here and find nothing. Rather than let that become a hallucinated tool call or an abandoned conversation, the verb is registered and refuses, explaining the two real steps in the response. It never books anything.

Times cross the boundary as RFC 3339 strings with a mandatory offset, never bare epoch milliseconds. A zoneless timestamp is rejected rather than silently interpreted in whatever zone the process runs in. Errors come back with a typed prefix to branch on: CONFLICT (pick another slot), EXPIRED (re-hold), INVALID, NOT_FOUND.

A refusal tells you when

When a slot is taken or the time falls outside opening hours, the refusal carries the times that would have worked, so an agent can counter-offer in the same turn instead of starting over:

{
  "error": "CONFLICT",
  "booked": false, "held": false, "reserved": false,
  "retry_same_time": true,
  "alternatives": [
    { "start": "2026-06-01T12:00:00.000Z", "end": "2026-06-01T13:00:00.000Z",
      "start_local": "1 Jun 2026, 2:00 pm" }
  ],
  "next": "These times were free a moment ago but are NOT reserved. Offer one, then call hold_slot on it before you tell anyone it is theirs."
}

On a live phone call that removes a whole model turn, which is otherwise silence.

reserved is always false, and it is stated rather than implied because a model that skims to alternatives must not conclude something was set aside. An alternative is a time that was free; taking one still means calling hold_slot.

A refusal with nothing to offer keeps the plain CODE: message shape, so a kernel with counter-offers disabled (DELTAT_COUNTER_OFFER=0) or one older than the feature behaves exactly as before.

Book several calendars together

A camera body, its lens and the crew. A surgeon and an operating room. An appointment and the drive to it. Pass every calendar to the same three tools:

find_slots({ calendar_ids: [body, lens, crew], from, to })    times when ALL are free
hold_slot({ calendar_ids: [body, lens, crew], start, end })   holds every one, or none
commit_hold({ hold_ids, label })                              books every one, or none

One calendar is the same call with a one-item list. The commit is a single record in deltat, so neither a competing booker nor a crash can leave the body booked and the lens free.

When a kit is refused, the alternatives are times when every calendar is free for the same length, never the time just refused, in the same shape as above.

Configure it

You need a deltat server, 0.4.0 or later. Self-host it with Docker:

docker run -p 5433:5433 -e DELTAT_PASSWORD=<your-password> ghcr.io/open-deltat/deltat

Then add the MCP server. In Claude Code:

claude mcp add deltat \
  --env DELTAT_HOST=localhost \
  --env DELTAT_PORT=5433 \
  --env DELTAT_DATABASE=public \
  --env DELTAT_PASSWORD=<your-password> \
  -- npx -y @open-deltat/mcp

In Claude Desktop, edit claude_desktop_config.json and restart:

{
  "mcpServers": {
    "deltat": {
      "command": "npx",
      "args": ["-y", "@open-deltat/mcp"],
      "env": {
        "DELTAT_HOST": "localhost",
        "DELTAT_PORT": "5433",
        "DELTAT_DATABASE": "public",
        "DELTAT_PASSWORD": "<your-password>"
      }
    }
  }
}

DELTAT_PASSWORD is required and has no default; the server refuses to start without it rather than trying a guessable one. Everything else defaults to a local deltat on localhost:5433, database public. Each database name is an isolated tenant.

Then just ask: "Create a calendar called Haircuts open weekday afternoons, then book me the first free 30-minute slot tomorrow."

Authentication, honestly

This stdio server has no login. The deltat password in your config is the credential, and the server runs with your user's permissions. That is the single-operator self-host model: you own the deltat, you own the agent, and it needs no OAuth.

A hosted multi-tenant server is a different problem. There an agent authenticates with OAuth 2.1: the server answers an unauthenticated call with 401 plus protected-resource metadata (RFC 9728), and a capable client runs authorization-code + PKCE itself, registering via a Client ID Metadata Document with one-time human consent. The OidcAdapter in this package is the resource-server half of that, verifying a bearer JWT offline against the issuer's JWKS with no per-request network call.

That hosted transport is not in this package yet. The stdio server above is what runs today.

Embed it

import { createDeltatMcpServer } from "@open-deltat/mcp";
import { DeltaT } from "@open-deltat/client";

const server = createDeltatMcpServer(new DeltaT({ /* ... */ }));
await server.connect(yourTransport);

Prove it end to end

With a deltat running:

bun scripts/smoke.ts

drives the whole loop through an in-memory MCP client and asserts the round trip (create → availability → find → hold → commit → list → cancel).

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.