kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

Guides / AI agents / Your computers

Your computers, one click

A web page cannot open a terminal or install an MCP server on your computer. kosa8 on that computer can. Link it once, then press Add or Open in my terminal in the web app: your computer does the work and the page shows each step as it happens.

Sign in to the desktop app (macOS, Windows or Linux). That links the computer, and it stays online while the app is open. Without the desktop app, the CLI links it the first time you run kosa8 do or kosa8 device run.

kosa8 device run       # keep this computer online and run what the web app sends (Ctrl-C stops)
kosa8 device list      # your computers, online or not
kosa8 device unlink this

Your computers are listed in the web app under Settings → Your computers: each one's online dot, what it has installed, the kinds of action it always allows, and an Unlink button. A computer is online when it checked in during the last minute. The desktop app and the CLI on one computer are two entries, each with its own key. You can link up to 20 computers. Only you can see your computers or send them anything; admins see a count per member, nothing more.

One-click Add from the web#

On Integrations, each MCP server in the catalog has an Add button. Press it and kosa8 picks the fastest way to reach your computer:

  1. A computer of yours is online: it starts at once.
  2. The desktop app was seen in the last 30 days: the page opens it with a kosa8:// link.
  3. Otherwise the page shows one command for your OS (tabs switch Mac, Windows and Linux) and waits. The moment your computer runs it, the steps carry on by themselves.
1. Open app.kosa8.com → Integrations.
2. Find a server (search, or a category chip) and press Add.
3. Watch the steps tick off: Find your computer, Check kosa8,
   Download server, Check its source, Sandbox it, Pin tools,
   Connect to your agents.
4. The card now says "Added on <your computer> ✓". Remove takes it off.
# When no computer of yours is online, the web app shows one short code.
# Paste it once; running it is your approval.
kosa8 do K7QX-3P

# No kosa8 yet? The page gives one line that installs it first:
curl -fsSL https://kosa8.com/install | sh && kosa8 do K7QX-3P

# The same server by hand, without the web app:
kosa8 mcp add github
# Queue a typed action to any of your computers (the first one online runs it)
curl -s https://api.kosa8.com/v1/actions \
  -H "Authorization: Bearer $KOSA8_API_KEY" -H 'Content-Type: application/json' \
  -d '{"type": "mcp.add", "params": {"server_id": "github"}}'
# {"id":"act_…","short_code":"K7QX-3P","status":"queued",
#  "deep_link":"kosa8://action/act_…","command":"kosa8 do K7QX-3P","steps":[…]}

# Follow its steps (about once a second)
curl -s https://api.kosa8.com/v1/actions/act_… -H "Authorization: Bearer $KOSA8_API_KEY"

When it is done the card says Added on and your computer's name. Remove takes the server off again the same way. Under the hood it is the same work as kosa8 mcp add: the server runs in its own sandbox with its tools pinned. A token the server needs is typed on your computer, never sent through the web app.

kosa8 do#

kosa8 do CODE runs one action the web app started, here, with each step checked off in the terminal. The code looks like K7QX-3P; an action id (act_…) works too. Running it is your approval. On a computer with no kosa8 yet, the page's one line installs kosa8 first and kosa8 do signs you in once in the browser. A code works once and expires after 10 minutes.

The desktop app registers the kosa8:// scheme on macOS, Windows and Linux. A link carries an id, never a command or parameters:

  • kosa8://action/<action id> runs that action. The app fetches it with its own key and refuses an action that belongs to someone else.
  • kosa8://open/<page> shows a page of the desktop app.

Opening a link is not an approval: the app still asks you, as below.

Approvals, and taking them back#

The first time each kind of action arrives from the web, your computer asks you:

app.kosa8.com wants to add the Sentry MCP server on this Mac.
    Allow once      Always allow      Don't allow

That is the desktop app's sheet. kosa8 device run asks the same question in the terminal ([y] once, [a] always, [N] no). Always allow covers that one kind (adding MCP servers, opening a terminal, and so on) on that one computer. Don't allow stops the action. To be asked again:

  • in the web app, Settings → Your computers → Always allowed → Take back;
  • on the computer, kosa8 device allowed lists them and kosa8 device allowed --revoke mcp.add takes one back;
  • over the API, DELETE /v1/devices/{id}/approvals/{type}.

Open terminal#

A sandbox's Terminal page has Open in my terminal: your own terminal app opens, connected to that sandbox (kosa8 cloud terminal ID). Settings → Your computers has Open a terminal for a plain window on that computer. The browser terminal stays where it was.

OSOpens
macOSTerminal, or iTerm when it is your default terminal
WindowsWindows Terminal, else a new PowerShell window
Linux$TERMINAL, then x-terminal-emulator, gnome-terminal, konsole, xfce4-terminal, kitty, alacritty, wezterm or xterm

Set KOSA8_TERMINAL to choose (iterm or terminal on a Mac, wt or powershell on Windows, a program name on Linux).

What a computer will and won't run#

Only kosa8's own typed actions, each with checked parameters. The web app never sends a shell command, and your computer has no way to run one from it.

ActionWhat it does
mcp.addAdds a server from the catalog, by its catalog id. Options are checked against the catalog: a name, a tool list, and for file servers a folder and read-only (on by default). Never a secret.
mcp.remove, mcp.syncRemoves a server; reports what is installed so the web app can show it.
agent.connectConnects kosa8 to an agent on this computer (Claude Code, Cursor, Codex, VS Code and others).
terminal.openOpens your terminal, in a folder or connected to one of your org's sandboxes.
repo.cloneA plain git clone https://github.com/owner/name with your own git sign-in, then opens the folder.
app.openShows a page of the desktop app (desktop only).

Folders must be absolute (/…, ~/… or C:\…) with no ... Queueing an action needs the sandboxes:write scope, so a viewer can link a computer but not send it work. Every step is in the audit log (device.action.queue, claim, run, done, fail).

Troubleshooting#

"No computer picked it up in 10 minutes"
The action expired. Open the desktop app or run kosa8 device run, then press the button again.
The page keeps showing the command
No computer of yours is online. Run the command it shows once, or sign in to the desktop app.
already_claimed
Another computer of yours took that code first. Each action runs once.
not_capable
That computer cannot run this kind of action (opening a desktop page needs the desktop app).
denied
Someone pressed Don't allow on the computer. Start it again and allow it.
"No terminal app was found"
On Linux, install one (gnome-terminal, kitty, …) or set KOSA8_TERMINAL.
"Claude Code is not installed here"
Install the agent first; agent.connect only connects what is already there.
device_silent
The computer went quiet for 15 minutes mid-action (asleep, or offline). Run it again.

See also: MCP server catalog, Connect Claude, Cursor or Codex, kosa8 do and kosa8 device.

Something wrong or missing? Write to contact@kosa8.com.

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA