Skip to content

Try it on your machine

One command connects a coding agent on your machine, such as Claude Code or Codex, to Cliquet. The agent then starts a Cliquet server there, with no Docker and no sign-in provider, and builds and uses apps on it.

Dev preview

This server is for trying Cliquet, not for production. It runs app code with the local executor: as you, with your files and network, in no sandbox. Run only apps you build yourself. For a server that runs app code in a sandbox, use Docker Compose.

Requirements

  • macOS or Linux. Windows isn't supported.
  • uv, which installs the server and the Python it needs, and builds each app's environment.
  • git, which uv uses to get the server from its repository.
  • Chrome or Chromium, for the screenshots of an app's screens. The server finds Google Chrome, Chromium and Microsoft Edge where they are usually installed. To use another, set CLIQUET_CHROME to the browser's program before the server starts.

Only agents on your machine reach the server. Assistants in the cloud, such as claude.ai, ChatGPT or an app on your phone, can't: use the hosted service or a public server for them.

Connect your agent

  1. Add Cliquet to your agent, with its command in a terminal:

    claude mcp add cliquet-local -- uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server mcp
    
    codex mcp add cliquet-local -- uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server mcp
    
  2. Start your agent. It runs cliquet-server mcp, which starts the server in the background when none runs. The first time takes a minute or two, while uv gets the server.

  3. Open the console. The server opens http://127.0.0.1:8800/ in your browser once it answers, on macOS and on a Linux desktop. You're signed in with your user name as your login, such as sam.

  4. Ask your agent for an app, as Create and publish shows. Your login may build, so your agent gets the builder's tools too.

If your agent says Cliquet didn't start in time, the first download took longer than it waits. Reconnect it, with /mcp in Claude Code, or start Codex again. To avoid the wait, run this once before you start your agent:

uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server --version

The server signs in every agent on your machine as you, and keeps running when your agent stops. Each agent you connect uses the same server. The console's Assistants tab, in Settings, shows the same commands. An agent that takes a remote MCP server can also connect to http://127.0.0.1:8800/me/mcp directly, with any bearer token. Under the development login, the server takes any token that isn't a Cliquet token. It answers only requests for 127.0.0.1 or localhost, so a website can't reach it through your browser.

Run the server yourself

To see what the server says as it runs, start it in a terminal before your agent:

uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server start

It opens the console, says where it is and where its data is, and how to connect each agent:

Cliquet starts at http://127.0.0.1:8800/, where you're signed in as sam.
Dev preview, not for production: the local executor runs app code as you, with your files and network. Docker Compose runs it in a sandbox: https://cliquet.dev/docs/guides/self-hosting/compose/
Data: /home/sam/.local/share/cliquet

To connect Claude Code, run:
  claude mcp add cliquet-local -- uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server mcp
To connect Codex, run:
  codex mcp add cliquet-local -- uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server mcp

Press Ctrl+C to stop.

It runs until you press Ctrl+C in its terminal. Your agent's command then uses this server, and starts none.

Stop the server

To stop the server that your agent started, or one that runs in another terminal:

uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server stop

It says so when no server runs. It stops only a server that start runs with the same data folder, whether you or your agent started it. Your agent starts it again the next time it uses Cliquet, without opening the console.

Options

  • --port uses another port, such as --port 8900 when 8800 is in use. Pass the same port to mcp, start and stop. The commands that start prints and the console shows follow it.
  • --no-browser, given to mcp or start, doesn't open the console.
  • Settings. A CLIQUET_ environment variable from Settings wins over the server's own choices. For example, CLIQUET_DEV_LOGIN=sam sets your login, which you need when your user name can't be one, such as root. The server that mcp starts gets your agent's environment: add a variable to the agent's command with --env, such as claude mcp add --env CLIQUET_DEV_LOGIN=sam cliquet-local -- ….

Where the data lives

The server keeps its database and each app's repository in one folder, which start prints as it starts:

System Folder
macOS ~/Library/Application Support/cliquet
Linux ~/.local/share/cliquet, or cliquet in $XDG_DATA_HOME when it is set

CLIQUET_DATA_DIR names another folder. The same folder holds server.log, with what a server your agent started says, and server.pid, which tells stop which server runs. Once server.log is over 1 MB, the next server your agent starts renames it server.log.1, in place of an older one, and starts a new log. To start over, stop the server and delete the folder.

Get a newer version

uv keeps the server it got the first time, and uses it again. To get the newest version:

  1. Get the newest version. --refresh makes uv get the server from its repository again:

    uvx --refresh --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server --version
    
  2. Stop the server, as Stop the server shows, so that the new version starts in its place.

  3. Reconnect your agent right away, with /mcp in Claude Code, or start Codex again. It starts the new version. Until you reconnect it, your agent starts the older version again when it uses Cliquet.

Your data stays: the server brings its database up to date as it starts. While an older server still runs, your agent uses it, and cliquet-server mcp warns in your agent's MCP logs that the versions differ.

Move an app to another server

Each app is a git repository, with its code, its data and its whole history. To move one to a server you run:

  1. Download the app. In the console, open it, and under Data, click Download the app. Download an app says what the zip holds.

  2. Unzip it. It holds one folder, named after the app.

  3. Import the folder on the other server's machine, with that server's settings, as the owner you choose:

    cliquet-server import meeting-rooms --owner <login> --email <email>
    

    The app goes live there with its code and data. Its history starts again from them, and the zip keeps the old one. --email is the email the owner signs in with, needed when the login has no account there yet.