Mikrotik

Mikrotik

Mikrotik MCP server which cover networking operations (IP, DHCP, Firewall, etc)

68
Stars
23
Forks
14
Releases

Overview

MikroTik MCP provides a bridge between AI assistants and MikroTik RouterOS devices, enabling natural language requests to configure and manage MikroTik networking features. The server exposes a broad set of tooling to handle common network tasks such as VLAN interface management, IP addressing, DHCP servers and networks, NAT rules, IP pools, and backup/export operations. It also includes robust DNS management (server configuration, static entries, DNS over HTTPS options, DoH testing, and DNS cache handling), firewall filter rules management, routing, and comprehensive user and group administration. The project describes a rich command surface with create, list, get, update, delete, move, and enable/disable operations for many resources, plus example usage via both manual commands and CLI-driven workflows. It supports integration testing against a temporary MikroTik RouterOS container and Docker-based deployment, with environment variables for host, credentials, and port. This MCP server targets administrators and developers who want to build AI-driven network-management workflows against MikroTik RouterOS using natural language or scripted interfaces.

Details

Owner
jeff-nasseri
Language
Python
License
MIT License
Updated
2025-12-07

Features

VLAN Interface Management

Create, list, get, update, and remove VLAN interfaces on the MikroTik device, with options for naming, VLAN ID, parent interface, MTU, ARP, and related settings.

IP Address Management

Add, list, get, and remove IP addresses on interfaces with support for filters, dynamic addresses, and addressing options.

DHCP Server Management

Create and manage DHCP servers, networks, and pools, including lease times, interfaces, and related configurations.

NAT Rules Management

Create, list, get, update, move, enable/disable, and remove NAT rules with support for chains, actions, interfaces, ports, and translation targets.

IP Pool Management

Create and manage IP pools, list and inspect pools, and expand pools or view used addresses.

DNS Management

Configure DNS servers, manage static DNS entries, DNS cache and statistics, and support DoH and DNS testing utilities.

User Management

Handle users and groups, including adding, listing, updating, enabling/disabling users, and managing SSH keys.

Firewall Filter Rules Management

Create and manage firewall filter rules, including chain, action, protocol, interfaces, and rule placement, with support for enabling/disabling and basic firewall setups.

Audience

Network administratorsEnable AI-assisted management of MikroTik RouterOS—configure VLANs, firewall, DNS, DHCP, routing, and more via natural language or scripted commands.
AI/automation developersBuild AI-powered network workflows by integrating with Claude Desktop or mcp-cli to control MikroTik devices.

Tags

mikrotikrouterosmcpautomationvlanip-addressdhcpnatdnsfirewallroutingbackuplogsuser-management