Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Model Context Protocol

Docker Node.js Kali Linux License


📖 Overview

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.

⚡ Quick Start

1. 🐳 Pull the Docker Image

The kaliai image comes pre-configured with all necessary security tools and environment variables.

sudo docker pull hariprasaanth/notes:latest

2. 🚀 Run the Container

Run 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

🛠️ Local Setup & Development

Once inside the container (or on your local machine), follow these steps to set up the MCP server.

3. 📦 Clone the Repository

git clone https://github.com/Hari-prasaanth/Notes.git
cd Notes

4. 🟢 Install Node.js and NPM

If 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 nodejs
export PATH=$PWD/nodejs/bin:$PATH
curl -L https://www.npmjs.com/install.sh | sh

5. 📥 Initialize and Install Dependencies

Set up the Node.js environment and install the Express framework.

npm init -y
npm install express

6. ▶️ Start the Server

Run the MCP server to begin handling requests.

node server.js

The server will start listening on port 3001 and is ready to accept MCP requests. 🎯


🗂️ Project Structure

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

About

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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages