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

@hostafrica/connect

v1.0.1

Published

One-command installer: register the HostAfrica MCP server with Claude Code, Cursor, Windsurf, Codex, Gemini CLI and more

Readme

@hostafrica/connect

Register the HostAfrica remote MCP server with every AI tool on your machine, in one command.

Nothing runs locally. The MCP server is HostAfrica's hosted endpoint (https://mcp.hostafrica.com/mcp), so connecting a tool means writing one entry into that tool's config file. This CLI detects which tools you have and writes that entry for each.

npx @hostafrica/connect install

Once connected, you can ask your assistant to list my VPS servers, reboot web-01, add an A record for app.mydomain.co.za, snapshot db-01 before I deploy, or is mydomain.africa available? Around 72 tools are live: VPS lifecycle, backups and snapshots, firewall, rDNS, power tasks, monitoring, DNS and DNSSEC, domains, and catalogue/orders/payments.

Install

Run it directly, or install it globally for a shorter command:

npm install -g @hostafrica/connect

Requires Node 18 or newer.

Commands

hostafrica-connect status                 Show detected clients and registration state
hostafrica-connect install [client...]    Register with the given clients (default: all detected)
hostafrica-connect uninstall [client...]  Remove the registration (default: all registered)

With no client ids, install targets every client it detects and uninstall targets every client currently registered. Pass ids to be specific:

hostafrica-connect install claude-code cursor

status prints one line per client: whether it's detected, whether HostAfrica is registered, which auth mode it will use, and where the registration lives:

claude-code  registered      auth=oauth   claude mcp (user scope)
cursor       detected        auth=oauth   /Users/you/.cursor/mcp.json
codex        not detected    auth=oauth   /Users/you/.codex/config.toml

Options

| Option | Purpose | |---|---| | --token <token> | API token for clients that can't run OAuth. Also read from HOSTAFRICA_API_TOKEN. |

OAuth-capable clients never need a token; they open the browser themselves on first use.

Supported clients

claude-code, cursor, windsurf, gemini-cli, codex, antigravity, devin-cli, junie, claude-desktop

Each writes to that tool's own config location and format: claude mcp add for Claude Code, TOML for Codex CLI, serverUrl for Windsurf and Antigravity, httpUrl for Gemini CLI, and so on. Claude Desktop's config file only accepts stdio servers, so it's bridged through npx mcp-remote and needs Node available at runtime.

VS Code isn't in this list: the companion extension registers the server natively through VS Code's McpServerDefinitionProvider API instead of writing a config file. That extension can also drive this same registrar for every other detected tool, if you'd rather click than type.

Authentication

Registrations carry no credentials. They point at the OAuth endpoint, and your tool runs the browser sign-in itself. The endpoint supports Dynamic Client Registration, PKCE and refresh tokens. The grant is scoped to your account and revocable at any time in the Client Area.

For the rare client that can't run OAuth, generate an API token in the Client Area and pass --token. Config files containing a token are written chmod 600. Registration is read-modify-write, so entries for other MCP servers in the same file are preserved.

Links

MIT licensed.