Always allow vs Allow once in Claude: what each option approves
What Allow once, Always allow and "don't ask again" approve in Claude and Claude Code, where it's saved, how to undo it and how to set MCP permissions.
In Claude, Allow once approves a single tool call and Always allow keeps that tool approved for the calls that follow. In Claude Code those buttons don’t exist under those names: the equivalent of Always allow is Yes, and don’t ask again. What changes from product to product is how long the approval lasts and where it’s stored: in claude.ai it’s a setting on your account, in Claude Code it’s a rule in a file in your repository.
To follow this post, all you need to know is what an MCP server is: a program that gives Claude new tools. The table separates the two surfaces, which are best kept apart:
| Where | Prompt option | What it approves | How long it lasts | Where it’s stored and how to undo it |
|---|---|---|---|---|
| Claude chat (web, desktop app, mobile) | Allow once | That call | Just that one time | Nothing is saved |
| Claude chat (web, desktop app, mobile) | Always allow | That connector tool, and in Auto mode without the automatic check | Until you change it | Customize > Connectors > the connector > Tool permissions |
| Claude Code (terminal, VS Code, the desktop app’s Code tab) | Yes | That action | Just that one time | Nothing is saved |
| Claude Code, Bash command | Yes, and don’t ask again for: npm test * | That command or prefix | Permanent in that repository | allow rule in .claude/settings.local.json; remove it with /permissions |
| Claude Code, file edit | The option to approve without being asked again (the docs don’t reproduce its label) | File edits in that session | Until the session ends | Nothing is written to any file |
| Claude Code, MCP tool | Yes, and don’t ask again… | That specific tool | Permanent in that repository (v2.1.330, undocumented) | mcp__server__tool rule in .claude/settings.local.json |
The desktop app contains both: the chat with connectors, which includes Cowork, and Claude Code in the Code tab [1].
What do Allow once and Always allow approve in claude.ai and the desktop app?
Before using a connector’s tool, Claude may ask for your approval: Allow once lets it through that one time and Always allow skips the prompt for that tool from now on [2].
The setting travels with your account: an Always allow you pick on mobile also counts on desktop [3]. To undo it, go to Customize > Connectors, open the connector and look for Tool permissions: each tool, or each group, can be set to Always allow, Needs approval, Blocked or, where it has already rolled out, Always ask [2] [3]. From that page you can also disconnect the connector entirely.
Watch the mode. In the new Claude experience, which merges chat and Cowork, the selector in the message box offers Manual and Auto, and Auto is rolling out as the default mode on Pro, Max, Ultra and Team (on Enterprise the default is Manual) [3]. In Manual, a tool set to Needs approval asks you every time. In Auto, that same tool runs without asking unless an automatic check flags it as risky, and a tool set to Always allow runs with no prompt and without that check, except for the ones the connector marks as destructive [3]. If you want to confirm every use, leave the tool on Needs approval and work in Manual, or set it to Always ask, which asks in any mode.
On Team and Enterprise, whatever an Owner (the role that administers the organization) sets in Organization settings > Connectors overrides your setting [4].
What about Claude Code? What “Yes, and don’t ask again” saves
The official documentation shows the prompt for a Bash command in Manual mode with four options: Yes, Yes, and don’t ask again for: npm test *, Yes, and switch to auto mode and No [5]. A lot of people search for it as “always allow”, but it’s that second option.
That prompt belongs to Manual mode. In current versions (since 2.1.283), new sessions in the terminal and in VS Code start in auto mode by default, where a classifier (a model that reviews each action before it runs) decides on your behalf and the prompt shows up far less often [6] (Claude Code’s six permission modes, explained with examples).
What gets saved depends on the type of action [5]. With a Bash command, a WebFetch domain (WebFetch is the tool Claude uses to download a page) or a web search, the approval is permanent: Claude Code writes an allow rule to .claude/settings.local.json, at the root of the git repository (outside a git repo or on Windows the location changes), and it applies to any future session in that repo, including from subfolders. With a file edit it writes nothing: the approval ends when you close the session.
With an MCP tool, the documentation doesn’t show the prompt. In version 2.1.330, the one I checked, the permanent option is labeled “Yes, and don’t ask again for server - tool (MCP) commands in your folder” and it saves a rule with the full name of that single tool. I read this in that version’s code, with no official screenshot, so the wording may vary.
To see what you’ve approved along the way, type /permissions: it lists each rule with the file it comes from, and you can delete it from there [5]. With a server that exposes a lot of tools, approving them one by one gets tedious. That’s what hand-written rules are for.
How do I always allow an MCP server in Claude Code, or block it?
Claude Code has no Always allow button for an entire MCP server: you get there with a rule in permissions.allow, and you block it with permissions.deny. An MCP tool is named mcp__<server>__<tool>, and with that you write rules in permissions.allow, permissions.ask or permissions.deny [5]. allow approves without asking, ask forces a prompt and deny blocks:
{
"permissions": {
"allow": ["mcp__github__get_*"],
"deny": ["mcp__puppeteer"]
}
}
The first rule approves the github server’s tools that start with get_. The second blocks every tool from the puppeteer server, because a bare mcp__puppeteer is equivalent to mcp__puppeteer__* [5]. For all your projects, it goes in ~/.claude/settings.json. For a single project, it goes in the repo’s .claude/settings.json, which gets committed and shared with the team; if the rule is only for you, use .claude/settings.local.json, which Claude Code keeps out of git when it creates it [7].
Wildcards have limits, and this is where most rules break without telling you [5]:
- In
allow,*only works after a literalmcp__server__prefix. A"mcp__*"or a"*"in allow is ignored and approves nothing. - In
denyandask,"mcp__*"does work and matches every MCP tool from every server. - An
mcp__rule with parentheses, such asmcp__github__create_issue(repo:x), is discarded when the file loads.
The evaluation order is deny, then ask, then allow, and the first match wins [5]. A very specific allow won’t rescue a tool that a broader deny already blocks, whether it comes from your file or from managed rules (the ones your organization enforces and you can’t change).
There are two cases where your allow rules don’t prevent the prompt, not even in auto mode. The first is a tool whose author marked it as requiring user interaction (requiresUserInteraction). The second is a claude.ai connector that your organization set to ask, as long as that setting reaches Claude Code: in the desktop app’s local and SSH sessions it doesn’t, and your normal rules apply there. In dontAsk (the mode that denies anything not pre-approved) those calls are denied [6] [8].
What does “Permission to use mcp__workspace__bash has been denied.” mean?
That message comes from Cowork, not from an MCP server of yours called workspace. Cowork runs on the same engine as Claude Code [9], and in a Cowork session in the desktop app it runs shell commands with its own tool, mcp__workspace__bash, instead of the regular Bash tool [5].
That’s why Claude Code permission rules reach it. The case Anthropic documents is a deny on Bash managed by your organization: deny rules that name Bash as a whole also apply to mcp__workspace__bash, and the block shows up under the Cowork tool’s name [5]. It doesn’t work the other way around: an allow on Bash never applies to mcp__workspace__bash.
If you’re on a Team or Enterprise plan, start by looking for that deny in your organization’s policy, and if it’s there, you can’t open it up from your side: you’ll need to talk to whoever administers the policy. I haven’t found any documentation on whether a deny in your personal ~/.claude/settings.json reaches Cowork, or on what other causes produce this same text. You’ll find other Claude Code block messages in the guide to permission error messages.
What deserves “always” and what doesn’t?
My rule of thumb is to look at what the tool does before looking at which server it comes from. One that only reads, like listing issues, can go to “always” with no drama. One that writes, deletes or sends something to another person I leave on Always ask in claude.ai (or on Needs approval if I’m working in Manual) and on ask in Claude Code, even if it means more clicks.
In the version I checked, the Claude Code prompt approves tool by tool, so the real risk is in the rules we write ourselves: mcp__server__* matches any tool from that server by name, including the one that arrives in the next update. That’s why I prefer prefixes like mcp__github__get_*. In claude.ai, it isn’t documented whether an Always allow set on a group covers the tools the connector adds later, so I review the Tool permissions whenever a connector updates. I cover how all of this combines with the modes and the classifier in the in-depth guide to Claude Code permissions.
Deciding what an agent does on its own and what goes through a person is the same problem when you’re the one designing the agent. In the agentic patterns course we work on it with our own agents, as well as with Claude Code.
Sources
- Desktop application, Claude Code documentation (Anthropic): the Code tab in the desktop app.
- Get started with connectors (Anthropic): Allow once, Always allow and Tool permissions.
- Get started with Claude Cowork (Anthropic): Manual and Auto modes and the Always ask level.
- Use connectors to extend Claude’s capabilities (Anthropic): the organization’s connector permissions.
- Configure permissions, Claude Code documentation (Anthropic): prompt options,
/permissions, evaluation order, MCP rules and Cowork tools. - Choose a permission mode, Claude Code documentation (Anthropic): which mode a session starts in.
- Settings, Claude Code documentation (Anthropic):
.claude/settings.jsonand.claude/settings.local.json. - MCP, Claude Code documentation (Anthropic):
requiresUserInteractionand organization controls. - Cowork overview, Claude documentation (Anthropic): Cowork and Claude Code share an architecture.
Frequently Asked Questions
What’s the difference between Allow once and Always allow in Claude?
Allow once approves only that call to the connector’s tool and, in Manual mode, Claude asks again the next time. In Auto mode it may not ask even if the tool is set to Needs approval. Always allow keeps it approved until you change it in the connector’s Tool permissions.
How do I undo an Always allow?
In claude.ai or the desktop app, switch the tool to Needs approval or Blocked in the connector’s Tool permissions (and if you want it to always ask, use Always ask or Manual mode). In Claude Code, open /permissions and delete the rule.
Can I approve every MCP tool at once in Claude Code?
Not with an allow rule: mcp__* in allow is ignored. You have to name each server, for example mcp__github__. Where mcp__ does work is in deny or ask: "deny": ["mcp__*"] blocks every MCP tool from every server at once.
Does Claude Code have Allow once and Always allow buttons?
Not under those names. The equivalent of Allow once is Yes, and the equivalent of Always allow is the option that starts with “Yes, and don’t ask again for”, which only appears when the prompt can show you exactly what you’re about to approve.