A Kali Linux MCP server providing AI assistants with access to security tools and pentest automation
This server has 12 tools with mixed quality. Naming is generally verb-based (session_create, shannon_auth_session, shannon_exec), but descriptions vary widely in completeness. Most tools lack documented output schemas, critical for LLM planning. Parameters are typed but many lack detailed constraints. Error handling is not visible in the provided code. The shannon_* tools (auth, browser, crawler, exec, exploit) are particularly complex but descriptions don't explain when to use each vs. alternatives, or what the output structure is. Session management tools (session_create, session_list, session_switch) are simpler but still lack output schema documentation. No evidence of secret injection patterns despite shannon_auth_session accepting credentials. Overall, definitions are functional but fall short of production-grade LLM-optimized tooling.
Create a new pentest session.
List all pentest sessions with metadata.
Switch to a different pentest session.
Create, manage, and retrieve authentication sessions for testing authenticated endpoints. Supports JWT tokens, session cookies, and custom headers. Can perform automated login or accept manual credentials.
Execute Python/Playwright scripts in a headless browser for testing dynamic content, JavaScript-heavy applications, and browser-based vulnerabilities. Has access to Playwright Page, BrowserContext, and browser objects.
Crawl web applications to discover attack surface: URLs, endpoints, forms, API routes, and interesting paths. Supports passive HTML parsing, active recursive crawling, authenticated crawling with tokens/cookies, and JavaScript-based network interception.
No documented output schemas for any tool. LLMs cannot plan downstream calls or extract required fields (e.g., session_id, discovered_urls, auth_token). This forces agents to guess response structure.
shannon_auth_session accepts credentials (email, username, password, jwt, cookies) as parameters. Credentials must never be exposed in tool parameters, they leak into logs and traces. Use server-side secret injection via environment variables or vault.
shannon_exec and shannon_exploit accept arbitrary shell commands with 5-minute timeouts. No input validation, sanitization, or command injection guards visible. LLMs can be tricked into passing malicious payloads. Requires strict allowlisting or sandboxing.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
Stop and remove the Shannon Docker container. Call this when done with pentesting. Removes the running container and frees resources. Safe to call even if container is not running.
Start the Shannon Docker container. Call this before running any security tools. Ensures the shannon-tools Docker container is running. If already running, this is a no-op. The container uses --network host for direct access to target networks.
Execute any command inside the Shannon Docker container and return the real output. The container has pre-installed tools: nmap, sqlmap, nikto, subfinder, whatweb, gobuster, hydra, curl, wget, dig, whois, nuclei, ffuf, httpx, Chromium + Playwright, and more.
Execute exploitation commands inside Docker for post-discovery exploitation (e.g., sqlmap for SQL injection, msfconsole for Metasploit exploits, custom payloads).
Copy files from the Shannon Docker container to the host filesystem. Use this to extract screenshots, generated reports, scan results, or any other files created inside the Docker container during pentesting.
Audit security headers and CORS configuration on target URLs. Detects missing security headers (CSP, HSTS, X-Frame-Options, etc.), CORS misconfigurations, and information disclosure headers.
No error handling guidance visible. Tools return success/failure but descriptions don't explain what to do on error (retry? ask user? fatal?). Agents need actionable recovery paths.
Tool descriptions lack context on when to use each vs. alternatives. shannon_crawler has 4 modes (passive/active/authenticated/js) but description doesn't explain trade-offs or when to pick each. LLMs will guess wrong.