setup-local-scanner

setup-local-scanner is a skill for Claude Code from dtkmn/mcp-zap-server. It costs 60 tokens per session (4,043 once invoked), scanned B, original, Apache-2.0.

Instructions for setting up or reconnecting a self-contained local Apple Silicon macOS preview of an MCP ZAP Server, using a package supplied by its maintainer. MCP is a way for an agent to connect to external tools; ZAP is a web security scanner.

In plain words
What is it for?
Use it to install, start, or troubleshoot the local scanner connection when you have the required package and an Apple Silicon Mac.
Why use it?
It clarifies the package, machine, verification, and security requirements without pretending that an installer, download, or running scanner is included.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Part of the mcp-zap-connect plugin — 2 skills shipped together

Good fit Use it to install, start, or troubleshoot the local scanner connection when you have the required package and an Apple Silicon Mac.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dtkmn/mcp-zap-server/setup-local-scanner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dtkmn/mcp-zap-server --skill setup-local-scanner
Clone the repo
git clone --depth 1 https://github.com/dtkmn/mcp-zap-server

Made for: Claude Code.

Or install mcp-zap-connect, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-local-scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/dtkmn/mcp-zap-server/setup-local-scanner/github.svg)](https://agentmods.dev/skills/dtkmn/mcp-zap-server/setup-local-scanner)
Your own site
<a href="https://agentmods.dev/skills/dtkmn/mcp-zap-server/setup-local-scanner"><img src="https://agentmods.dev/badge/skills/dtkmn/mcp-zap-server/setup-local-scanner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-local-scanner

Your own site · 80×15
<a href="https://agentmods.dev/skills/dtkmn/mcp-zap-server/setup-local-scanner"><img src="https://agentmods.dev/badge/skills/dtkmn/mcp-zap-server/setup-local-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,043 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.04043
Opus 5.5 $0.00024 $0.01617
Sonnet 5.5 $0.00012 $0.00809
Haiku 4.5 $0.00006 $0.00404

Measured 12d ago against content hash 4ac4b97d6714, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

setup-local-scanner scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Codex:** use its existing user configuration (`~/.codex/config.toml`, or

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`--wait-timeout`. Check Git and curl for release verification, HTTPS access to the public GitHub API, OpenSSL when
plugins/mcp-zap-connect/skills/setup-local-scanner/SKILL.md · 309 lines

How it starts

The opening of the file, as written. The whole thing — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Set up the local scanner

Help the user reach an authenticated local MCP connection using the existing Docker Compose setup. This plugin supplies shared skills and a read-only release checker; installing it does not install Docker, start containers or register MCP tools. Explicit user instructions take precedence.

Configure only the client the user requested. Leave the other clients' settings unchanged. Claude Code means a local session on the scanner's machine; a Claude web chat or cloud coding session cannot reach that machine's loopback endpoint. For a pure status-only request through an existing connection, go directly to that client's passive-status call; setup prerequisites must not block it.

Check prerequisites and reuse the project

  • Commands must execute on the user's machine, where the requested client can reach the scanner's loopback endpoint. A remote or web-only execution host does not establish access to the user's local scanner.
  • For setup or restart, identify the host OS and architecture. Check Bash, Docker with a reachable engine, and Compose supporting --wait and --wait-timeout. Check Git and curl for release verification, HTTPS access to the public GitHub API, OpenSSL when creating new settings, and the bootstrap/doctor utilities documented in the project. Java and ZAP run inside containers; no host Java installation is required.
  • If a prerequisite check fails, follow the recovery steps below before continuing. Preserve existing installations and the selected Docker context.

Resolve missing prerequisites

  • Distinguish missing software from a missing PATH entry, a stopped engine or an access error. Locate an installed executable or Docker Desktop first; use its full path or a session-only PATH adjustment before proposing another installation. Do not change shell startup files or Docker contexts as a shortcut.
  • Explain the missing tool and propose the specific download, installation or update, including any administrator access or Docker restart it requires. Obtain approval before downloading or installing prerequisites, updating software or restarting an existing engine. Reuse explicit approval already given for those steps; a scanner setup request alone does not authorize software installation. If approval is declined, leave setup incomplete and provide the manual next step.
  • On macOS, follow the official Docker Desktop installation guide, matching the host's chip and supported OS. Docker Desktop includes Compose; do not install a competing engine to repair its CLI or Compose. For missing Git, use the official macOS installation options, such as Apple's Command Line Tools or an existing package manager. Do not install another package manager just to complete setup. For other systems, use the vendor's platform-specific Docker/Compose and Git instructions. Check platform-specific utility availability and container architecture compatibility before setup.
  • Carry out only approved steps within the host's permissions. Leave license acceptance, account sign-in, password entry and OS security prompts to the user. If a step requires their interaction or an app restart, explain it and wait for completion. Preserve macOS quarantine and security checks. A download or installer exit is not proof that the tool is usable.
  • If Docker is installed but stopped, explain that blocker and offer to open the existing application. Start it only after the user approves that action, then wait a bounded time for its engine. Never change startup-at-login settings. For an access error, diagnose the selected endpoint and permissions before proposing a repair; do not run setup as root or change permissions automatically.
  • After approved changes or the user's manual step, rediscover executable paths and recheck Bash, required utilities, Git, docker info, docker compose version, and both flags in docker compose up --help. Continue the original setup below only when the needed checks pass. If they still fail, explain the remaining blocker; retry after an identified fix, rather than repeatedly installing software or changing client settings.
  • A loaded Desktop skill does not require a separate Codex CLI installation for scanner setup. The direct GitHub plugin installation commands need the CLI before this skill is available. For that prerequisite, follow Check The Codex CLI: check the desktop app's bundled CLI first, then guide an approved installation only if needed.

Read the full file on GitHub · 309 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · +27 lines 4ac4b97d6714
  2. 1mo ago Changed · +30 lines 429d22150666
  3. 1mo ago Changed bdbed520858e
  4. 1mo ago Changed · +26 lines · +3 tokens per session 192a25c310dc
  5. 1mo ago Changed · +49 lines · +5 tokens per session 7a328d2fc429
  6. 1mo ago Changed · +61 lines · +2 tokens per session scan A → B 005318b1a79e
  7. 1mo ago Changed · +39 lines · +5 tokens per session 36bc7d6dd46e
  8. 1mo ago First seen · 77 lines · 45 tokens per session scan A d6edfeae868f

Subscribe to this mod's changes

setup-local-scanner is a skill published in the GitHub repository dtkmn/mcp-zap-server (71 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 4,043 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

setup-local-scanner compared with skills from other repositories

setup-local-scanner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-local-scannerdtkmn/mcp-zap-serverSkill71todayApache-2.0B60Claude Code
java-spring-aiducpm2303/claude-java-pluginsSkill177mo agononeA59Claude Code
spring-boot-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A48Claude Code
scraperapi-java-sdkscraperapi/scraperapi-skillsSkill105d agoMITA175Claude Code
ax-java-genax-llm/axSkill3.0ktodayApache-2.0A49Claude Code, Codex
strategy-agentAtmosphere/atmosphereSkill3.8k3d agoApache-2.0A36Claude Code, Codex
mcp-analyze-topicAtmosphere/atmosphereSkill3.8k3d agoApache-2.0A36Claude Code, Codex