/ashlr-allow
Auto-approve every ashlr MCP tool so Claude Code stops prompting in bypass-permissions mode.
When to use
Run /ashlr-allow once after installing ashlr, before your first real session. Without it, Claude Code prompts as each MCP tool is used for the first time.
What it does
Runs bun run "${CLAUDE_PLUGIN_ROOT}/scripts/install-permissions.ts" and shows its output verbatim. The script appends ashlr MCP wildcards to permissions.allow in ~/.claude/settings.json: one mcp__ashlr-<server>__* entry for each of the 12 pre-router server names (the manifest now has a single ashlr router entry, so the script keeps these for older settings blocks), plus the catch-alls mcp__ashlr-* (legacy server names) and mcp__plugin_ashlr_* (router-backed plugin names). Entries already in the list are left alone, and the file is written atomically.
Output
First run (the path is your own settings file):
Run again, it lists the entries under Already present (14): ... and ends with All ashlr MCP tool entries already in allowlist. Nothing to do.
Flags
Run the script directly from the plugin folder (or an ashlr-plugin checkout) to use these:
| Flag | Effect |
|---|---|
--dry-run | Print what would change, prefixed [dry-run], without writing |
--remove | Strip the ashlr entries again (Removed 14 ashlr permission entries:) |
--settings <path> | Edit a different settings file instead of ~/.claude/settings.json |
Related
- Permissions reference: the entries added, scope options and dry-run
/ashlr-status: check the tools are active after reloading