Skip to main content
Glama
Nikto MCP Server

Nikto MCP Server

by schwarztim

nikto_scan

Run Nikto web server vulnerability scans via SSH to Kali Linux to detect dangerous files, misconfigurations, default content, and insecure CGI scripts.

Instructions

Start a Nikto web server vulnerability scan via SSH to Kali Linux.

Nikto performs comprehensive tests against web servers for multiple items, including:

  • Over 6700 potentially dangerous files/programs

  • Server version checks

  • Server configuration issues

  • Default files and programs

  • Insecure CGI scripts

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>"
    },
    "name": "nikto_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoHTTP Basic authentication credentials (format: id:password)
sslNoForce SSL/HTTPS testing on specified ports
portNoTCP port(s) to scan. Can be single port (80), range (80-90), or comma-separated (80,443,8080). Default: 80
rootNoPrepend this path to all requests (e.g., /app)
no404NoDisable 404 (file not found) checking
nosslNoDisable SSL testing
pauseNoSeconds to delay between each test (for rate limiting)
vhostNoVirtual host header to send to the target
formatNoOutput format (default: text to stdout)
mutateNoMutation techniques: 1 - Test all files with all root directories 2 - Guess for password file names 3 - Enumerate user names via Apache (/~user) 4 - Enumerate user names via cgiwrap (/cgi-bin/cgiwrap/~user) 5 - Attempt to brute force sub-domain names 6 - Attempt to guess directory names from supplied dictionary
targetYesTarget URL, IP address, or hostname to scan (required)
tuningNoTest tuning options (combine multiple): 0 - File Upload 1 - Interesting File / Seen in logs 2 - Misconfiguration / Default File 3 - Information Disclosure 4 - Injection (XSS/Script/HTML) 5 - Remote File Retrieval - Inside Web Root 6 - Denial of Service 7 - Remote File Retrieval - Server Wide 8 - Command Execution / Remote Shell 9 - SQL Injection a - Authentication Bypass b - Software Identification c - Remote Source Inclusion x - Reverse Tuning (exclude specified)
cgidirsNoCGI directories to scan. Use 'all' or 'none', or specify custom paths
evasionNoIDS evasion technique(s) (combine multiple): 1 - Random URI encoding (non-UTF8) 2 - Directory self-reference (/./ 3 - Premature URL ending 4 - Prepend long random string 5 - Fake parameter 6 - TAB as request spacer 7 - Change the case of the URL 8 - Use Windows directory separator (\)
pluginsNoComma-separated list of plugins to run (use nikto_plugins to list available)
timeoutNoSeconds to wait before timing out a request (default: 10)
findonlyNoOnly discover HTTP(S) ports without performing security scan
nolookupNoDisable DNS lookups
useproxyNoUse HTTP proxy defined in Nikto configuration
scan_timeoutNoOverall scan timeout in seconds (default: 300)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It does disclose a meaningful behavioral fact — the scan runs remotely via SSH on a Kali Linux host — and 'Start a ... vulnerability scan' implies an active, intrusive, potentially long-running operation. However, it omits duration expectations (the schema's 300s scan_timeout), whether the call blocks or returns a job handle, whether authorization is required, and what the agent gets back.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and useful, but the five bullets are generic Nikto marketing copy that largely duplicates what a vulnerability scanner inherently does. Only the SSH/Kali detail and the 'what gets tested' framing earn their place; the rest is filler an agent gains little from.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex tool — 20 parameters, no annotations, no output schema — and the description does not compensate. It leaves unanswered whether the scan is destructive against the target, how long it runs, whether results are returned inline or as a job, and safety/authorization caveats that matter greatly for an active scanning tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every one of the 20 parameters is already documented in detail, including enums and defaults. The description adds no parameter-level meaning beyond the schema (the bullets about files, server versions, and CGI scripts loosely relate to tuning/plugins but do not explain them). Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource ('Start a Nikto web server vulnerability scan') plus the execution channel ('via SSH to Kali Linux'), which is enough to distinguish it from siblings like nikto_plugins or nikto_check_db that only list data. It stops short of explicitly naming which sibling to use instead for option discovery, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description never states when to choose this tool over nikto_plugins, nikto_tuning, or nikto_evasion, nor any prerequisites such as a reachable Kali host, SSH credentials, or authorization to scan the target. The five bullets describe what Nikto checks generically rather than guiding the agent's invocation decision.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.