Documentation

Everything you need to install cemainou on your own server and get your team working in it. The full guide also ships in the archive: docs/installation.md.

What cemainou is

A web app you install on your own server, plus an MCP server your team’s AI agents use to write to it. People use the app in the browser or install it on their phone; agents (Claude, ChatGPT, Cursor, Codex, Gemini) connect over MCP to make plans, add tasks, pick them up and report what they’ve done.

Everyone sees what’s relevant to them: the team sees the projects, the lead sees what’s moving and what’s stuck, a collaborator sees only their own projects, and a client sees only their project, with no hours and nothing internal.

What runs on the server

A single Laravel application. It installs no services, runs no background processes and sends nothing out unless you tell it to.

  • The web app, for people, at an address of your choice (for example https://team.example.com).
  • The MCP server, for agents, at /mcp on the same address, using a key per agent or, for apps, OAuth sign-in.
  • The data/ folder, which holds everything your installation stores: settings (.env, including the application key), the SQLite database, files, backups, sessions and logs. You can replace the code at any time without touching data/.

Requirements

  • PHP 8.4 or newer, with mbstring, openssl, fileinfo, intl, zip, ctype, tokenizer, dom and pdo_sqlite (or pdo_mysql); sodium if you want to update from the browser.
  • A database: SQLite (recommended, no setup needed) or MySQL 8 / MariaDB 10.2.
  • PHP needs write access to data/, storage/ and bootstrap/cache/.
  • The site’s document root pointing to the public/ folder. If your host doesn’t allow that, an .htaccess file in the archive routes everything through public/.
  • HTTPS: agents only connect over https.
  • Disk space: the archive is 26 MB and the installed app around 125 MB; we recommend starting with about 1 GB free.

What grows over time. The database stays small (a few MB for hundreds of updates). Most of the space goes to files uploaded to projects and to backups in data/backups: each backup copies the database and the files, and the last 7 are kept by default. To save space, keep fewer backups (Settings → Backup) or move them to another disk now and then.

It runs on regular shared hosting (DirectAdmin, cPanel), on a VPS or in Docker. The installer checks all of the above automatically and tells you what’s missing.

Installation

  1. Download the archive from the main page, upload it to its own folder on your hosting and extract it there.
  2. Open the address in your browser. The first visit sets up data/ and takes you to the installer.
  3. The installer checks your server, then asks for the address, the team’s language and time zone, the first admin account and the database.
  4. Click “Install and sign in”: the database is created, you’re signed in as admin, and the installer disappears.
  5. In Admin → Settings, set up email (for invitations and “Forgot your password?”), channels and backup. In Admin → People, invite your team.

From the command line (VPS, Docker, automation): after step 1, run the same installation without a browser:

php artisan cemainou:install --url=https://cemainou.example.com --email=you@example.com --name="Your Name"

Passwords never go in the command: you’re prompted for them (input is hidden), they’re read from CEMAINOU_ADMIN_PASSWORD and CEMAINOU_DB_PASSWORD, or the admin password is generated with --generate-password. For MySQL, add --db=mysql --db-host=... --db-name=... --db-user=....

SQLite or MySQL? SQLite, the default, is the right choice for most teams: a single file, no database server, and fast enough for dozens of people. Choose MySQL / MariaDB if your host stores files on a network drive, if your company already runs a managed MySQL, or if you have hundreds of people active at the same time. Both are tested equally.

Store the APP_KEY from data/.env somewhere safe: it encrypts the secrets in Settings (the email password, the channel credentials).

Connecting agents

Each person connects once, from Profile → Agents and apps, by answering one question: where do you use your agent?

On my computer (recommended)

You get a single message to paste into your agent’s chat, and the agent runs it (or a single command, if you prefer the terminal). It finds Claude Code (in the terminal, the Claude desktop app and editors), Cursor, Codex and Gemini CLI and connects all of them: the MCP server, the /upd shortcut and the hooks that track working time. The code it contains can be used once and expires after 10 minutes.

Only in a chat app (Claude or ChatGPT)

On your computer or phone, add a custom connector with the address https://your-address/mcp. The app opens cemainou, you sign in and click “Allow”. No commands to run, no keys to copy.

Three checkmarks turn green on their own: the key, the first session and the first tools used. If one stays grey, the page tells you what to do.

Working time

With Claude Code, Cursor and Codex, time is tracked automatically from the agent’s sessions (through hooks). The ChatGPT and Claude apps have no way of knowing when you’re working, so just tell the agent (“I worked two hours on the town hall site”) or add the time in cemainou. Everything else (plans, tasks, updates, reports) works the same with any agent.

What the agent can do

Report what you’ve done (/upd: the agent drafts the update from the conversation and from git, and you confirm it), view and pick up tasks, add new ones, plan a new project, and read the project’s context and what your colleagues have done. The agent only sends what you approve; your code, files and conversations stay on your side.

Connection trouble?

Problems real users have run into, each with its fix. The connection window in your Profile shows right away whether it worked and what’s missing.

“Claude Code is not installed or not in PATH”

The command automatically checks the usual install locations for Claude Code. If it still can’t find it, either install it (curl -fsSL https://claude.ai/install.sh | bash, then open a new terminal) or use only the Claude desktop app: the command works even without Claude Code in a terminal.

I only use the Claude desktop app

In the connection window, copy the text “for your agent” and paste it into the chat: the agent runs our command exactly as written. Then restart the app. Don’t let the agent set things up on its own: it would only add the server, without time tracking.

I have an old “whatsupai” server

Run the command from your Profile again: it replaces it with “cemainou”, issues a new key and keeps the rest of your settings.

“A command takes file @-mentions but no other…”

That’s a message from the Claude desktop app. Send the / command on its own, with no text or links after it, and put the rest in your next message.

The agent works, but time isn’t being tracked

The hooks are missing: run the command from your Profile again, exactly as given, and start a new session. With the ChatGPT and Claude apps (connector), time can’t be tracked automatically: just tell the agent.

“The connect code has expired”

The command can be used once and expires after 10 minutes. Generate a new one from Profile → Agents and apps.

“The server does not accept the key”

The key has been revoked or the account is inactive. Reconnect from your Profile; if that doesn’t work, ask an admin.

Something else? Email cmn@rt.md with the exact message from the terminal.

People and roles

  • Admin: settings, people, updates, backup.
  • Lead: runs projects, assigns tasks and sends monthly reports to clients.
  • Member: works on the team’s projects.
  • Collaborator: someone from outside the team; sees only the projects they’ve been added to.
  • Client: sees only their own project, with no hours and nothing internal; can send requests and point to spots on their site to show what should change.

Clients don’t count toward the 5 free people.

Badges and time off

Badges reward good habits: reporting regularly, unblocking colleagues, recording decisions, closing tasks with proof, taking breaks. Never long hours, and people are never ranked against each other. They’re calculated from what’s already in cemainou; each has up to three tiers, and a few are secret. When you earn a new one, it shows up full screen; your profile shows how close you are to the next tier. You decide whether the team can see yours, or you can turn them off; admins can turn them off for everyone in Settings and check under Admin → Badges whether they’re helping.

Time off: mark the days you’ll be away in your profile. Your streak won’t break, and colleagues can see on the Today page when you’ll be back.

Email, cron, channels

Email (recommended)

Add an SMTP server in Settings → Email. Without one, invitations are links you send yourself.

Cron (optional)

Without cron, the daily cleanup, the backup and the weekly summary run on the first visit after they’re due. With cron, they run on time:

* * * * * cd /path/to/cemainou && php artisan schedule:run >> /dev/null 2>&1

Email to task, Telegram, Slack (optional)

Each project can have its own email address: anything sent there becomes a task, attachments included. Published updates can be posted to a Telegram group or a Slack channel, and anyone can get their notifications on Telegram. You set all of this up in Settings.

Updates

Admins see on the Today page when a new version is available. You download the archive and upload it on the update page: it’s installed only if it carries the RT signature and every file checks out, and only after a backup. The old code is kept until the next update. If PHP can’t write to the application folder, upload the archive over FTP on top of the existing code, leaving out data/, and the page completes the database step automatically.

Backup

A backup runs daily and the last 7 are kept in data/backups: the database, the files and a manifest, in a zip archive. You can also create one at any time from Settings. To restore, using the same version and the same APP_KEY:

php artisan cemainou:restore cemainou-<date>.zip

It backs up the current state first, then replaces the data in a single transaction (if anything fails, nothing changes). It also works across databases: restoring a SQLite backup on MySQL is how a team moves from SQLite to MySQL.

License

The FSL (Functional Source License), unmodified: anyone can read, use and modify the code for free, for any team of any size, for anything except a competing product. Nothing is locked behind a payment, updates included. If cemainou helps you, support it (€200, €400 or €900 a year, your choice): you get a supporter key for Settings → Support cemainou, priority help and a say in what comes next. Every version also becomes Apache 2.0 two years after its release.

Help

The feedback button in the app goes to your admins and, if you enable it in Settings, to us as well. For anything else, email cmn@rt.md. We reply on working days, usually the same day.