Skip to content
CodeMorph

Download CodeMorph (Beta)

Free to download. Sign in for CodeMorph AI, or bring your own API key.

Release notes only. Unsubscribe in one click.

Esc
  • No results: ""

Settings and API keys

Store your Anthropic API key securely, choose a provider and model for Morph, and find every CodeMorph setting.

Morph's AI features run on CodeMorph AI (sign in, no key needed), your own model provider key, or a local model through Ollama. With your own key, requests go straight to your provider, you pay them directly, and we never mark it up.

What needs a key

Scan & Plan and Run & Verify are fully local and need no key. Conversion and Ask use CodeMorph AI, your own key or Ollama.

Set your Anthropic API key

  1. Open the Command Palette with Ctrl Shift P.
  2. Run CodeMorph: Set API Key.
  3. Paste your key (it starts with sk-ant-) and press Enter.

You'll see CodeMorph: API key saved. The input is masked, and pressing Esc or submitting an empty value leaves any existing key unchanged.

How the key is stored

The key goes into the editor's secret storage, which is encrypted with your operating system's credential protection and scoped to the CodeMorph extension. It is never written to settings.json, never synced with your settings and never logged.

To replace the key, run CodeMorph: Set API Key again. The new key overwrites the old one.

Choose a provider and model

Open Settings (Ctrl ,) and search for CodeMorph, or edit settings.json directly:

settings.json
{
  // "anthropic" (default) or "ollama"
  "codemorph.ai.provider": "anthropic",
  // Model identifier for that provider. Empty means CodeMorph's default.
  "codemorph.ai.model": ""
}
SettingValuesDefault
codemorph.ai.provideranthropic, ollamaanthropic
codemorph.ai.modelAny model identifier for the providerempty

Anthropic

Uses your key from secret storage. Pick the Claude model from the model picker at the bottom of the Morph panel, or set codemorph.ai.model. Usage is billed to your Anthropic account under its terms.

Ollama Available now

Runs open models locally through Ollama. Nothing leaves your machine. Set the provider to ollama and the model to an installed tag.

CodeMorph commands

CommandShortcutWhat it does
CodeMorph: Start MigrationCtrl Shift MOpens Morph and runs Scan & Plan
CodeMorph: Run VerifyCtrl Shift VRuns typecheck, tests and build
CodeMorph: New ChatStarts a fresh conversation with Morph
CodeMorph: Set API KeyStores your Anthropic key
CodeMorph: Open FolderOpens a project folder

Privacy defaults

These are set in the product itself, not as user settings you have to find:

  • Anonymous usage statistics are off until you choose. The app asks once on first launch, and closing the dialog means no. Change it with CodeMorph: Share Anonymous Stats.
  • There is no separate crash-report service.
  • The Extensions view uses Open VSX, the open extension registry.

Something unclear or out of date? Tell us.