Skip to Content
NeoRun

Quickstart

Connect a server, connect your agent, turn on phone approvals and make a first change.

This takes about twenty minutes. At the end your agent will have installed nginx on your server, and you will have approved it from your phone.

Planned

The cloud beta, where we run NeoRun for you and your servers connect out to it, is not built yet. Today you run NeoRun yourself (self-host guide) and NeoRun connects to your server over SSH. This quickstart is written for that.

Before you start

  • A running NeoRun, with an admin account. See Self-host with Docker Compose.
  • A Linux server you can reach over SSH, running Debian or Ubuntu. This guide calls it web-1.
  • A coding agent that supports MCP over HTTP, such as Claude Code.
  • A phone, for approvals.

Add the server

In the console, open Servers and choose Add a server. Fill in:

  • Name: web-1. This is how your agent refers to the server.
  • IP address or hostname: where the server is.
  • SSH user: neorun (the next step shows how to create it) or root.
  • Port: the SSH port, usually 22.
  • Run its commands with sudo: leave it on. NeoRun cannot type a password, so the user needs passwordless sudo. If you log in as root, nothing more is needed.

NeoRun does not contact the server yet.

Give NeoRun an SSH key

Use a key made for NeoRun, not your personal one, and without a passphrase. NeoRun logs in by itself and has nobody to type one.

On your computer:

ssh-keygen -t ed25519 -f ~/.ssh/neorun -C neorun -N ""
cat ~/.ssh/neorun.pub

On the server, as a user who can use sudo, create the neorun user and give it the public key (paste the line from neorun.pub where it says so):

sudo adduser --disabled-password --gecos "" neorun
sudo mkdir -p /home/neorun/.ssh
echo 'PASTE THE LINE FROM neorun.pub HERE' | sudo tee -a /home/neorun/.ssh/authorized_keys
sudo chmod 700 /home/neorun/.ssh
sudo chmod 600 /home/neorun/.ssh/authorized_keys
sudo chown -R neorun:neorun /home/neorun/.ssh

The console's connect dialog shows these steps for your exact server, with the right user and port. The private key goes only into NeoRun's key box. It is stored encrypted and never shown again.

Connect and confirm the fingerprint

In the connect dialog, choose Get its fingerprint. NeoRun asks the server for its host key and shows the fingerprint. Compare it with the one on the server:

ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub

If they match, tick This matches my server's fingerprint and connect. NeoRun only ever connects to the host key you confirmed. If the server presents a different key later, the connection fails instead of trusting it.

Connect your agent

Choose Connect agent in the console header, or follow Connect your agent. For Claude Code, run this in your project folder (use your own NeoRun address):

claude mcp add --transport http neorun https://<your NeoRun address>/mcp

Your agent opens a NeoRun sign-in page in the browser. The page says whether the agent asks for read access or for read and write. Reading is enough to look at servers. Write access needs your password, and it ends 12 hours later. After that the agent can still look, but not change anything, until you grant write again.

Ask your agent to list your servers. It should answer with web-1.

Turn on phone approvals

On your phone, open the console and go to Settings, then Notifications, and choose Turn on for this device. NeoRun then tells you when something waits for your approval. The notification says only what kind of change waits and on which server. It opens the approval page and never approves anything.

  • On an iPhone or iPad, add NeoRun to the Home Screen first (Share, then Add to Home Screen) and turn notifications on from that icon.
  • Notifications need an address your phone trusts. That means public mode with a real certificate, or a local certificate you installed on the phone. See Self-host.

Make a first change

Ask your agent:

Install nginx on web-1 and serve a page on port 8090, only on this machine.

What happens:

  1. The agent opens a rehearsal: a throwaway copy of web-1. It installs nginx and sets up the page there. The real server is untouched.
  2. The agent finishes the rehearsal. NeoRun measures what changed: packages, services, listening ports and files.
  3. The agent asks for the change to be applied. Because it changes nginx configuration and starts a service, it waits for you, whatever the safety level.
  4. Your phone shows Approval waiting. Open it and read NeoRun's summary of the change. The page shows a hash of the exact change. Approve it.
  5. NeoRun applies exactly that change, checks it, and watches it for 10 minutes. If a check fails, it puts the server back.

The agent can poll the result and tell you the outcome in NeoRun's own words.

Next

Edit this page on GitHub

On this page