Skip to content

claude-acp agent server not registered after every Zed restart #50807

Description

@tonku321

Reproduction steps

  1. Update to Zed Preview v0.227.0 (no extensions or custom agent configuration)
  2. Use Claude Agent — works fine initially
  3. Restart Zed
  4. Open Agent Panel and try to start a new Claude Agent thread

Current vs. Expected behavior

Current behavior:
After every restart, the following error appears: Custom agent server claude-acp is not registered
The agent fails to start. Simply reinstalling Zed does not fix the issue.

Expected behavior:
Claude Agent should register correctly on every Zed startup without requiring reinstallation.

Workaround:

  1. Uninstall Zed
  2. Manually remove ~/Library/Application Support/Zed/
  3. Manually uninstall claude-code
  4. Install stable Zed release

Zed version and system specs

Zed: v0.227.0 (Preview)
OS: macOS Tahoe

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json
{
	"vim_mode": true,
	"vim": { "use_system_clipboard": "always" },

	"status_bar": {
		"active_language_button": false,
		"experimental.show": true,
	},
	"global_lsp_settings": { "button": false },

	"theme": "tonku",

	// font ui
	"ui_font_family": "JetBrains Mono",
	"ui_font_size": 13,

	// font
	"buffer_font_family": "JetBrains Mono",
	"buffer_font_size": 11,
	"buffer_line_height": "comfortable",
	"buffer_font_features": { "calt": false },

	"tab_size": 4,
	"cursor_blink": false,
	"current_line_highlight": "none",
	"hard_tabs": true,
	"ensure_final_newline_on_save": false,
	"remove_trailing_whitespace_on_save": true,

	"unstable.ui_density": "compact",
	"toolbar": {
		"breadcrumbs": false,
		"quick_actions": false,
		"selections_menu": false,
	},
	"gutter": {
		"line_numbers": true,
		"folds": false,
		"runnables": false,
		"breakpoints": false,
	},

	"show_signature_help_after_edits": true,
	"inline_code_actions": false,
	"inlay_hints": { "enabled": false, "show_parameter_hints": false },

	"close_on_file_delete": true,
	"extend_comment_on_newline": false,
	"on_last_window_closed": null,
	"restore_on_file_reopen": false,

	"debugger": { "button": false },
	"collaboration_panel": { "button": false },

	"scrollbar": {
		"axes": { "horizontal": false },
		"cursors": false,
		"show": "always",
		"git_diff": false,
	},

	"project_panel": {
		"auto_fold_dirs": false,
		"sticky_scroll": false,
		"scrollbar": { "show": "never" },
		"git_status": false,
		"indent_guides": { "show": "never" },
		"dock": "right",
		"indent_size": 15,
	},
	"show_call_status_icon": false,

	"tab_bar": { "show_tab_bar_buttons": false },
	"tabs": {
		"file_icons": true,
		"activate_on_close": "left_neighbour",
		"show_close_button": "hover",
	},

	"outline_panel": {
		"button": false,
		"dock": "right",
		"indent_guides": { "show": "never" },
		"indent_size": 15,
		"expand_outlines_with_depth": 1,
		"folder_icons": false,
		"file_icons": false,
		"scrollbar": { "show": "never" },
		"git_status": false,
	},

	"notification_panel": { "button": false },
	"terminal": {
		"font_family": "JetBrains Mono",
		"font_size": 11,
		"cursor_shape": "bar",
		"blinking": "off",
		"dock": "bottom",
		"button": false,
		"line_height": "comfortable",
		"minimum_contrast": 0,
	},

	"agent": {
		"single_file_review": true,
		"message_editor_min_lines": 4,
		"button": true,
		"enabled": true,
		"dock": "left",
		"show_turn_stats": true,
		"default_profile": "write",
	},

	"agent_ui_font_size": 13,
	"agent_buffer_font_size": 11,

	"context_servers": {
		"mcp-server-github": {
   "command": "npx",
			"args": ["-y", "@modelcontextprotocol/server-github"]
		},
		"atlassian-mcp": {
   "command": "uvx",
			"args": ["--python=3.12", "mcp-atlassian"]
		},
		"chrome-devtools": {
   "command": "npx",
			"args": ["chrome-devtools-mcp@latest", "--autoConnect", "--experimentalVision"]
		},
		"mattermost": {
   "command": "npx",
			"args": ["-y", "@dakatan/mcp-mattermost"],
		}
	},

	"show_edit_predictions": true,
	"edit_predictions": {
		"provider": "zed",
		"mode": "subtle",
	},

	"session": {
		"restore_unsaved_buffers": false,
		"trust_all_worktrees": true,
	},

	"preview": {
		"restore_on_startup": "last_workspace",
		"ensure_final_newline_on_save": false,
	},

	"git": {
		"inline_blame": { "enabled": false },
		"git_gutter": "tracked_files",
	},
	"git_panel": {
		"button": false,
		"dock": null
	},
	"diff_view_style": "unified",

	"format_on_save": "off",

	"search": { "button": false },
	"use_smartcase_search": true,

	"title_bar": { "show_user_picture": true, "show_sign_in": true },

	"drag_and_drop_selection": { "enabled": false },

	"scroll_beyond_last_line": "off",
	"lsp_highlight_debounce": 0,

	"minimap": { "show": "never", "current_line_highlight": "all" },
	"preview_tabs": { "enabled": true, "enable_preview_from_file_finder": true },
	"vertical_scroll_margin": 5,
	"excerpt_context_lines": 7,
	"expand_excerpt_lines": 15,
	"minimum_contrast_for_highlights": 0,
	"show_whitespaces": "none",

	"languages": {
		"TypeScript": {
			"language_servers": ["!typescript-language-server", "!tailwindcss-language-server", "..."]
		},
		"TSX": {
			"language_servers": ["!typescript-language-server", "!tailwindcss-language-server", "..."]
		},
		"Go": {
			"format_on_save": "off"
		}
	},
	"lsp": {
		"vtsls": { "settings": { "typescript": { "preferences": { "importModuleSpecifier": "non-relative" } } } }
	}
}

Relevant Keymap

keymap.json

(for AI issues) Model provider details

  • Provider: Claude Agent

If you are using WSL on Windows, what flavor of Linux are you using?

None

Pinned by yeskunall

Metadata

Metadata

Assignees

Labels

area:ai/acpFeedback for Zed's Agent Client Protocolreach:many usersBugs that happen for at least a third of the users across all platforms and kinds of usageseverity:S2Average run-of-the-mill bugs; a feature is broken but only partially

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions