SharpMD

SharpMD Local: your dev servers, worktrees and agent sessions

A small program that runs on your computer and tells SharpMD three things a web page cannot see by itself: what is listening on which port, the state of your git worktrees, and which AI agent sessions are open. It is free and open source.

It listens on 127.0.0.1 only. Nothing leaves your computer and nothing goes through our servers.

What it shows

What it does not do

Install it

It needs Node.js 22 or newer and nothing else. It lives in the local folder of the SharpMD repository.

git clone https://github.com/SharpMD/sharpmd.git
cd sharpmd/local
node bin/sharpmd-local.js

Without git: download the repository as a ZIP from GitHub, unzip it and, on Windows, double-click start.cmd inside local.

There is no installer yet. To stop it, press Ctrl+C in its console or close the window.

Pair it with SharpMD

  1. When it starts, the program prints a pairing code.
  2. In SharpMD, open Settings > Tools and turn on Local servers, Worktrees or Local sessions.
  3. Paste the code and press Pair. The browser asks once whether the site may connect to this computer: allow it.

The code stays in that browser. The three tools share it.

Chrome, Edge and Firefox connect once you allow it. Safari blocks a page from reaching 127.0.0.1: there, use the panel the program serves itself, at the address it prints when it starts.

Choose your folders

It starts with none. Add the folders it may look at from the console:

node bin/sharpmd-local.js folders add C:\code

A folder can be a repository or a folder with repositories inside. Worktrees come from there, and Show in Explorer only works for files inside those folders.

How it is protected

The full table, with what it does not cover, is in the README of the program.

Open the app

Everything else is on the SharpMD home page.