The Model Context Protocol (MCP) is an open standard and open-source framework introduced by Anthropic in November 2024 to standardize the way artificial intelligence (AI) systems like large language models (LLMs) integrate and share data with external tools, systems, and data sources. MCP provides a universal interface for reading files, executing functions, and handling contextual prompts. Following its announcement, the protocol was adopted by major AI providers, including OpenAI and Google DeepMind.
The kaliai image comes pre-configured with all necessary security tools and environment variables.
sudo docker pull hariprasaanth/notes:latestRun the container in interactive mode with privileged access to allow network scanning and tool execution.
sudo docker run -it --rm --privileged -p 3001:3001 hariprasaanth/notes:latest /bin/bash| Flag | Description |
|---|---|
-it |
Interactive terminal |
--rm |
Auto-remove container on exit |
--privileged |
Grants access to host network stack (required for many Kali tools) |
-p 3001:3001 |
Maps the MCP server port for communication |
Once inside the container (or on your local machine), follow these steps to set up the MCP server.
git clone https://github.com/Hari-prasaanth/Notes.git
cd NotesIf NPM is not already installed, use the official installer:
Install Node
curl -fsSL https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.xz -o node.tar.xz
tar -xf node.tar.xz
mv node-v20.11.1-linux-x64 nodejsexport PATH=$PWD/nodejs/bin:$PATHcurl -L https://www.npmjs.com/install.sh | shSet up the Node.js environment and install the Express framework.
npm init -y
npm install expressRun the MCP server to begin handling requests.
node server.jsThe server will start listening on port 3001 and is ready to accept MCP requests. 🎯
pentest-mcp/
├── 🖥️ server.js # Entry point for the MCP pentest server
├── 📦 package.json # Node.js dependencies and scripts
└── 📁 src/ # MCP protocol implementation source
| Component | Description |
|---|---|
hariprasaanth/notes |
Base Docker image with the full Kali Linux toolset |
server.js |
Entry point for the MCP pentest server |
pentest-mcp/ |
Source code for the Model Context Protocol implementation |