| Command | Description |
|---|
install | Register with an MCP client (claude, copilot) |
accept-eula | Accept the Work IQ EULA |
ask -q "..." | Ask Microsoft 365 Copilot a question |
mcp | Start MCP proxy server (stdio) |
serve | Start OpenAI-compatible HTTP API (localhost) |
web | Open browser-based terminal UI |
json | Interactive JSON-RPC testing mode |
version | Show component versions |
licenses | Print license and third-party disclosures |
help | Show help |
These are the commands most people need:
| Command | Description |
|---|
workiq-proxy | Start an interactive chat session |
workiq-proxy install claude | Register with Claude Code |
workiq-proxy install copilot | Register with GitHub Copilot |
workiq-proxy accept-eula | Accept the Work IQ EULA |
workiq-proxy ask -q "..." | Ask a question directly |
| Flag | Default | Description |
|---|
--json | false | Emit JSONL to stderr instead of pretty-printed logs (serve/web modes) |
--log-file | (none) | Override log file path (default: $XDG_STATE_HOME/workiq-proxy/workiq-proxy.log) |
--no-log | false | Disable traffic logging |
--port | 11435 | Port for serve mode (seeks next available if busy) |
--tls | false | Enable TLS with an auto-generated self-signed certificate for localhost |
--workiq-cmd | npx -y @microsoft/workiq | Base command to reach the Work IQ CLI |
When running in interactive mode (no arguments), these slash commands are available:
| Command | Description |
|---|
/emails [opts] | Search emails (from: subject: date:) |
/docs [opts] | Search documents (name: site: type:) |
/chats [opts] | Search chats (with: date:) |
/channels [opts] | Search channels (team: channel: date:) |
/meetings [opts] | Search meetings (by: subject: date:) |
/people [opts] | Search people (name: dept: project:) |
/accept-eula | Accept the Work IQ EULA |
/title <name> | Set terminal/tab title |
/tools | List available MCP tools |
/help | Show available commands |
/quit | Exit |
| Condition | Behavior |
|---|
| No arguments, interactive terminal | Launches the interactive REPL |
| No arguments, piped stdin (no TTY) | MCP proxy mode (how MCP clients invoke it) |
mcp subcommand | MCP proxy mode (explicit) |
serve subcommand | OpenAI-compatible HTTP API on localhost |
web subcommand | Browser-based terminal UI |
json subcommand | Interactive JSON-RPC testing |
| Any other arguments | Passed through to the Work IQ CLI |
workiq-proxy --workiq-cmd workiq
workiq-proxy --log-file /tmp/workiq-debug.log
workiq-proxy serve --port 9000