~ / rigs / postrv / narsil-mcp

postrv/narsil-mcp

Rust MCP server for comprehensive code intelligence - 90 tools, 32 languages, security scanning, call graphs, and more

↗ GitHub ★ 184 apache-2.0 updated 2d ago project Claude Code Claude plugin
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~2.6k tokens
Moderate · median rig: 2.2k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add forgemax -- forgemax
$ npx degit postrv/narsil-mcp/.claude ./rig-narsil-mcp  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add forgemax -- forgemax
$ npx degit postrv/narsil-mcp/narsil-plugin/skills/narsil .claude/skills/narsil
$ curl -fsSL --create-dirs -o .claude/agents/adversarial-reviewer.md https://raw.githubusercontent.com/postrv/narsil-mcp/main/.claude/agents/adversarial-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/security-auditor.md https://raw.githubusercontent.com/postrv/narsil-mcp/main/.claude/agents/security-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/supervisor.md https://raw.githubusercontent.com/postrv/narsil-mcp/main/.claude/agents/supervisor.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Bash(rm -rf /)",
      "Bash(rm -rf ~)",
      "Bash(sudo *)",
      "Bash(chmod 777 *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/security-filter.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
forgemax binary 2.5k

Skills (1)

Subagents (3)

adversarial-reviewer
model: opus
Attempts to break implementations
security-auditor
model: opus
Security analysis using narsil-mcp
supervisor
model: opus
Chief Wiggum - Loop health supervisor and arbiter

Hooks (4)

eventmatcherruns
PreToolUseBash.claude/hooks/security-filter.sh
PostToolUseWrite|Edit|MultiEdit.claude/hooks/post-edit-scan.sh
Stop*.claude/hooks/end-of-turn.sh
SessionStart*.claude/hooks/session-init.sh

Permissions

deny (4)
Bash(rm -rf /)
Bash(rm -rf ~)
Bash(sudo *)
Bash(chmod 777 *)
ask (0)
—
allow (21)
Bash(npm *)
Bash(pnpm *)
Bash(cargo *)
Bash(git *)
Bash(narsil-mcp *)
Bash(ralph *)
Bash(python *)
Bash(*--help)
Bash(*-h)
Bash(ls *)
Bash(cat *)
Bash(grep *)
Bash(find *)
Bash(md5 *)
Read
Write
Edit
MultiEdit
Glob
Grep
MCP

Similar rigs

copied ✓