This project sets up a Model Context Protocol (MCP) server designed specifically for network engineers.
It allows Claude for Desktop (or other LLM clients) to access structured knowledge about your network — such as routing policies and device health — via the tools primitive.
This quickstart assumes you're familiar with:
- Python
- LLMs like Claude
- Python 3.10 or higher
- MCP Python SDK v1.2.0 or newer
MacOS/Linux:
brew install uv
🔁 Restart your terminal to ensure the
uvcommand is available.
uv init
uv venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv add "mcp[cli]"
python network-assistant.py
This launches your MCP server over stdio, ready to connect to Claude.
Claude for Desktop is currently only available on macOS and Windows.
- Download Claude for Desktop from here.
- Open your Claude Desktop app.
- Configure the MCP server in:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)C:\Users\<YOU>\AppData\Roaming\Claude\claude_desktop_config.json(Windows)
Example config:
{
"mcpServers": {
"network": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/network-assistant",
"run",
"network_assistant.py"
]
}
}
}
Use
which uv(macOS/Linux) orwhere uv(Windows) to get the path touvif needed.
Restart Claude Desktop after saving the config file.
Click the 🛠 hammer icon in Claude. You should see:
get_network_standards()get_device_status(device_name)
Now ask Claude:
- What routing protocols do we use in our network?
- What is the current status of my network devices?
- What is the status of all devices in the network?
- Claude parses your prompt and finds relevant tools.
- It calls
get_network_standards()orget_device_status()over MCP. - Your server executes the tool logic and returns structured data.
- Claude responds using your actual context
