vpsbench
README.md
# vpsbench
> ⚡ Zero-dependency Linux VPS & game-server benchmark, CPU-steal detector, Docker/SSH security doctor & 22-provider `$/GB RAM` inspector — **CLI + MCP + Agent Skill**.
[](LICENSE)
[](package.json)
[](https://github.com/lostprotocol212/vpsbench/actions)
[](https://serversareup.com/benchmarks)
<p align="center">
<img src="assets/demo.svg" alt="vpsbench terminal demo" width="740" />
</p>
## Quick Start (1 Command, Zero Dependencies)
Run on any Linux, macOS, or Windows server with Node 20+:
```bash
npx github:lostprotocol212/vpsbench
```
Generate a copy-paste Markdown scorecard for Reddit / LowEndTalk / GitHub + savings estimate against your current host bill:
```bash
npx github:lostprotocol212/vpsbench --price 96 --share
```
Run a fast offline JSON diagnostic:
```bash
npx github:lostprotocol212/vpsbench --quick --offline --json
```
## What It Measures
- **Single-Core IPC & Game Tick Grade:** Deterministic mixed crypto/JSON/integer loop predicting Minecraft, FiveM, Rust, and API latency stability.
- **Multi-Core Scaling:** Cross-core `worker_threads` throughput across all allocated vCPUs.
- **Memory & Disk `fsync` Latency:** Sequential read/write MB/s plus true 4K random `fsync` latency (crucial for PostgreSQL, SQLite, and world saves), cleaned up automatically on exit.
- **Hypervisor CPU Steal (`%st`):** Samples Linux `/proc/stat` directly to expose oversold noisy-neighbor virtualization.
- **Read-Only Host Security Doctor:** Audits `PermitRootLogin`, `PasswordAuthentication`, UFW/nftables status, and whether Docker containers publish `0.0.0.0` ports that bypass UFW.
- **Live Cloud Price-Performance Comparison:** Checks `$/GB RAM` against the open CC-BY-4.0 [Cloud VPS & AI Pricing Benchmark](https://serversareup.com/benchmarks) (with embedded offline fallback).
## Use From AI Coding Agents (Stdio MCP & Agent Skill)
Add `vpsbench` directly to **Claude Code**, **Cursor**, **OpenAI Codex**, or **Gemini CLI**:
```json
{
"mcpServers": {
"vpsbench": {
"command": "npx",
"args": ["-y", "github:lostprotocol212/vpsbench", "--mcp"]
}
}
}
```
Exposed MCP tools:
- `run_vps_benchmark`
- `audit_host_posture`
- `compare_cloud_pricing`
Or install the Agent Skill from [`skills/vpsbench/SKILL.md`](skills/vpsbench/SKILL.md).
## Free Hosting for Active 5+ Player Game Communities
Running an active multiplayer community with **5+ concurrent players online** on an overpriced host? [Servers Are Up](https://serversareup.com/free-game-servers) sponsors free migrations onto US Dell PowerEdge R940 hardware (`$1.19–$1.75/GB RAM` value, default-closed firewalls, player reporting, and Discord integration). Smaller teams can take **20% off** first-time orders with promo code `WELCOME20`.
## Contributing & License
Pull requests welcome via [CONTRIBUTING.md](CONTRIBUTING.md). Licensed under [MIT](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues