---
title: "Deploy Keeper.sh"
description: "Calendar sync for Google, Outlook, iCloud and CalDAV, with an MCP server"
category: "Other"
url: https://railway.com/deploy/keepersh
---

# Deploy Keeper.sh

Calendar sync for Google, Outlook, iCloud and CalDAV, with an MCP server

**[Deploy Keeper.sh on Railway](https://railway.com/template/keepersh)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/keepersh/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save \"\" --appendonly no --maxmemory-policy noeviction"`

### Keeper https://raw.githubusercontent.com/ridafkih/keeper.sh/v2.34.3/applications/web/public/512x512-on-light.png

- **Source:** https://github.com/aalfath/keeper-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host Keeper.sh on Railway

Keeper.sh is an open-source calendar sync tool. It pulls events from Google Calendar, Outlook, iCloud, Fastmail, CalDAV servers and iCal/ICS links, and pushes them to one or more calendars so your busy time lines up everywhere. It also offers a REST API, a combined iCal feed and an MCP server for AI agents.

## About Hosting Keeper.sh

This template deploys Keeper.sh 2.34.3, built from the official `keeper-standalone` image, pinned by digest. One service runs the web app, API, sync scheduler and sync worker, plus the MCP server when the service has 1 GB of RAM. Railway Postgres stores accounts, calendars, events and encrypted credentials on a volume. Railway Redis holds only the job queue and short-lived locks, so it needs no volume, and the stack uses a single volume. Migrations run on every start. The first boot creates an `admin` account with a generated password and closes public sign-up. Open the Keeper service's Variables tab, copy `KEEPER_ADMIN_PASSWORD`, then sign in at your Railway URL.

## Common Use Cases

* Block busy time across work and personal calendars (Google, Outlook, iCloud, CalDAV) to stop double-booking
* Merge several calendars into one private iCal feed, with event names hidden if you want
* Let an AI agent (Claude, ChatGPT, Cursor) read your calendars, find free time and manage events through MCP

## Dependencies for Keeper.sh Hosting

* PostgreSQL (Railway Postgres, with a volume)
* Redis (Railway Redis, job queue only)

### Deployment Dependencies

* Keeper.sh source and docs: https://github.com/ridafkih/keeper.sh
* Template repo (Dockerfile, start script, changelog): https://github.com/aalfath/keeper-railway-template
* Google OAuth app (optional, for Google Calendar): https://support.google.com/cloud/answer/15549257
* Microsoft Entra app (optional, for Outlook): https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app

### Implementation Details

**Services**

* **Keeper**: web UI, API, sync scheduler and worker, plus the MCP server at `/mcp`. Public, health check at `/healthz`.
* **Postgres**: all Keeper data, on a volume.
* **Redis**: the sync job queue and locks. If it restarts, the queue rebuilds itself on the next sync run.

**After deploy:** sign in as `admin` with `KEEPER_ADMIN_PASSWORD`. iCloud, Fastmail, CalDAV and ICS sources work straight away. For Google or Outlook, create an OAuth app with the redirect URIs `https://YOUR-DOMAIN/api/sources/callback/google` (or `/outlook`) and `https://YOUR-DOMAIN/api/auth/callback/google` (or `/microsoft`), then set `GOOGLE_CLIENT_ID`/`GOOGLE_CLIENT_SECRET` or `MICROSOFT_CLIENT_ID`/`MICROSOFT_CLIENT_SECRET` on the Keeper service. To let other people register, set `KEEPER_ALLOW_SIGNUP=true`, and optionally `REGISTRATION_EMAIL_DOMAINS`.

**Memory:** with 1 GB of RAM (Hobby plan or higher), Keeper runs as separate processes, including the MCP server, using about 570 MB. Below 900 MB (Free or Trial plan, 0.5 GB) it switches to a low-memory mode: one process using about 370 MB, with the MCP server off. It runs the same way and restarts on its own if a process stops.

**MCP client** (1 GB plan). Point your client at your instance; it signs in through Keeper's OAuth consent page:

```json
{ "mcpServers": { "keeper": { "type": "url", "url": "https://YOUR-DOMAIN/mcp" } } }
```

**Updates:** the Keeper service builds from the template repo. When we publish a new Keeper version there, Railway shows you an update on the service. Read the repo's `CHANGELOG.md`, then apply it. Migrations run on start.

## Why Deploy Keeper.sh on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Keeper.sh on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Wiki-Go](https://railway.com/deploy/wiki-go) — Flat-file Markdown wiki in Go: no database, generated admin login

Open this page in a browser: https://railway.com/deploy/keepersh
