Self-host runs the registry server (REST API, MCP endpoint and telemetry ingest) and the web dashboard on your infrastructure. Data lives in SQLite and a bundles folder on one volume. No external database or queue is needed.
Beta. Self-host is for trusted networks during the beta. Keep it on localhost, a VPN or a private network, not the open internet. The Docker build has not been through automated testing yet; if it fails, use Run from source.
You'll know it worked when curl http://localhost:3000/health returns {"status":"ok",...} and http://localhost:5173 shows the dashboard.
Run it
From a checkout of the repository:
docker compose up -d
This builds and starts two containers:
| Service | Port | What it runs |
|---|---|---|
server |
3000 |
Node server: /api/v1, /mcp, /health |
web |
5173 (nginx on 80) |
Dashboard. Proxies /api and /mcp to server:3000. |
Stop it with docker compose down.
Configure it
The server reads three environment variables:
| Variable | Default in the image | Purpose |
|---|---|---|
PORT |
3000 |
HTTP port. |
DATABASE_PATH |
/app/data/skills.db |
SQLite database file. |
BUNDLES_PATH |
/app/data/bundles |
Folder for skill bundles, stored by content hash. |
See Configuration and environment variables.
Storage
Compose mounts ./data on the host at /app/data in the server container. That folder holds everything: the database and every published bundle. Keep one server per data folder.
Backups
Back up the whole ./data folder. For a consistent copy, stop the server first, or copy the database with SQLite's online backup:
docker compose stop server
tar czf skills-backup-$(date +%F).tgz data/
docker compose start server
Upgrades
Back up ./data, then pull and rebuild:
git pull
docker compose build
docker compose up -d
The server applies its schema on start.
Sign-in on self-host
Self-host uses email registration with API tokens: skills login registers an email and namespace and receives a token. GitHub OAuth, magic links, OIDC and SSO are part of the hosted service and are not available on self-host yet. There is no outgoing email.
Connect agents
Point MCP clients at http://<your-server>:3000/mcp, or :5173/mcp through nginx, with a scoped connection link. See Connect over MCP.
Run from source
pnpm install
pnpm build
cd packages/server && pnpm dev # server on :3000
cd packages/web && pnpm dev # dashboard on :5173
If the server cannot load better-sqlite3, build it: cd node_modules/.pnpm/better-sqlite3@*/node_modules/better-sqlite3 && npm run build-release.
Limits
- One server per data folder. SQLite does not support several writers across containers.
- No built-in TLS. Put a reverse proxy with TLS in front if you expose it beyond localhost.
- No OAuth, SSO or email on self-host yet.