Skip to main content

IDEs

IDE Integration Overview

An editor can connect to Verdictan in two separate ways. Pick the one that matches what you want, or use both.

  • Model traffic. The editor sends its model requests to your Verdictan gateway, so your policies apply and usage is recorded. Start with Gateway Setup.
  • MCP tools. The editor's agent gets Verdictan tools, such as searching history or linting a policy. This does not change where the editor sends model requests.

Two integration paths​

PathEndpointWhat Verdictan governs
Model traffichttp://127.0.0.1:41002/v1, or your published model hostnameModel requests the editor sends to this base URL
MCP toolshttps://<published-hostname>/mcpVerdictan tool and resource calls from the editor's agent

Only the model path governs prompts and answers. For that, the editor must let you set a custom OpenAI-compatible base URL. Chat Completions, Responses, and Messages requests all pass the same access, input, tool, output, and audit stages; use whichever the editor and your provider support. See Runtime Request Families.

warning

Port 41002 serves an LLM API. It is not a forward HTTP proxy. Don't point HTTP_PROXY, HTTPS_PROXY, or an editor's network proxy setting at it. An assistant that has no custom-endpoint setting cannot send its model traffic through Verdictan.

Client support by path​

Each guide covers the setup below. Check every feature you rely on: chat, inline completions, and agent mode can use different models or endpoints in the same editor.

Client guideConnection
CursorMCP tools
Claude DesktopMCP tools, with request-header authentication
WindsurfMCP tools in Cascade
VS Code and GitHub CopilotCustom-endpoint chat, plus a separate MCP connection
JetBrains AI AssistantCustom model endpoint, optional MCP
ZedCustom model endpoint, optional MCP
VS Code and JetBrains with ContinueModel requests
Qwen CodeModel requests
VS Code and JetBrains custom clientsModel requests from a configurable extension or plugin
EmacsModel requests
NeovimModel requests
XcodeCopilot Chat with a custom endpoint

Authentication boundaries​

An editor setup involves up to three credentials. Keep them apart:

CredentialHeld bySent to
Gateway runtime token (VERDICTAN_API_TOKEN)The verdictan gateway run processThe Verdictan control plane
Client API tokenThe editor's model client or MCP clientThe Verdictan gateway, as a Bearer token
Provider credential (secret_key_ref)The gateway's provider targetThe upstream model provider

Never paste the gateway runtime token into an editor. The Console lists client tokens on the API Tokens page as an Access Key or a Gateway Key; both come from the same token system. See API Tokens for IDEs.

Recorded data​

Every request through the gateway produces policy and audit events, and the gateway works out its cost from usage and price data. Request content appears in History only when capture is on. Traffic an editor sends straight to its vendor is invisible to Verdictan.

To confirm an editor goes through the gateway, send one request from the editor and then run:

verdictan events tail --since 10m --json

A matching event proves the request passed through Verdictan. No event does not prove it bypassed the gateway. Check in order:

  1. The gateway mode delivers events.
  2. The CLI queries the same organization and region as the gateway.
  3. The time window and filters include the request.
  4. The editor's active model base URL points at the gateway.

Next steps​