mcp_server

siddhu881/mcp_server

3.1

If you are the rightful owner of mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Network Utility MCP Server is a command-line based tool designed to provide network utility functions such as port scanning and DNS lookups, similar to classic tools like telnet and nslookup.

🚀 Network Utility MCP Server

A simple, command-line based network utility server built with Python. This tool provides core functionalities similar to classic tools like telnet and nslookup, allowing you to check port status and perform DNS lookups from a central server.


✨ Features

  • Port Scanning: Verify if a specific TCP port on a given host is open or closed.
  • DNS Lookups: Perform lookups for various DNS record types, including:
    • A (IPv4 Address)
    • AAAA (IPv6 Address)
    • MX (Mail Exchange)
    • CNAME (Canonical Name)
    • TXT (Text Records)

⚙️ Setup and Installation

Follow these steps to get the project running on your local machine.

Prerequisites

  • Python 3.8 or newer
  • pip (Python package installer)

Installation Steps

  1. Clone the repository:

    git clone [https://github.com/your-username/your-repository-name.git](https://github.com/your-username/your-repository-name.git)
    
  2. Navigate to the project directory:

    cd network-utility-mcp
    
  3. Install the required packages:

    pip install -r requirements.txt
    

    (Note: You will need to create a requirements.txt file containing dnspython)


🚀 Usage

The project consists of two parts: the server and the client. You must run them in separate terminals.

1. Start the Server

In your first terminal, start the MCP server. It will listen for incoming client connections.

python3 mcp_server.py