---
title: WS Commander API & Documentation — CLI, REST, OpenAPI & MCP
description: Complete technical documentation for WS Commander installation, SHA-256 verification, wsc CLI, local 30-tool MCP server, public read-only REST API, and OpenAPI 3.1.
canonical: https://wscommander.com/docs
last-updated: 2026-12-04
---

# WS Commander API & Documentation

Documentation index: [`/docs/llms.txt`](/docs/llms.txt) · OpenAPI 3.1: [`/openapi.json`](/openapi.json) · Developer Portal: [`/developers`](/developers.md) · MCP Server: [`/mcp`](/mcp.md)

## 1. Installation, Apple Notarization & Checksum Verification

```bash
curl -LO "https://github.com/wsagency/wscommander/releases/download/v1.0.10/WS-Commander-1.0.10-universal-notarized.zip"
shasum -a 256 "WS-Commander-1.0.10-universal-notarized.zip"
# Expected: 54977cc1c5f69c0381dbaf8552b60762389a9d859ecd6f400400b10f892c11e3

unzip -q "WS-Commander-1.0.10-universal-notarized.zip"
mv "WS Commander.app" /Applications/
spctl -a -vv "/Applications/WS Commander.app"
```

Every build (`v1.0.10 Beta`, build `11`) targets macOS `13.0+` (Universal `arm64` + `x86_64`), is signed with Developer ID (`WEB rjesenja d.o.o.`), and notarized by Apple.

## 2. Command Line Tool (`wsc`), `wsc guard` & Local MCP Bridge

```bash
sudo mkdir -p /usr/local/bin
ln -sf "/Applications/WS Commander.app/Contents/Resources/bin/wsc" /usr/local/bin/wsc

wsc .                             # Open current working directory in active pane
wsc ~/left ~/right                # Set left and right pane directories
wsc -t ~/Downloads                # Open path in a new tab
wsc --version                     # Show app and CLI version
wsc mcp                           # Launch 30-tool stdio MCP bridge for AI agents
wsc guard install claude-code     # Install Claude Code PreToolUse hook & deny list
wsc guard install codex           # Install Codex execpolicy rules
wsc guard print <target>          # Print claude-hook, claude-settings, codex, or prompt
```

## 3. Public Read-Only REST API (`/api/v1/*`)

- `GET /api/v1/release` — Latest version metadata, notarized download URL, and SHA-256 checksum
- `GET /api/v1/benchmarks?category=all&limit=20&cursor=0` — Paginated Apple Silicon benchmarks
- `GET /api/v1/tools?group=all&q=...&limit=30&cursor=0` — Paginated 30 local `wsc mcp` tools
- `GET /api/v1/docs?q=...&limit=10&cursor=0` — Search documentation articles
- `GET /api/v1/docs/{slug}` — Fetch one documentation topic (`overview`, `install-and-verify`, `local-mcp-server`, `agent-file-guard`, `public-api-and-docs-mcp`, `benchmarks`, `pricing-and-license`, `privacy-and-company`)
- `GET /api/v1/setup/{client}` — Client setup config (`claude-code`, `claude-desktop`, `codex`, `cli`, `guard-claude`, `guard-codex`, `socket`)
- `POST /ask` & `GET /ask?query=...` — NLWeb v0.55 semantic documentation retrieval (supports `prefer.streaming: true` SSE)
- `POST /api/mcp` — Streamable HTTP Docs MCP server ([server-card](/api/mcp/server-card))

## 4. Versioning, Rate Limits & Error Model

- **Authentication:** Public endpoints require no API key. Local `wsc mcp` enforces OS file ownership on `~/Library/Application Support/Wscommander/ipc/api.sock` (`0600`) inside a `0700` folder.
- **Versioning & Deprecation:** Breaking REST changes increment the URL major version (`/api/v2/`). All API responses include `API-Version: 2026-12-04`. Deprecated routes advertise RFC `Deprecation` and `Sunset` headers at least 90 days before removal.
- **Rate Limits:** Standard `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`, and `RateLimit-Policy` headers (plus `Retry-After` on HTTP `429`).
- **Error Schema (RFC 9457):** Non-2xx responses return `Content-Type: application/problem+json` containing `type`, `title`, `status`, `code`, `detail`, `hint`, and `instance`.

## 5. Repository Agent Guides & Manifests

- Repository Agent Guide: `https://github.com/wsagency/wscommander/blob/main/AGENTS.md`
- Claude Repository Rules: `https://github.com/wsagency/wscommander/blob/main/CLAUDE.md`
- Agent Plugin Manifest: `https://github.com/wsagency/wscommander/blob/main/plugin.json`
