Basic information
About mcp-netmiko-server
An MCP server that enables LLMs interacting with your network devices
mcp-netmiko-server is a MCP server in the Other category listed in the AddMCP.net directory, published by upa. Supported transport: stdio. Runtime: python. License: MIT. The repository has 33 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-netmiko-server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"netmiko",
"main.py",
"my-devices.network.toml"
]
}
}
}
{
"mcpServers": {
"mcp-netmiko-server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"netmiko",
"main.py",
"my-devices.network.toml"
]
}
}
}
{
"servers": {
"mcp-netmiko-server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"netmiko",
"main.py",
"my-devices.network.toml"
]
}
}
}
mcp-netmiko-server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-netmiko-server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"netmiko",
"main.py",
"my-devices.network.toml"
]
}
}
}
mcp-netmiko-server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mcp-netmiko-server?
It is an MCP server that enables LLMs to interact with network devices via SSH using the Netmiko library. It provides tools to list devices, send commands, and apply configuration changes.
How to use mcp-netmiko-server?
Clone the repository, create a TOML configuration file listing your devices with credentials, and run the server using uv run with either stdio or SSE transport. For Claude Desktop, add the server configuration to your claude_desktop_config.json pointing to the script and TOML file.
Key features of mcp-netmiko-server
- List network devices defined in a TOML file
- Send arbitrary commands to devices and retrieve output
- Send configuration commands with automatic commit or save
- Supports multiple device platforms via Netmiko (Juniper, Cisco, etc.)
- Default credentials inheritance per TOML section
- Runs as stdio or SSE server
Use cases of mcp-netmiko-server
- Automate network troubleshooting by querying device status via LLM
- Apply configuration changes across multiple devices through conversational AI
- Inventory network devices and retrieve operational data
Frequently asked questions
1 What is the server's purpose?
It allows LLMs to execute SSH commands on network devices using Netmiko, acting as a bridge between AI and network infrastructure.
2 How do I configure network devices?
Create a TOML file with a [default] section for global credentials (username, password) and per-device sections specifying hostname and device_type (e.g., juniper_junos, cisco_nxos).
3 How do I run the server?
Use uv run --with "mcp[cli]" --with netmiko main.py <path-to-toml-file> for stdio. Add --sse to run as an SSE server at http://localhost:10000/sse.
4 What are the dependencies?
The server requires uv, the mcp[cli] package, netmiko, and a TOML file for device definitions. All dependencies are managed via uv run.
5 Does it support both stdio and SSE transports?
Yes, it can run as a stdio process (default for Claude Desktop) or as an SSE server by passing the --sse flag.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In