Skip to main content
OFFICIAL NPM PACKAGE • V1.4.0

Castov CLI

EADDRINUSE port killer, 10-tool AI Model Context Protocol (MCP) server, cryptographic .env secret generator, IPv4 CIDR calculator, local secret scanner, AI .cursorrules generator, and Unix/JWT tools right in your terminal.

Run Instantly with npx

Zero installation required. Execute immediately with Node.js 18+.

npx castov port 3000 --kill

Install Globally

Have the castov command available globally in your shell.

npm install -g castov
GLOBAL DISTRIBUTION & MCP ECOSYSTEM

Deploy Castov Everywhere You Build

Whether inside your local terminal, Docker containers, AI editors, or automated CI/CD pipelines — Castov provides the instant execution layer for developers and MCP AI agents.

Official Container Verified Distribution

Docker Hub

Run Castov CLI and MCP runtime in an isolated, non-root Alpine container with zero host dependencies.

Official Registry
terminal execution
docker run --rm -it castovdev/castov:latest --help
Lightweight Alpine runtime (~50MB footprint)
Strict non-root user execution (USER node)
Direct MCP transport streaming via stdin/stdout

Popular Terminal Commands (v1.4.0)

# 1. Inspect port service, find listening PID & kill EADDRINUSE process
npx castov port 3000 --kill
# 2. Generate 256-bit cryptographic secrets for .env (AUTH_SECRET, JWT_SECRET, API keys)
npx castov secret
# 3. Calculate IPv4 CIDR subnet mask, wildcard & usable host range
npx castov cidr 192.168.1.0/24
# 4. Offline scan project directory for leaked API keys & secrets before git push
npx castov scan .
# 5. Generate .cursorrules AI coding guidelines directly into your project
npx castov rules nextjs --write
# 6. Diagnose terminal errors or pipe crash logs directly
npx castov fix "Hydration failed because the initial UI does not match"
# 7. Unix timestamp parse, ID detector, Cron explainer, UUIDv7 & JWT decoder
castov ts 1700000000 | castov uuid --v7 | castov jwt <token>

Zero-Knowledge & Offline-First

  • 100% Local Execution: All commands execute entirely in your local Node.js environment without sending any tokens, timestamps, or hashes to remote servers.
  • Developer-First Workflows: Generate time-ordered UUIDv7 identifiers (castov uuid --v7), inspect JWT claims, and convert IANA timezones instantly without network dependencies.