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

surfvps-mcp

v0.1.1

Published

MCP server for surfvps — let an AI agent deploy VPS servers and pay with crypto, on surfvps.com.

Readme

surfvps-mcp

MCP server for surfvps.com — let an AI agent deploy VPS servers, paid with crypto.

Your agent gets typed tools for the whole account: check the balance, browse the catalog, deploy and destroy servers, read root passwords, and start a Bitcoin/Monero/USDT top-up that returns a payment address right in the conversation.

Setup

  1. Create an API token at surfvps.com → Settings → API tokens.
  2. Add the server to your MCP host.

Claude Desktop (claude_desktop_config.json) / Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "surfvps": {
      "command": "npx",
      "args": ["-y", "surfvps-mcp"],
      "env": { "SURFVPS_TOKEN": "sk_live_..." }
    }
  }
}

Claude Code:

claude mcp add surfvps -e SURFVPS_TOKEN=sk_live_... -- npx -y surfvps-mcp

Tools

| Tool | What it does | | --- | --- | | get_balance | Prepaid USD balance | | list_ledger | Recent deposits & charges | | list_catalog | Regions, sizes (with monthly price) and images for a provider | | list_servers / get_server | Your servers, status and IP | | deploy_server | Deploy a VPS | | server_action | Reboot / stop / start | | destroy_server | Destroy a server (irreversible) | | get_root_password | Initial root password, if deployed without an SSH key | | list_ssh_keys / add_ssh_key / remove_ssh_key | Manage SSH public keys | | estimate_cost | Quote a plan before deploying — total for N hours, hourly rate, monthly ceiling | | create_deposit | Start a crypto top-up — returns an address + exact amount | | deposit_status | Poll a deposit's confirmations |

DigitalOcean and Vultr are both available. Vultr is the cheaper of the two (from $11.00/mo, 33 regions); DigitalOcean starts at $13.20/mo. Call list_catalog for live plans and prices — never assume them.

Safety

  • destroy_server is annotated destructive, so hosts prompt before it runs — and it additionally requires the server's exact current hostname as confirm_hostname. If two of your servers share that hostname, it refuses with ambiguous_hostname until you also pass confirm_ipv4, so a confirmation always identifies exactly one box.
  • server_action is annotated destructive too: a reboot or power-off interrupts a live machine.
  • Every refusal comes back as a tool error, never as a successful-looking result — an agent cannot mistake a blocked destroy for a completed one.
  • Deploying spends real money from your prepaid balance. Balance is a hard floor: with no funds, deploy_server returns insufficient_balance instead of running up a bill. Concurrent servers are capped by balance (under $20 → 1, $20 → 2, $50 → 3, $100 → 4; suspended servers still occupy a slot).
  • The agent can start a deposit but can never move funds — create_deposit only returns an address for a human to pay.
  • get_root_password requires an explicit reveal: true, because it puts a live credential in the transcript. Prefer deploying with an SSH key.
  • Errors are the API's own codes — insufficient_balance, instance_limit, bad_provider, ssh_key_not_found, bad_coin, bad_amount, hostname_mismatch, ambiguous_hostname, rate_limited — so agents can read them and self-correct.

Typical flow

list_catalog(provider="digitalocean")   → pick a region / size / image
estimate_cost(size=…, hours=…)          → what it will cost
get_balance()                           → confirm funds
deploy_server(...)                      → returns the server id
get_server(id)                          → poll until status "running", read the IP
get_root_password(id, reveal=true)      → if deployed without an SSH key
destroy_server(id, confirm_hostname=…)  → stops further charges

status is one of provisioning, running, stopped, suspended, error, destroying, destroyed.

Billing

Hourly, with a one-hour minimum and a $0.02 minimum per server — a box destroyed 30 seconds after deploy still costs an hour. Charges never exceed the plan's monthly price for the calendar month (plus the license surcharge if you deploy a licensed image such as cPanel, Plesk or Windows). A stopped server keeps billing at the full rate — it still holds its resources at the provider. Only destroy_server stops charges.

Config

| Env | Default | | | --- | --- | --- | | SURFVPS_TOKEN | (required) | API token from the dashboard | | SURFVPS_API | https://surfvps.com | API base URL |

Prefer a terminal? The same account works with the surfvps CLI.

MIT © surfvps