npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@serverops/myserver-cli

v0.1.126

Published

Command-line interface and MCP server for myserver — a self-hostable PaaS.

Readme

myserver-cli

The official command-line interface and MCP server for myserver — a self-hostable PaaS for deploying apps, databases, and services.

Built as a single Go binary. No daemon, no background process. Wraps the myserver HTTP API. Distributed as a single npm package that downloads the right binary for your platform at install time.

Install

npm install -g @serverops/myserver-cli
# or with bun
bun add -g @serverops/myserver-cli

The postinstall script detects your OS + arch and downloads the matching prebuilt binary from GitHub releases. No native dependencies, no per-platform packages.

For global installs, the installer can also wire the MCP server into supported AI editors. If npm is running interactively, it asks whether to run myserver mcp install; otherwise it prints the command to run later.

Env overrides (for testing / custom mirrors):

# Use a local mirror
MYSERVER_CLI_DOWNLOAD_BASE=http://localhost:8080 npm install -g @serverops/myserver-cli

# Pin a specific version tag
MYSERVER_CLI_VERSION=v0.2.0 npm install -g @serverops/myserver-cli

# Install MCP integration without prompting
MYSERVER_CLI_INSTALL_MCP=1 npm install -g @serverops/myserver-cli --foreground-scripts

# Skip MCP integration explicitly
MYSERVER_CLI_INSTALL_MCP=0 npm install -g @serverops/myserver-cli

Standalone binary downloads are attached to every GitHub release for darwin-arm64, darwin-amd64, linux-arm64, linux-amd64, windows-arm64, and windows-amd64.

Quick start

# Sign in (interactive, stores token in ~/.myserver/credentials.json)
myserver login

# Wire the current directory to an app (interactive: pick team / server / app)
myserver init

# Build remotely and deploy
myserver up

# Tail the latest deployment
myserver logs --follow

# Status
myserver status

Override the API endpoint when self-hosting:

myserver login --api https://myserver.your-domain.com

Commands

login       authenticate against a myserver instance
auth        authentication helpers (`auth register`)
logout      forget stored credentials
whoami      show the currently logged-in user
init        wire the current directory to an app
project     list / create projects
env         list / create environments
app         create / manage applications
sqlite      attach / list managed SQLite resources
token       manage app service tokens
domains     manage app hostnames
env-vars    manage app env vars
db          manage managed databases
backup      system backups (admin only)
server      register / list / delete destination servers
up          deploy the current directory
logs        stream logs from the latest deployment
status      show the bound app + recent deploy history
mcp         MCP server (stdio) — wire into your AI editor
version     print version

myserver <command> -h for command-specific flags.

MCP server (Claude Desktop, Cursor, Cline, etc.)

The CLI ships a Model Context Protocol server over stdio so any MCP-capable AI client can drive myserver.

# One-shot install for popular editors
myserver mcp install

# Validate the published MCP tool catalog
myserver mcp doctor

# Or run directly (the editor spawns this on stdin/stdout)
myserver mcp

Tools exposed include: list_apps, create_app, deploy_app, tail_app_logs, list_databases, set_env_var, plus a whoami and generate_fqdn for sanity checks.

Self-hosting

This CLI targets the public SaaS at app.serverops.cloud by default. To run against your own myserver instance:

myserver login --api https://your-myserver-instance.example.com

This CLI is open-source under MIT. The myserver server is sold as a managed SaaS; self-hosting plans are tracked separately — check serverops.cloud for current options.

Contributing

Pull requests welcome. The CLI is stdlib-only (no cobra/urfave/etc) — the dependency surface is intentionally minimal.

go build ./cmd/myserver
go test ./...

License

MIT — see LICENSE.