---
title: "Deploy Command"
description: "Self-hosted server for the Command planner app (REST + MCP over SQLite)"
category: "Other"
url: https://railway.com/deploy/command
---

# Deploy Command

Self-hosted server for the Command planner app (REST + MCP over SQLite)

**[Deploy Command on Railway](https://railway.com/template/command)**

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

- **Creator:** legitimate apps's Projects
- **Category:** Other
- **Total deploys:** 3

## Template content

### command

- **Image:** ghcr.io/legitimate-apps/command-server:latest
- **Health check:** /api/health
- **Public domain:** Yes

## Documentation

# Deploy and Host Command on Railway

Command is a self-hosted server for the Command planner app: notes, calendar, goals and delegation, served as a REST API for the iOS app and an MCP server for AI agents, all over a single SQLite database.

## About Hosting Command

This template runs the official `ghcr.io/legitimate-apps/command-server` image as one service with a persistent volume at `/data` (the SQLite database and self-generated server secrets live there) and a public HTTPS Railway domain. No configuration is required: press Deploy, wait for the service to turn green, then copy the service's `https://…up.railway.app` domain into the Command app.

## Common Use Cases

- Run your own private backend for the Command iOS / iPad / Mac app
- Give an AI agent (via MCP) access to your notes, goals and assignments
- Keep your planning data on infrastructure you control

## Dependencies for Command Hosting

- A Railway volume mounted at `/data` (included)
- Optional: an OpenRouter API key (`COMMAND_AI_API_KEY`) to enable the in-app assistant

### Deployment Dependencies

- Source code and documentation: https://github.com/legitimate-apps/command

## Why Deploy Command 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 Command 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) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

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