Documentation
Pretense Documentation
Everything you need to protect your code before it reaches an LLM. From 5-minute setup to enterprise deployment.
Quick Start
Up and running in 5 minutes.
Installation
npm, pnpm, yarn, or bun.
Configuration
Proxy settings and mutation rules.
API Reference
Proxy endpoints and schemas.
Integrations
Claude Code, Cursor, VS Code, GitHub.
Examples
Real-world mutation walkthroughs.
Popular guides
Get started in 5 minutes
Install, init, and start the proxy. Connect Claude Code or Cursor. Run your first scan.
Connect Claude Code
Set ANTHROPIC_BASE_URL to route every Claude Code session through the Pretense proxy.
Set up the MCP server
Register pretense-mcp in .claude/settings.json for automatic pre-send scanning.
Add the GitHub Action
Block unprotected LLM API calls in CI. One workflow step, zero configuration drift.
Proxy API reference
Full endpoint documentation for /v1/messages, /v1/chat/completions, /audit, and /scan.
Configure Cursor
Point Cursor at localhost:9339 via the model base URL setting. Works with GPT-4 and Claude.
Need help?
The Pretense team responds to all issues within 24 hours. Enterprise customers get dedicated Slack support.