Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Norcaster CompanionNew to Visual Studio Code? Get it now.
Norcaster Companion

Norcaster Companion

Norcaster

|
3 installs
| (0) | Free
Route your AI coding assistant through the Norcaster AI Runtime Control Plane: two-click setup, governed status indicator, enforcement notifications with Decision Audit links. Keeps your key in the OS keychain for Claude Code. Setup and visibility — not another chat.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Norcaster Companion

Route your AI coding assistant through the Norcaster AI Runtime Control Plane — keep the assistant you love, add the governance your organization needs.

Your engineers already use Claude Code, Codex, or Continue. Every prompt they send carries code, credentials, and sometimes personal data straight to a model provider — ungoverned and unrecorded. Norcaster Companion routes that traffic through your organization's Norcaster gateway: policy is enforced before anything reaches the provider, and every decision leaves an audit record.

This extension is deliberately not another chat. It does setup and visibility; your assistant stays exactly as it is.

What you get

Two-click setup. Sign in with your personal Norcaster API key, run one configure command, and your assistant is governed:

  • Norcaster: Configure Claude Code
  • Norcaster: Configure Codex CLI
  • Norcaster: Configure Continue

Config writes always merge (never overwrite), always show you exactly what will be written first.

No plaintext key for Claude Code. Norcaster: Configure Claude Code keeps your key in the macOS Keychain (an owner-only file on other platforms) and points Claude Code's apiKeyHelper at a small helper script. Claude Code runs the helper and sends the key in both the Authorization and x-api-key headers — exactly what the gateway needs — so ~/.claude/settings.json only carries the gateway URL, the deployment header and the helper command. Set norcaster.credentialMode to env to get the 0.1.x behaviour (key written into settings.json). Re-running the command migrates an earlier plaintext token out of the file. The same helper and state are shared with the Norcaster Companion plugin for Claude Code (packages/claude-norcaster), so either can undo what the other wrote.

Codex on the current config format. Norcaster: Configure Codex CLI adds a norcaster provider to ~/.codex/config.toml with wire_api = "responses", the only value current Codex accepts, and writes ~/.codex/governed.config.toml, the profile file that codex --profile governed reads in Codex 0.134.0 and later. Codex sends $NORCASTER_API_KEY as both the bearer token and the X-API-Key header, so no key goes into the file. Codex reaches the gateway through the Responses API, which is served for OpenAI and Azure OpenAI deployments. If 0.2.0 or earlier configured Codex, re-run the command: it changes wire_api = "chat" to "responses", takes the plaintext key out of config.toml, moves the old [profiles.governed] table into the profile file and leaves every other line alone.

And you can turn it off. Norcaster: Remove Claude Code Configuration deletes exactly what the setup command wrote — the env keys, the apiKeyHelper entry, the helper script and the stored key — and leaves the rest of each file alone. Any apiKeyHelper you had before is put back. It checks every settings file Claude Code reads env from — ~/.claude/settings.json plus .claude/settings.json and .claude/settings.local.json in each folder open in the window — and shows you the full list before touching anything. Removing from some files but not others is the one state worse than not reverting at all: a leftover ANTHROPIC_BASE_URL with no credentials makes every request fail with a 401. It works after Sign Out too — opting out should never depend on still being signed in. Codex and Continue are still manual removals.

Governed status, visibly. A status-bar indicator shows the boundary is active — with distinct warning states when your key is missing, rejected, or the gateway is unreachable. No silent failures, no wondering.

Blocks that explain themselves. When the gateway stops a request — say, an AWS key pasted into a debugging prompt — you get a notification with a direct link to the decision record in Norcaster Decision Audit. Eligible non-credential contextual blocks also offer Forward once when your owner has granted that permission; approve, then retry the exact request before expiry. Credentials and other terminal controls never offer it.

What the gateway does for your traffic

  • Blocks access-granting credentials (private keys, AWS and Azure credentials, Entra ID client secrets, Azure DevOps and NuGet tokens) before they reach any model provider
  • Redacts structural secrets like connection strings, Azure Storage / Service Bus / Cosmos DB keys and appsettings.json secrets — the model still helps, without seeing the password
  • Records every decision with policy version, rule, and timestamp — per developer, per registered AI system
  • Blocked requests do not leave your boundary unless a permitted developer explicitly approves an eligible one-time exception; that exception is consumed and audited

Works in Cursor

Cursor is a VS Code fork and runs this extension unchanged. Verified 2026-09-14 on Cursor 3.20.17 (VS Code base 1.128.0; the extension needs 1.85+): a smoke test launches Cursor's own extension host with the extension in development mode, using throwaway profile directories, and checks that it activates, registers all eight commands, contributes its settings and runs a command. The packaged .vsix also installs through cursor --install-extension. Note that Cursor's marketplace is not the VS Code Marketplace, so a listing there is separate from a VS Code Marketplace listing; a .vsix works in both.

What the extension governs in Cursor is the same as in VS Code: Claude Code (in Cursor's terminal or the Claude Code extension), Codex CLI and Continue. Cursor's own models are not routed through the gateway. Cursor's OpenAI base-URL override sends only a bearer token and cannot add the X-Norcaster-Deployment-Id header the gateway requires on every request, so that route is not available today.

Requirements

  • A Norcaster workspace with a gateway deployment (norcaster.com)
  • A personal API key (one per developer — that's what makes audit attribution meaningful) with the scopes runs:write and deployments:read. Recommended: a key bound to your deployment, created with the Get a key button when you sign in; then leave norcaster.deploymentId empty and no assistant config carries a deployment header. Create one in portal in the sign-in prompt opens that page
  • With a key from Settings → API keys (not bound): the deployment ID, set in norcaster.deploymentId

Settings

Setting Default Purpose
norcaster.apiUrl https://api.norcaster.com Gateway base URL (self-hosted: point at yours)
norcaster.portalUrl https://www.norcaster.com Portal, for Decision Audit links
norcaster.deploymentId — Deployment to bind and watch. Leave it empty when your key is bound to exactly one deployment: the configure commands read the binding from GET /auth/me, write no X-Norcaster-Deployment-Id header (the gateway resolves the deployment from the key), and the extension watches that deployment. Otherwise the configure commands need it. If you later bind the key to more deployments, run the configure command again
norcaster.pollIntervalSeconds 30 Enforcement notification cadence
norcaster.credentialMode helper helper: key in the OS keychain behind Claude Code's apiKeyHelper; env: key in ~/.claude/settings.json

Security notes

Your API key is stored in VS Code SecretStorage (your OS keychain). For Claude Code the default helper mode keeps it there in spirit: the key goes to the macOS Keychain item norcaster-claude-code (account = gateway URL) or an owner-only file under ~/.claude/norcaster, and nothing secret is written to settings.json; in env mode the key is written there in plaintext, as the confirmation dialog says. The Continue configure command still writes the key into Continue's own plaintext config file — that is how Continue consumes credentials — with owner-only permissions. Codex reads its key from the environment, so nothing secret is written to ~/.codex; the extension copies an export line to your clipboard instead of editing shell profiles.

Scope, honestly

Input-side enforcement only (output buffering would break streamed code generation). GitHub Copilot cannot be routed (fixed endpoints). Detector patterns are high-signal heuristics — pair with repository-side secret hygiene.

Once routed, Claude Code uses the Anthropic API key your organization connected in Norcaster, so that traffic is billed per token by Anthropic, not against Claude seats. The Claude desktop app, Claude Code on the web and Claude in Slack don't take their routing from this setup.


Questions or problems: support@norcaster.com. Security reports: security@norcaster.com.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft