Subnet-Calculator-MCP-Server

Subnet-Calculator-MCP-Server

3

The Subnet Calculator MCP Server is a tool for calculating subnet details using a given CIDR notation. It functions as a Model Context Protocol server and offers features like network and broadcast address calculation, utilizing the FastMCP library.

Subnet Calculator MCP Server

This project provides a simple MCP server for calculating subnet details based on a given CIDR notation. It uses the FastMCP library to expose the subnet calculation functionality as a tool.

Features

  • Calculate subnet details for a given CIDR.
  • Provides network address, broadcast address, netmask, wildcard mask, usable host range, and number of usable hosts.
  • Runs as an MCP server with SSE transport.

Requirements

  • Python 3.7+
  • fastmcp library

Usage

Runs with SSE transport mode. Run the MCP server.