Skip to main content
Glama
MCP-Connect — Kali Agent MCP v2

MCP-Connect — Kali Agent MCP v2

by asarlashmit

mcp-connect— Kali Agent MCP v2

A Codex-style, structured MCP toolbox for operating a Kali Linux machine from ChatGPT or any compatible MCP client.

This repository contains the complete Kali Agent MCP v2.1.0 server developed in ~/mcp-connect, with 126 MCP tools for shell execution, persistent terminal sessions, filesystem operations, reversible patches, durable jobs, Git/worktrees, project build and test workflows, repository intelligence, Docker, Chromium browser automation, artifacts, checkpoints, system services, sandboxing, auditing, and Kali security-tool wrappers.

Security warning: this project intentionally exposes powerful machine-control capabilities. Run it only on systems you own or are authorized to administer, use a dedicated non-root account, keep the MCP server private, and never commit runtime keys, API tokens, private keys, .env files, tunnel profiles containing secrets, or runtime state.

Project status

  • Server version: 2.1.0

  • MCP tool discovery: 126 tools

  • MCP stdio protocol: validated

  • Integration suite: 19 tests passed on the source machine

  • Explicit execution timing policy: supported on process-oriented tools

  • Persistent tmux sessions: supported

  • Durable background jobs and incremental logs: supported

  • Git branches/worktrees and reversible patches: supported

  • Docker, Chromium/Playwright, bubblewrap sandbox, systemd inspection/actions: supported

  • OpenAI Secure MCP Tunnel integration: included

Related MCP server: kali-mcp-server

Architecture

