Skip to main content

Configuration

All settings live at Edit → Project Settings → Plugins → Claude Assistant.

The API key is stored per-project in EditorPerProjectUserSettings.ini (never committed to source control).


Mode

SettingDescription
Claude CodeSpawns Claude Code as a subprocess. Enables prompt caching, the MCP server, and tool calling. Requires the Claude Code CLI installed and authenticated.
Direct APISends HTTP requests directly to the Anthropic API. Simpler setup, no CLI needed.

Claude Code mode settings

These settings only apply when Mode is set to Claude Code.

SettingDefaultDescription
Executable Path(auto-detect)Path to the claude CLI executable. Leave empty to let the plugin find it automatically in PATH.
Bare ModeOffPasses --bare to Claude Code, which strips some system prompts.
MCP Server Port7755Local port for the built-in MCP HTTP server. Change if something else occupies this port.
Auto-approve MCP toolsOffSkip confirmation dialogs for all tool calls (read and write). Use with caution.
Port conflict

If port 7755 is already in use, the MCP server will fail to start and Claude Code mode will not function. Change the port and restart the editor.


Direct API mode settings

These settings only apply when Mode is set to Direct API.

SettingDefaultDescription
API Key(empty)Your Anthropic API key from console.anthropic.com. Stored in per-project user settings, not in source control.
ModelSonnet 4.6Which Claude model to use for all requests.
Max Tokens4096Maximum tokens in each response (1–8192).
Direct API limitations

Direct API mode does not use the MCP server. Claude cannot inspect or modify your assets — it can only respond to the text you send. Use Claude Code mode for full tool access.


Common settings

SettingDefaultDescription
Require confirmation for destructive actionsOnShows a dialog before any write/delete operation.
Auto-approve run_pythonOffSkip confirmation specifically for Python script execution.
Log API callsOffPrints request/response JSON to the Output Log for debugging.