ashlr

/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):

Added 14 entries to ~/.claude/settings.json:
  + mcp__ashlr-efficiency__*
  + mcp__ashlr-sql__*
  + mcp__ashlr-bash__*
  + mcp__ashlr-tree__*
  + mcp__ashlr-http__*
  + mcp__ashlr-diff__*
  + mcp__ashlr-logs__*
  + mcp__ashlr-genome__*
  + mcp__ashlr-orient__*
  + mcp__ashlr-github__*
  + mcp__ashlr-glob__*
  + mcp__ashlr-webfetch__*
  + mcp__ashlr-*
  + mcp__plugin_ashlr_*

Restart Claude Code (or run /reload-plugins) to pick up the new permissions.

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:

FlagEffect
--dry-runPrint what would change, prefixed [dry-run], without writing
--removeStrip the ashlr entries again (Removed 14 ashlr permission entries:)
--settings <path>Edit a different settings file instead of ~/.claude/settings.json
bun run scripts/install-permissions.ts --remove

On this page