| Language | Install | Invoke |
|---|---|---|
| TypeScript | npm install -D @apie/cli | npx apie |
| Python | pip install apie-sdk | apie |
init
Initialize Apie in your project. Creates config file and.env.example.
send-test-event
Send a smoke test event and print session replay URL.| Flag | Default | Description |
|---|---|---|
--mode | pipeline | pipeline (full session), single (one tool call), or proof (activation proof) |
doctor
Run connectivity and queue diagnostics.| Flag | Description |
|---|---|
--send-test | Send a test event after checks |
--mcp | Validate MCP proxy config |
--mcp-config | Path to MCP config (default: apie.mcp.json) |
capabilities declare
Declare capabilities from your config file.guardrails enable
Enable a guardrail template by key.report create
Generate a boundary report.| Flag | Default | Description |
|---|---|---|
--last | 7d | Time window |
--environment | — | Filter by environment |
--title | — | Report title |
mcp proxy
Run the Apie MCP proxy in front of an upstream MCP server.| Flag | Default | Description |
|---|---|---|
--config | apie.mcp.json | MCP config file path |
--server | — | Server name (multi-server config) |
--transport | stdio | stdio or sse |
--port | 3100 | SSE listen port |
--mode | from config | monitor or enforce |
--approval-timeout | from config | e.g. 10m |
--upstream-command | from config | Upstream MCP command |
--upstream-arg | from config | Upstream MCP arg (repeatable) |
--run-id | — | Apie run ID for emitted events |
pip install "apie-sdk[mcp-proxy]" for the proxy command.
