Desktop App
Portuni.app is the Tauri-built macOS desktop client. It’s the daily-driver way to use Portuni: install one DMG and you get the UI, the MCP server, and the integration glue in a single application.
What it gives you
Section titled “What it gives you”A native macOS window (1600×1000 by default, opens maximized) with:
- Graph view — Cytoscape-rendered interactive node graph using the
fcoseforce-directed layout. Pan, zoom, click a node to focus. - Detail pane — the right column shows the focused node’s full detail: owner, responsibilities, data sources, tools, events timeline, files. Same payload
portuni_get_nodereturns over MCP, rendered as a panel rather than JSON. The Files tab remembers which folders you collapsed per node, on this device. If the node has no local mirror on this device yet, the header shows a “Vytvořit pracovní složku” button that creates it directly — no need to open a terminal first. - Workspace view — a node browser with type / status filters, sidebar navigation, and a status footer.
- Task chat (Práce) — a node’s action bar leads with “Nový úkol”: pick a runner and, when more than one is registered, a provider instance, and the task runs as a chat in Práce’s centre column instead of a raw terminal — see Working in the app. The dropdown next to it still offers the two terminal-launch paths below, reachable during this transition phase.
- Multi-session terminal tabs — built-in
xterm-based terminals attached to the focused node’s local mirror via PTY, reached from the “Nový úkol” button’s dropdown (“Otevřít terminál v Portuni”) rather than as the primary action. Runclaude,codex, or any shell command in-context without leaving the app. Scroll the scrollback with the wheel/trackpad or Shift+PageUp/PageDown, and jump to the bottom with Cmd+↓. That dropdown still offers whichever legacy spawn profiles were created before the runner batch (env vars injected at launch, e.g.CLAUDE_CONFIG_DIR), but that registry has no editor left in Settings — see the Runnery note below. - Actors page — browse and manage actors and assignments.
- Settings page — workspaces (create, enable, open a window for one, pick each one’s data mode), per-workspace Turso credentials and workspace root, a Runnery section (replaces Profily, #344: detected runner adapters with their install/login status, and provider instances — env vars, typically
CLAUDE_CONFIG_DIR, with a default assignable per organization — edited through the sidecar’sGET/POST/PATCH/DELETE /runners/instancesREST API instead of the desktop’s ownconfig.json; see Runners), an Account section (Google sign-in and device tokens for central mode), a Synchronizace section (informational — Drive sync is configured once on the central server via a Service Account, see Setting Up Remotes; a local workspace shows a “no remote” note instead), and an MCP Server section with one-click install buttons for Claude Code, Codex, and Mistral Vibe. The old Profily editor and the “Příkaz agenta” panel are gone from Settings (no meaning without a terminal, and no editor for the object anymore) — the underlying legacy spawn-profile registry and localStorage command template are untouched until the terminal itself is removed in a later step. - Create-node modal, date picker, and other interactive controls for editing the graph directly from the UI.
Embedded MCP sidecar
Section titled “Embedded MCP sidecar”The app bundles the Portuni MCP server as an embedded binary (binaries/portuni-sidecar) and spawns it on launch. You do not need to:
- Clone the GitHub repo.
- Install Node.js or Varlock.
- Run
npm startin a tmux session.
Each enabled workspace runs its own sidecar on a fixed loopback port, allocated from 47011 up (the first workspace gets 47011). Any MCP client — Claude Code, Codex CLI, Gemini CLI, Mistral Vibe — can point at http://localhost:<port>/mcp the same way it would at a standalone server. The sidecar’s bearer token is persisted per workspace in the macOS Keychain (it survives restarts and can be rotated from Settings); the easiest way to wire up an external client is the one-click install buttons in Settings → MCP Server, which register the right URL and token for each workspace. Terminals spawned inside the app get every workspace’s token injected as PORTUNI_MCP_TOKEN_<workspace-id> (plus PORTUNI_MCP_TOKEN as an alias for the active workspace); shells outside the app need the token exported manually.
Workspaces
Section titled “Workspaces”The app manages one or more workspaces — think of each as an independent Portuni: its own database, its own workspace root for mirrors, its own sidecar port, and its own Keychain-held credentials. All enabled workspaces run concurrently, each in its own window: the switcher in the sidebar (and the workspace list in Settings) opens or focuses a workspace’s window rather than swapping the content of the current one, so several workspaces are usable side by side. Each workspace also picks its data mode: local (its own Turso/SQLite database) or central (your organization’s server — see Data Modes), so a personal graph and a company graph can live side by side in one app.
Install
Section titled “Install”- Open the GitHub releases page.
- Download the DMG matching your CPU:
Portuni_<version>_aarch64.dmg— Apple Silicon (M1/M2/M3/M4)- Intel Macs are no longer targeted; use the CLI install below if you’re on Intel.
- Open the DMG and drag
Portuni.appto/Applications/. - Launch it.
Release DMGs are Developer ID signed and notarized, so the app opens without Gatekeeper warnings. If you built the app yourself without signing secrets, you’ll see the “unidentified developer” dialog — right-click → Open to bypass.
First run
Section titled “First run”A fresh install creates your first workspace and walks you through its setup. What you’re asked depends on the workspace’s data mode:
- Local mode — paste your
TURSO_URLandTURSO_AUTH_TOKEN, or skip to use a local SQLite database, and pick the root directory where mirror folders will live (e.g.~/Workspaces/portuni; the equivalent ofPORTUNI_WORKSPACE_ROOTin the CLI install). Credentials go to the macOS Keychain — you never edit.env.localfor the desktop install. - Central mode — sign in with your Google account instead; no database credentials needed. See Data Modes.
After that, you land in the Workspace view. Create your first organization node, then add projects / processes / areas / principles under it. (Upgrading from an older single-workspace install? The app migrates your existing configuration into the first workspace automatically.)
Aktualizace (auto-update)
Section titled “Aktualizace (auto-update)”Starting with 0.8.0, the app checks for updates itself — no more manual DMG downloads for every release.
- Check cadence. The app checks the latest GitHub release 10 s after the backend is ready, then every 6 h while running, plus on demand from Settings. Checks only run in a release build —
cargo tauri devand the web app opened in a browser never check, and Settings explains updates are desktop-only there. - Footer button. When a newer version is published, the status footer shows
↑ X.Y.Zon the right. Clicking it opens Settings → Obecné. - Settings → Obecné → „Aktualizace”. Shows the current version and, once a check has run, whether it’s up to date or a newer version is available. „Zkontrolovat nyní” checks on demand. „Stáhnout a nainstalovat” downloads and installs the update, with a progress bar; „Co je nového” links to the GitHub release page. A download or signature-verification failure leaves the running app untouched and shows the error inline — retry by clicking the button again.
- Restart behaviour. Installing an update replaces
Portuni.appon disk, but the running process keeps executing the old version until you click „Restartovat” (footer or Settings). „Restartovat” runs the same guards as ⌘Q — it warns about a dirty editor or unsynced files before proceeding — then stops all sidecars and relaunches the app, which now runs the new version. If you quit without restarting, the next launch runs the new version regardless. - Versions before 0.8.0 have no updater: download the DMG from GitHub releases and drag-replace
Portuni.appin/Applications/one last time to get onto 0.8.0 or later. From then on, updates happen in-app. Your settings, database (local SQLite or Turso), and mirror folders are unaffected either way.
Connecting external MCP clients to the app’s sidecar
Section titled “Connecting external MCP clients to the app’s sidecar”The desktop app and an external MCP client (Claude Code, Codex CLI, Gemini CLI, Mistral Vibe) can share the same backend:
- The easiest way: use the one-click install buttons in Settings → MCP Server, which register each workspace’s URL and token for you.
- Wiring by hand instead? Point the external client at the workspace’s sidecar,
http://localhost:<port>/mcp(ports start at47011; shown in Settings), with the workspace’s token as a bearer header. - Reads and writes from the external client land in the same graph as the app — keep the app open or the sidecar will exit with it.
For the per-client configuration details see Claude Code, Codex CLI, Gemini CLI, Mistral Vibe.
When to use the CLI server instead
Section titled “When to use the CLI server instead”Stick with the standalone CLI server (covered in Setup) when:
- You’re contributing to Portuni — the CLI dev loop is faster than rebuilding the
.appon every change. - You’re on Linux or Windows. Native bundles for those platforms aren’t on the near roadmap.
- You’re deploying Portuni to a shared server, not a personal machine — see Team Setup.
Running multiple graphs side by side used to be a CLI-only affair; today it’s a desktop feature — create another workspace instead.
See also
Section titled “See also”- Setup — install paths and configuration
- MCP Clients overview — how each client treats your local files
- Local Mirrors — the per-device mirror model the app surfaces in the Workspace view
- Data Modes (Local vs Central) — local vs central mode and what each can do with files