ChatGPT / MCP client
        |
        |  OpenAI Secure MCP Tunnel or another private MCP transport
        v
   tunnel-client
        |
        |  stdio MCP
        v
  bin/kali-agent-mcp
        |
        v
  Kali Agent MCP v2.1
        |
        +-- system / health / environment / policy
        +-- filesystem / grep / patches / patch rollback
        +-- one-shot shell / persistent tmux PTY / interrupts
        +-- durable jobs / status / logs / wait / cancel
        +-- process / port / service inspection
        +-- Git / diff / branches / worktrees / blame
        +-- build / test / lint / typecheck / benchmark
        +-- repository map / symbols / dependencies / instructions
        +-- Docker / Compose
        +-- Chromium + Playwright browser sessions
        +-- checkpoints / tasks / artifacts / agent workspaces
        +-- bubblewrap sandbox
        `-- nmap / nikto / gobuster / dirb / sqlmap / Metasploit /
            Hydra / John / WPScan / enum4linux wrappers

The preferred tunnel design does not require a public listener. tunnel-client runs on the Kali machine and starts this MCP server as a local stdio child process.

Requirements

Minimum:

  • Kali Linux or another compatible Linux distribution

  • Python 3.11+

  • python3-venv

  • Git

Recommended for all features:

  • Chromium

  • Node.js + npm

  • tmux

  • Docker

  • bubblewrap (bwrap)

  • ripgrep (rg)

  • standard Kali security tools used by the wrappers

The Python package dependencies are declared in pyproject.toml:

mcp >=1.22,<2
pydantic >=2.0
psutil >=5.9
GitPython >=3.1
playwright >=1.40        # optional browser extra
pytest >=8               # development/test extra

Fast local setup

git clone https://github.com/asarlashmit/MCP-Connect.git ~/mcp-connect
cd ~/mcp-connect

chmod +x scripts/*.sh bin/* install-kali-chatgpt-mcp.sh rotate-runtime-key.sh
./scripts/setup-local.sh
./scripts/full-validate.sh

The setup script:

  1. creates .venv/;

  2. installs the project in editable mode with development and browser extras;

  3. installs the project-local matching Playwright Node driver when Node/npm are present;

  4. symlinks kali-agent and kali-agent-mcp into ~/.local/bin;

  5. leaves all credentials and persistent state outside Git.

Basic checks:

cd ~/mcp-connect
./bin/kali-agent health
./bin/kali-agent capabilities
./bin/kali-agent tools
./scripts/doctor.sh

Local MCP server entry point:

~/mcp-connect/bin/kali-agent-mcp

Connect it to ChatGPT through OpenAI Secure MCP Tunnel

The full end-to-end replication guide is in docs/INSTALLATION.md.

At a high level:

  1. Clone and validate this repository.

  2. Create an OpenAI MCP tunnel and a separate runtime API key with the required tunnel permissions.

  3. Install the official tunnel-client.

  4. Initialize a named stdio tunnel profile whose MCP command is:

    /home/<your-user>/mcp-connect/bin/kali-agent-mcp
  5. Keep the runtime key in a mode-600 environment file outside the repository.

  6. Run tunnel-client doctor --profile <profile> --explain.

  7. Run the tunnel persistently, preferably through systemd.

  8. In ChatGPT, create a developer-mode app/plugin, choose Connection: Tunnel, and select the tunnel.

  9. Verify with server_health and a harmless timed exec_command call.

This repository also preserves the original full installer used during development:

./install-kali-chatgpt-mcp.sh

That installer provisions the official Kali mcp-kali-server bridge, downloads the latest official OpenAI tunnel-client, configures the tunnel service, stores the runtime key outside the repository, and performs security checks. Afterward, scripts/activate-tunnel.sh switches the tunnel profile to the 126-tool v2 server:

./scripts/activate-tunnel.sh "$HOME/.config/tunnel-client/kali-chatgpt.yaml"
sudo systemctl restart openai-kali-mcp-tunnel.service

The detailed guide explains both the direct v2 stdio route and the historical two-stage route used to build this machine.

ChatGPT test prompt

After the tunnel and app are connected, a safe first prompt is:

Use my Kali MCP app.
First call server_health.
Then count the available tools.
Verify that exec_command exposes:
- expected_runtime_seconds
- timeout_seconds
- check_after_seconds
- poll_interval_seconds
- on_timeout
Then run a harmless command such as `printf 'mcp-ok\n' && uname -s` with explicitly selected timing values.
Do not modify the system.

Explicit execution timing policy

Process-oriented tools expose these controls:

expected_runtime_seconds
timeout_seconds
check_after_seconds
poll_interval_seconds
on_timeout = kill | return_partial | continue_background

Example:

{
  "command": "npm run build",
  "cwd": "/home/kali/project",
  "expected_runtime_seconds": 120,
  "timeout_seconds": 300,
  "check_after_seconds": 30,
  "poll_interval_seconds": 5,
  "on_timeout": "continue_background"
}

When on_timeout is continue_background, long-running work can return a durable job_id for later job_status, job_logs, or job_wait calls instead of forcing one MCP call to remain open indefinitely.

See docs/EXECUTION_POLICY.md.

Tool families

The 126 tools include:

Family

Examples

System

server_health, server_capabilities, system_info, environment_info

Filesystem

read/write/append/copy/move/delete/mkdir/stat/list/find/grep

Patch workflow

apply_patch, patch_history, revert_patch

Shell and PTY

exec_command, persistent tmux sessions, capture, interrupt

Jobs

start/status/logs/wait/cancel/list/cleanup

Processes and ports

list/info/tree/kill, port inventory and owner lookup

Git

status/diff/log/show/branches/checkout/add/reset/commit/restore/blame/worktrees

Development

detect/install/build/test/lint/typecheck/benchmark

Repository intelligence

tree/map/summary/frameworks/entrypoints/tests/instructions/TODOs/dependencies/symbols

Docker

ps/inspect/logs/exec/build/run/stop/remove/compose

Browser

open/navigate/text/html/screenshot/console/network/close/list

State

checkpoints/tasks/agent workspaces

Artifacts

register/create/list/info/read/delete

Services

status/logs/list/actions

Policy and sandbox

policy status/path checks/classification/sandbox/audit

Kali wrappers

nmap, nikto, gobuster, dirb, sqlmap, Metasploit, Hydra, John, WPScan, enum4linux

For the generated complete catalog, see docs/TOOL_CATALOG.md.

Repository layout

mcp-connect/
├── bin/
│   ├── kali-agent
│   └── kali-agent-mcp
├── config/
│   └── kali-agent-mcp.example.json
├── docs/
│   ├── INSTALLATION.md
│   ├── ARCHITECTURE.md
│   ├── EXECUTION_POLICY.md
│   ├── OPERATIONS.md
│   ├── SECURITY_MODEL.md
│   ├── TOOL_CATALOG.md
│   ├── TEST_REPORT.md
│   └── TUNNEL_SETUP.md
├── kali_agent_mcp/
│   ├── core/
│   ├── tools/
│   ├── cli.py
│   └── server.py
├── scripts/
│   ├── setup-local.sh
│   ├── activate-tunnel.sh
│   ├── doctor.sh
│   ├── full-validate.sh
│   ├── install-browser-driver.sh
│   └── verify_all_126.py
├── systemd/
├── tests/
├── install-kali-chatgpt-mcp.sh
├── rotate-runtime-key.sh
├── pyproject.toml
└── README.md

Configuration

Copy the example only when you need custom policy settings:

cp config/kali-agent-mcp.example.json ~/.config/kali-agent-mcp/config.json
chmod 600 ~/.config/kali-agent-mcp/config.json

Default policy values include:

{
  "command_timeout": 180,
  "max_output_bytes": 200000,
  "shell_enabled": true,
  "browser_enabled": true,
  "security_tools_enabled": true,
  "audit_enabled": true,
  "allowed_roots": ["/home/kali", "/tmp"],
  "default_cwd": "/home/kali"
}

Adjust paths for your own username and trust boundary. A public repository should never contain your live config if it contains machine-specific secrets or credentials.

Runtime state

Persistent runtime state is stored outside the repository under:

~/.local/state/kali-agent-mcp/
├── artifacts/
├── audit.jsonl
├── backups/
├── browser/
├── checkpoints/
├── jobs/
├── patches/
├── sessions/
└── tasks/

Do not commit this directory.

Credential handling

The public repository is designed so that credentials remain outside Git:

  • runtime API keys: external mode-600 environment file;

  • tunnel profiles: local machine configuration;

  • GitHub credentials: use gh auth, SSH agent, or your normal Git credential helper;

  • .env, private-key, certificate, runtime, cache, log, verification-run, and browser dependency directories: ignored or excluded;

  • audit records: likely credentials are redacted by the server.

Before publishing a fork, run the secret-scan procedure in SECURITY.md.

Browser support

Browser tools use the installed Chromium binary at /usr/bin/chromium. The Python Playwright package may need a matching Node driver, so the repository installs a project-local driver under the ignored path:

.runtime/playwright-node/

Install or refresh it with:

./scripts/install-browser-driver.sh

No browser binary is committed to this repository.

Validation

Run:

./scripts/full-validate.sh

The validation pipeline compiles the Python source, runs the doctor checks, executes pytest, verifies tool-name uniqueness, and reports the discovered tool count.

For the more exhaustive integration verifier:

./scripts/verify_all_126.py

Some security-tool verification cases intentionally use loopback-only local test targets. Do not point security tools at systems you do not own or lack explicit permission to test.

Documentation

Official references

  • OpenAI Secure MCP Tunnel: https://developers.openai.com/api/docs/guides/secure-mcp-tunnels

  • Kali mcp-kali-server: https://www.kali.org/tools/mcp-kali-server/

  • Model Context Protocol: https://modelcontextprotocol.io/

Responsible use

This project can execute commands and invoke offensive-security tools. Use it only on infrastructure you own or have explicit authorization to test. The maintainers and contributors are not responsible for misuse.

License

MIT License. See LICENSE.

Available Tools

126 tools
agent_workspace_createD

Kali Agent MCP tool: agent_workspace_create

Inputs: repo (required), branch (required), destination (required), objective, +2 more. Returns: object

append_fileD

Kali Agent MCP tool: append_file

Inputs: path (required), content (required), create_parents. Returns: object

apply_patchC

Kali Agent MCP tool: apply_patch Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: cwd (required), patch_text (required), strip, check_only, +6 more. Returns: object

artifact_create_textD

Kali Agent MCP tool: artifact_create_text

Inputs: content (required), name. Returns: object

artifact_deleteD

Kali Agent MCP tool: artifact_delete

Inputs: artifact_id (required). Returns: object

artifact_infoD

Kali Agent MCP tool: artifact_info

Inputs: artifact_id (required). Returns: object

artifact_listD

Kali Agent MCP tool: artifact_list

Inputs: limit. Returns: object

artifact_readD

Kali Agent MCP tool: artifact_read

Inputs: artifact_id (required), offset, max_bytes. Returns: object

artifact_registerD

Kali Agent MCP tool: artifact_register

Inputs: source (required), move, name. Returns: object

audit_logD

Kali Agent MCP tool: audit_log

Inputs: limit, action. Returns: object

browser_clickC

Kali Agent MCP tool: browser_click Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: selector (required), session_id (required), on_timeout, timeout_ms, +4 more. Returns: object

browser_closeC

Kali Agent MCP tool: browser_close Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: session_id (required), on_timeout, timeout_seconds, check_after_seconds, +2 more. Returns: object

browser_consoleD

Kali Agent MCP tool: browser_console

Inputs: session_id (required), clear, limit. Returns: object

browser_htmlD

Kali Agent MCP tool: browser_html Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: session_id (required), selector, max_chars, on_timeout, +4 more. Returns: object

browser_listD

Kali Agent MCP tool: browser_list

Inputs: no named parameters. Returns: object

browser_navigateC

Kali Agent MCP tool: browser_navigate Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: url (required), session_id (required), on_timeout, timeout_ms, +5 more. Returns: object

browser_networkD

Kali Agent MCP tool: browser_network

Inputs: session_id (required), clear, limit, url_contains. Returns: object

browser_openC

Kali Agent MCP tool: browser_open Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: url, width, height, headless, +5 more. Returns: object

browser_screenshotC

Kali Agent MCP tool: browser_screenshot Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: session_id (required), name, selector, full_page, +5 more. Returns: object

browser_textC

Kali Agent MCP tool: browser_text Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: session_id (required), selector, max_chars, on_timeout, +4 more. Returns: object

browser_typeD

Kali Agent MCP tool: browser_type Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: text (required), selector (required), session_id (required), clear, +5 more. Returns: object

build_projectB

Kali Agent MCP tool: build_project Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, command, background, on_timeout, +4 more. Returns: object

checkpoint_listD

Kali Agent MCP tool: checkpoint_list

Inputs: limit. Returns: object

checkpoint_loadD

Kali Agent MCP tool: checkpoint_load

Inputs: checkpoint_id (required). Returns: object

checkpoint_saveD

Kali Agent MCP tool: checkpoint_save

Inputs: data (required), name (required), repo, task. Returns: object

command_classifyD

Kali Agent MCP tool: command_classify

Inputs: command (required). Returns: object

copy_pathD

Kali Agent MCP tool: copy_path

Inputs: source (required), destination (required), overwrite. Returns: object

create_directoryD

Kali Agent MCP tool: create_directory

Inputs: path (required), parents. Returns: object

delete_pathD

Kali Agent MCP tool: delete_path

Inputs: path (required), recursive. Returns: object

dependency_mapD

Kali Agent MCP tool: dependency_map

Inputs: path. Returns: object

detect_frameworksD

Kali Agent MCP tool: detect_frameworks

Inputs: path. Returns: object

detect_projectD

Kali Agent MCP tool: detect_project

Inputs: path. Returns: object

dirb_scanC

Kali Agent MCP tool: dirb_scan Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: url (required), wordlist, on_timeout, additional_args, +4 more. Returns: object

docker_buildB

Kali Agent MCP tool: docker_build Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: context (required), tag, no_cache, build_args, +6 more. Returns: object

docker_composeC

Kali Agent MCP tool: docker_compose Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), build, action, detach, +6 more. Returns: object

docker_execB

Kali Agent MCP tool: docker_exec Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: command (required), container (required), env, user, +6 more. Returns: object

docker_inspectC

Kali Agent MCP tool: docker_inspect Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: target (required), on_timeout, timeout_seconds, check_after_seconds, +2 more. Returns: object

docker_logsC

Kali Agent MCP tool: docker_logs Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: container (required), tail, since, on_timeout, +5 more. Returns: object

docker_psD

Kali Agent MCP tool: docker_ps Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: on_timeout, all_containers, timeout_seconds, check_after_seconds, +2 more. Returns: object

docker_removeC

Kali Agent MCP tool: docker_remove Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: container (required), force, volumes, on_timeout, +4 more. Returns: object

docker_runC

Kali Agent MCP tool: docker_run Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: image (required), env, name, ports, +10 more. Returns: object

docker_stopA

Kali Agent MCP tool: docker_stop Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: container (required), on_timeout, timeout_seconds, check_after_seconds, +2 more. Returns: object

enum4linux_scanD

Kali Agent MCP tool: enum4linux_scan Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: target (required), on_timeout, additional_args, timeout_seconds, +3 more. Returns: object

environment_infoD

Kali Agent MCP tool: environment_info

Inputs: include_environment_keys. Returns: object

exec_commandA

Execute a shell command with an explicitly selected runtime, timeout, recheck interval, and timeout action. Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: command (required), cwd, env, on_timeout, +5 more. Returns: object

execute_commandA

Execute a shell command with an explicitly selected runtime, timeout, recheck interval, and timeout action. Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: command (required), cwd, env, on_timeout, +5 more. Returns: object

file_statD

Kali Agent MCP tool: file_stat

Inputs: path (required), checksum. Returns: object

find_entrypointsD

Kali Agent MCP tool: find_entrypoints

Inputs: path, limit. Returns: object

find_filesD

Kali Agent MCP tool: find_files

Inputs: root (required), limit, pattern, max_depth, +1 more. Returns: object

find_testsD

Kali Agent MCP tool: find_tests

Inputs: path, limit. Returns: object

find_todosC

Kali Agent MCP tool: find_todos Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, limit, on_timeout, timeout_seconds, +3 more. Returns: object

git_addC

Kali Agent MCP tool: git_add Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), paths, on_timeout, all_changes, +4 more. Returns: object

git_blameC

Kali Agent MCP tool: git_blame Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), file_path (required), end_line, on_timeout, +5 more. Returns: object

git_branchesD

Kali Agent MCP tool: git_branches Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, on_timeout, all_branches, timeout_seconds, +3 more. Returns: object

git_checkoutC

Kali Agent MCP tool: git_checkout Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: ref (required), path (required), create, on_timeout, +4 more. Returns: object

git_clean_previewC

Kali Agent MCP tool: git_clean_preview Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, ignored, on_timeout, directories, +4 more. Returns: object

git_commitC

Kali Agent MCP tool: git_commit Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), message (required), on_timeout, all_tracked, +5 more. Returns: object

git_create_branchD

Kali Agent MCP tool: git_create_branch Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), branch (required), checkout, on_timeout, +5 more. Returns: object

git_diffC

Kali Agent MCP tool: git_diff Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: ref, path, staged, file_path, +6 more. Returns: object

git_logC

Kali Agent MCP tool: git_log Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: ref, path, limit, on_timeout, +4 more. Returns: object

git_resetD

Kali Agent MCP tool: git_reset Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), ref, mode, paths, +5 more. Returns: object

git_restoreD

Kali Agent MCP tool: git_restore Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), file_path (required), source, staged, +5 more. Returns: object

git_showD

Kali Agent MCP tool: git_show Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: ref, path, on_timeout, timeout_seconds, +4 more. Returns: object

git_statusC

Kali Agent MCP tool: git_status Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, porcelain, on_timeout, timeout_seconds, +3 more. Returns: object

git_worktree_createD

Kali Agent MCP tool: git_worktree_create Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), destination (required), branch, detach, +6 more. Returns: object

git_worktree_listC

Kali Agent MCP tool: git_worktree_list Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, on_timeout, timeout_seconds, check_after_seconds, +2 more. Returns: object

git_worktree_removeC

Kali Agent MCP tool: git_worktree_remove Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path (required), worktree (required), force, on_timeout, +4 more. Returns: object

gobuster_scanD

Kali Agent MCP tool: gobuster_scan Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: url (required), mode, wordlist, on_timeout, +5 more. Returns: object

hydra_attackC

Kali Agent MCP tool: hydra_attack Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: target (required), service (required), password, username, +9 more. Returns: object

install_dependenciesC

Kali Agent MCP tool: install_dependencies Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, command, background, on_timeout, +4 more. Returns: object

job_cancelD

Kali Agent MCP tool: job_cancel

Inputs: job_id (required), force. Returns: object

job_cleanupD

Kali Agent MCP tool: job_cleanup

Inputs: remove_completed_older_than_seconds. Returns: object

job_listD

Kali Agent MCP tool: job_list

Inputs: limit. Returns: object

job_logsD

Kali Agent MCP tool: job_logs

Inputs: job_id (required), offset, stream, max_bytes, +1 more. Returns: object

job_startA

Start a durable background job with an explicitly selected execution timing policy. Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: command (required), cwd, env, name, +5 more. Returns: object

job_statusD

Kali Agent MCP tool: job_status

Inputs: job_id (required). Returns: object

job_waitC

Wait for a durable job using an explicitly selected timeout and polling cadence.

poll_interval is retained as a compatibility alias; new callers should use poll_interval_seconds.

Inputs: job_id (required), poll_interval, timeout_seconds, poll_interval_seconds. Returns: object

john_crackA

Kali Agent MCP tool: john_crack Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: hash_file (required), wordlist, on_timeout, format_type, +5 more. Returns: object

lint_projectC

Kali Agent MCP tool: lint_project Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, command, background, on_timeout, +4 more. Returns: object

list_directoryD

Kali Agent MCP tool: list_directory

Inputs: path (required), limit, max_depth, recursive, +1 more. Returns: object

metasploit_runC

Kali Agent MCP tool: metasploit_run Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: module (required), action, options, on_timeout, +4 more. Returns: object

move_pathD

Kali Agent MCP tool: move_path

Inputs: source (required), destination (required), overwrite. Returns: object

nikto_scanC

Kali Agent MCP tool: nikto_scan Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: target (required), on_timeout, additional_args, timeout_seconds, +3 more. Returns: object

nmap_scanC

Kali Agent MCP tool: nmap_scan Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: target (required), ports, scan_type, on_timeout, +5 more. Returns: object

patch_historyD

Kali Agent MCP tool: patch_history

Inputs: limit. Returns: object

path_checkC

Check whether a path is permitted by the configured filesystem roots.

Inputs: path (required), must_exist. Returns: object

policy_statusD

Kali Agent MCP tool: policy_status

Inputs: no named parameters. Returns: object

port_listD

Kali Agent MCP tool: port_list

Inputs: kind, limit, status. Returns: object

port_ownerD

Kali Agent MCP tool: port_owner

Inputs: port (required), host. Returns: object

process_infoD

Kali Agent MCP tool: process_info

Inputs: pid (required). Returns: object

process_killD

Kali Agent MCP tool: process_kill

Inputs: pid (required), tree, force. Returns: object

process_listD

Kali Agent MCP tool: process_list

Inputs: limit, query. Returns: object

process_treeD

Kali Agent MCP tool: process_tree

Inputs: pid (required), recursive. Returns: object

read_fileD

Kali Agent MCP tool: read_file

Inputs: path (required), offset, max_bytes. Returns: object

read_file_rangeD

Kali Agent MCP tool: read_file_range

Inputs: path (required), end_line, start_line. Returns: object

repo_instructionsD

Kali Agent MCP tool: repo_instructions

Inputs: path, filename. Returns: object

repo_mapD

Kali Agent MCP tool: repo_map

Inputs: path, max_files. Returns: object

repo_summaryD

Kali Agent MCP tool: repo_summary

Inputs: path. Returns: object

repo_treeD

Kali Agent MCP tool: repo_tree

Inputs: path, limit, max_depth. Returns: object

revert_patchD

Kali Agent MCP tool: revert_patch

Inputs: patch_id (required). Returns: object

run_benchmarkA

Kali Agent MCP tool: run_benchmark Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, command, background, on_timeout, +4 more. Returns: object

run_testsC

Kali Agent MCP tool: run_tests Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, command, background, on_timeout, +4 more. Returns: object

sandbox_execC

Kali Agent MCP tool: sandbox_exec Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: cwd (required), command (required), env, network, +6 more. Returns: object

search_textC

Kali Agent MCP tool: search_text Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: root (required), query (required), glob, limit, +7 more. Returns: object

server_capabilitiesD

Kali Agent MCP tool: server_capabilities

Inputs: no named parameters. Returns: object

server_healthD

Kali Agent MCP tool: server_health

Inputs: no named parameters. Returns: object

service_actionC

Kali Agent MCP tool: service_action Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: action (required), service (required), user, on_timeout, +4 more. Returns: object

service_listC

Kali Agent MCP tool: service_list Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: user, limit, state, on_timeout, +4 more. Returns: object

service_logsC

Kali Agent MCP tool: service_logs Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: service (required), user, lines, since, +6 more. Returns: object

service_statusC

Kali Agent MCP tool: service_status Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: service (required), user, on_timeout, timeout_seconds, +3 more. Returns: object

session_closeD

Kali Agent MCP tool: session_close

Inputs: session_id (required). Returns: object

session_createD

Kali Agent MCP tool: session_create

Inputs: cwd, cols, name, rows, +1 more. Returns: object

session_interruptD

Kali Agent MCP tool: session_interrupt

Inputs: session_id (required). Returns: object

session_listD

Kali Agent MCP tool: session_list

Inputs: no named parameters. Returns: object

session_readD

Kali Agent MCP tool: session_read

Inputs: session_id (required), start_line, include_escape. Returns: object

session_resizeD

Kali Agent MCP tool: session_resize

Inputs: session_id (required), cols, rows. Returns: object

session_writeD

Kali Agent MCP tool: session_write

Inputs: text (required), session_id (required), literal, press_enter. Returns: object

sqlmap_scanC

Kali Agent MCP tool: sqlmap_scan Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: url (required), data, on_timeout, additional_args, +4 more. Returns: object

system_infoD

Kali Agent MCP tool: system_info

Inputs: no named parameters. Returns: object

task_createD

Kali Agent MCP tool: task_create

Inputs: title (required), objective (required), repo, steps, +1 more. Returns: object

task_listD

Kali Agent MCP tool: task_list

Inputs: limit, status. Returns: object

task_updateD

Kali Agent MCP tool: task_update

Inputs: task_id (required), note, status, metadata, +2 more. Returns: object

typecheck_projectC

Kali Agent MCP tool: typecheck_project Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: path, command, background, on_timeout, +4 more. Returns: object

wpscan_analyzeC

Kali Agent MCP tool: wpscan_analyze Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.

Inputs: url (required), on_timeout, additional_args, timeout_seconds, +3 more. Returns: object

write_fileD

Kali Agent MCP tool: write_file

Inputs: path (required), content (required), make_backup, create_parents. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2/5.0

    Scored across 126 tools

    Disambiguation3/5

    Many tools are well-differentiated by domain prefixes (browser_, docker_, git_, etc.), but exec_command and execute_command are nearly identical, causing confusion. Also, some tools like find_entrypoints and find_tests could overlap with search_text, though descriptions help.

    Naming Consistency4/5

    Most tools follow a consistent verb_noun snake_case pattern (e.g., create_directory, list_directory). Minor inconsistencies exist, such as browser_console (noun) instead of get_console, but overall the naming is reasonably predictable.

    Tool Count2/5

    126 tools is excessive for any server. While it aims to cover a broad security toolkit, many tools could be consolidated (e.g., a single run_security_tool with options). The sheer number overwhelms the agent's ability to select appropriately.

    Completeness4/5

    The tool set is extremely comprehensive, covering files, git, Docker, browser automation, process management, services, and a wide range of security scanners. However, there are minor gaps (e.g., no tool for chaining commands or updating scan configurations).

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A penetration testing MCP server that runs 20 hacking tools inside a Kali Linux Docker container, enabling AI assistants to execute security scans and attacks via natural language.
      2
      -
    • F
      license
      B
      quality
      C
      maintenance
      A Kali Linux MCP server that integrates network security and penetration testing tools like Nmap, Whois, Dig, Ping, Nikto, Hydra, and SQLMap into a Dockerized environment for use with LLMs.
      16
      3
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Config-driven MCP server that exposes Kali Linux penetration testing tools to AI agents, with automatic tool discovery, man page integration, and local/remote execution modes.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Production-grade MCP server that exposes Kali Linux penetration testing tools to AI agents, enabling automated reconnaissance, web application testing, vulnerability assessment, and more.
      1
      MIT