claude-code
claude-code copied to clipboard
VS Code Extension: MCP permissions not persisting despite settings
Description
MCP tool permissions are not being respected in the VS Code extension despite being configured in settings files.
Steps to Reproduce
- Configure MCP servers in
.mcp.json - Add permissions to
.claude/settings.jsonand/or~/.claude/settings.json:{ "permissions": { "allow": [ "mcp__chrome-devtools", "mcp__chrome-devtools__list_pages" ] }, "enableAllProjectMcpServers": true } - Restart VS Code extension
- Use an MCP tool
Expected Behavior
MCP tools listed in permissions.allow should execute without prompting.
Actual Behavior
Every MCP tool call prompts for permission, even after:
- Clicking "Yes" on previous prompts
- Configuring permissions in
.claude/settings.json(project scope) - Configuring permissions in
~/.claude/settings.json(user scope) - Using both server-level (
mcp__servername) and tool-level (mcp__servername__toolname) formats
Environment
- VS Code Extension
- macOS
Notes
The CLI may work differently - this issue is specific to the VS Code extension.