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
| Setting | Description |
|---|---|
| Claude Code | Spawns Claude Code as a subprocess. Enables prompt caching, the MCP server, and tool calling. Requires the Claude Code CLI installed and authenticated. |
| Direct API | Sends 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.
| Setting | Default | Description |
|---|---|---|
| Executable Path | (auto-detect) | Path to the claude CLI executable. Leave empty to let the plugin find it automatically in PATH. |
| Bare Mode | Off | Passes --bare to Claude Code, which strips some system prompts. |
| MCP Server Port | 7755 | Local port for the built-in MCP HTTP server. Change if something else occupies this port. |
| Auto-approve MCP tools | Off | Skip 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.
| Setting | Default | Description |
|---|---|---|
| API Key | (empty) | Your Anthropic API key from console.anthropic.com. Stored in per-project user settings, not in source control. |
| Model | Sonnet 4.6 | Which Claude model to use for all requests. |
| Max Tokens | 4096 | Maximum 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
| Setting | Default | Description |
|---|---|---|
| Require confirmation for destructive actions | On | Shows a dialog before any write/delete operation. |
| Auto-approve run_python | Off | Skip confirmation specifically for Python script execution. |
| Log API calls | Off | Prints request/response JSON to the Output Log for debugging. |