Skip to main content

Dotset CLI

Dotset is a unified CLI that bundles all three Dotset Labs security tools — Hardpoint, Tollgate, and Deadfall — into a single command-line interface.

Installation

npm install -g @dotsetlabs/dotset

Commands

CommandDescription
initInitialize Dotset in the current project
doctorRun diagnostics to verify installation
statusShow installation and configuration status
runRun all security tools together (main orchestration)
scanRun Hardpoint security scan
wrapWrap an MCP server with Tollgate proxy
trapInject a Deadfall honeypot trap

Global Options

dotset --version    # Show version
dotset --help       # Show help

Quick Start

# Initialize configuration
dotset init

# Verify installation
dotset doctor --install

# Run with full protection
dotset run -- npx @modelcontextprotocol/server-postgres

Two Modes of Operation

Use dotset run to orchestrate all three tools together:
dotset run -- npx @anthropic/mcp-server-filesystem ./
This:
  1. Runs a Hardpoint security scan (pre-flight check)
  2. Optionally starts Deadfall honeypot server
  3. Wraps your MCP server with Tollgate proxy

Individual Commands

Use individual commands when you need fine-grained control:
# Just scan
dotset scan

# Just wrap with Tollgate
dotset wrap -- npx @modelcontextprotocol/server-postgres

# Just create a trap
dotset trap cursor-rules .cursorrules

Exit Codes

CodeMeaning
0Success
1Error or security issues found