Permission prompt: add global 'Yes, don't ask again' option (not scoped to project folder)
Feature Request
When Claude Code prompts for permission to use an MCP tool, the options are:
- Yes
- Yes, and don't ask again for
<tool>in<current project folder> - No
Request: Add a fourth option:
Yes, and don't ask again (globally)
This would write the permission to ~/.claude/settings.json (user-level) instead of the project-level settings file, so it applies across all projects and folders.
Motivation
Currently, to grant a global permanent permission, users must manually edit ~/.claude/settings.json and add the tool to the permissions.allow array. This is a reasonable workaround but adds friction — especially for MCP tools used across many projects (e.g. Jira, PagerDuty).
The existing "don't ask again" option is useful but limited to one project. Many MCP tools are workspace-agnostic (e.g. Jira transition, Slack messaging) and there's no reason to re-grant permission per project.
Proposed Behavior
- Option 2 remains: writes to
.claude/settings.jsonin the current project directory (existing behavior) - New option: writes to
~/.claude/settings.json(global user settings)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