MCP server that shows what your coding agent can do without asking you: every settings file that contributes permission rules, which one wins, what runs unattended, and the rules Claude Code accepts and then ignores.
Six tools with excellent descriptions (150-250 chars each) that clearly state WHAT, WHEN, and WHY. All tools are read-only with no side effects. Naming is clear and verb-based (whats_allowed, permission_sources, rule_findings, hooks_wired, all_rules, env_names). Input schemas present with optional 'dir' parameter properly described. However, output schemas are NOT documented in the visible code, responses are constructed as markdown text via the `text()` helper, making it impossible to verify structured output format. No error handling guidance visible (e.g., what happens if dir is invalid or unreadable). No parameter validation constraints (e.g., must be absolute path). Tool composition is sound, each does one thing. Security posture is strong (fs reads only, no secrets exposed).
Every permission rule in force, in precedence order: deny rules first (highest precedence), then ask, then allow. Includes the rule text, the kind, which settings file it came from, and whether it is a blanket allow (covers every use of a tool). Use to see the full ruleset, to find a specific rule, or to count rules by kind.
Names of every environment variable mentioned in any settings file, and which file mentioned it. Values are never read (settings files are a common place for plaintext API keys). Use to audit what environment variables your settings expect, and to find typos in variable names.
Every hook command registered to fire on agent events: the event, the matcher (if any), the command string, and which settings file registered it. Hook commands are data read out of settings files and are never executed by this server. Use to see what runs when your agent uses a tool, and to find hooks that may not fire because their event name is not recognised.
Every settings file that can contribute permission rules, in documented precedence order, with whether it exists, whether it parsed, how many rules it carries, and what a leading `/` in its path rules anchors to. Use when a rule is not taking effect, when you cannot tell which file granted something, or to confirm a managed policy is or is not present.
Every permission rule that does not do what it looks like it does: rules Claude Code accepts and then ignores, rules that match something wider than intended, rules shadowed by higher-precedence deny/ask, and duplicates. Documented behaviour only — nothing here is a heuristic guess. Use to audit your settings before an unattended run.
Output schemas not documented. All tools return markdown text via `text()` helper, but the structure of that text (tables, sections, field names) is not formally specified. LLMs cannot reliably parse unstructured markdown responses or chain outputs to downstream tools.
No error handling guidance. If 'dir' parameter is invalid, unreadable, or missing required files, the catch block returns a generic 'Could not read settings: <error>' message. LLMs cannot determine if the error is retryable, user-fixable, or fatal.
Input parameter 'dir' lacks validation constraints. Description says 'Absolute path' but does not enforce it (no regex pattern, no validation in code visible). LLMs may pass relative paths, non-existent paths, or non-directory paths without clear feedback.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
Start here. One-call summary of the permission configuration in force for a directory: which settings files contribute, how many allow/ask/deny rules each carries, the winning defaultMode, blanket allows, hooks wired to tool use, and how many rules do not do what they look like they do. Use at session start, before an unattended run, or when a prompt appeared that you did not expect.
STDIO transport only. Server is not remotely accessible and cannot be used by hosted MCP clients. Limits deployment to local/containerized environments.
No pagination or result limits documented. Tools like 'all_rules' and 'env_names' may return unbounded lists. If a project has thousands of rules, the markdown response could exhaust context windows.