Cursor & VS Code
Cursor, VS Code with the official AI extensions, and most AI coding tools read OPENAI_BASE_URL / OPENAI_API_KEY. Set them globally and every suggestion, chat, and tool call flows through TapPass.
For step-by-step, per-tool setup see Cursor and GitHub Copilot under Connect your harness. This page is the general env-var approach for VS Code and other editor extensions.
Cursor
Section titled “Cursor”See the dedicated Cursor page for the current setup: a custom
OpenAI base URL (https://app.tappass.ai/v1), plus Anthropic mode for Claude
models. Use a per-developer tp_ key.
VS Code + GitHub Copilot
Section titled “VS Code + GitHub Copilot”VS Code + other AI extensions
Section titled “VS Code + other AI extensions”For extensions that accept a custom OpenAI endpoint (Continue, Cody, Codeium’s custom endpoint mode):
Add to your shell profile:
export OPENAI_BASE_URL=https://app.tappass.ai/v1export OPENAI_API_KEY=tp_...Restart VS Code. Most extensions pick the env vars up on launch.
Per-workspace override
Section titled “Per-workspace override”Drop a .env at the root of your workspace:
OPENAI_BASE_URL=https://app.tappass.ai/v1OPENAI_API_KEY=tp_dev_team_aliceVS Code’s Python and Node extensions load workspace .env files automatically.
Why this matters
Section titled “Why this matters”IDE assistants pull from your code. Without TapPass, secrets in open files are sent to OpenAI/Anthropic as context. With TapPass:
- PII detection masks emails, keys, and tokens from prompts before forwarding
- Audit trail captures what source files were included in which prompts
- Per-developer
tp_keys show exactly who prompted what