MCPInstall
mcp_server_network_automation logo

mcp_server_network_automation

by ErdenizUnvan 1 stars ErdenizUnvan/mcp_server_network_automation

How MCP Servers work with AI Agents in order to call and manage related functions for network automation

READMEmain

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