MCP ExplorerExplorer

Mcp Server Network Automation

@ErdenizUnvanon 15 days ago
1 MIT
FreeCommunity
AI Systems
How MCP Servers work with AI Agents in order to call and manage related functions for network automation

Overview

What is Mcp Server Network Automation

mcp_server_network_automation is a server designed to facilitate network automation functions using AI agents. It manages tasks such as detecting device types and retrieving device backups.

Use cases

Use cases include automating device management in enterprise networks, performing backups of network devices, and utilizing AI for intelligent network operations.

How to use

To use mcp_server_network_automation, set up your environment by installing the necessary Python packages, including huggingface_hub and transformers. Follow the instructions in the README to run the server and AI agent in separate terminals, and refer to the provided video tutorial for guidance.

Key features

Key features include device type detection, device backup retrieval, integration with AI models like Facebook’s BART for intent comparison, and support for various Python libraries for enhanced functionality.

Where to use

mcp_server_network_automation can be used in fields such as IT network management, cloud services, and any environment where automated network functions are required.

Content

mcp_server_network_automation

mcp server for sso network automation functions (detect device type and get device backup)

python version: 3.12.9

pip install huggingface_hub

pip install transformers

pip install torch

pip install tensorflow

download facebook/bart-large-mnli model from hugginf face to your local env.:

python compare_intent_model_save.py

make sure ollama is working on your local env.:

for details check: setting up ollama for local llama.ipynb

download nodejs: https://nodejs.org/en/download/

npv --version

pip install langchain_core

pip install --upgrade --force-reinstall langgraph

pip install langgraph --upgrade

pip install langchain_mcp_adapters

pip install langchain_ollama

pip install mcp==1.6.0

pip install fastmcp

pip install llama_index

pip install llama-index-llms-ollama

pip install uv

pip install netmiko

at one terminal run:

fastmcp dev sso_network_function_tools_mcp_server.py

at another teminal run:

python network_ai_agent.py

How to use:
https://www.youtube.com/watch?v=iJVCk-fLPUI

Tools

No tools

Comments