mikrotik-mcp
v0.1.0MikroTik RouterOS v7 Model Context Protocol (MCP) Server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mikrotik_get_system_resource
Get MikroTik system resources including CPU load, memory usage, uptime, board name, and RouterOS version.
mikrotik_get_system_routerboard
Get MikroTik RouterBOARD hardware details, model, serial number, and firmware version.
mikrotik_get_system_identity
Get the MikroTik system identity / hostname.
mikrotik_list_interfaces
List all network interfaces on the MikroTik router along with their status (running, disabled), type, and basic stats.
| Parameter | Type | Description |
|---|---|---|
type | string | Optional interface type filter (e.g. 'ether', 'bridge', 'vlan', 'wlan') |
mikrotik_get_interface_details
Get detailed configuration and statistics for a specific interface by name or ID.
| Parameter | Type | Description |
|---|---|---|
nameOrId * | string | The interface name (e.g. 'ether1') or ID (e.g. '*1') |
mikrotik_get_ip_addresses
List all IP addresses configured on the MikroTik router interfaces.
| Parameter | Type | Description |
|---|---|---|
interfaceName | string | Optional interface name filter (e.g. 'ether1', 'bridge') |
mikrotik_get_ip_routes
List the routing table entries (static, connected, dynamic routes).
| Parameter | Type | Description |
|---|---|---|
activeOnly | boolean | Only show active routes if true |
mikrotik_get_arp_table
Get the ARP (Address Resolution Protocol) table to view IP to MAC address mappings.
| Parameter | Type | Description |
|---|---|---|
interfaceName | string | Filter by specific interface |
ipAddress | string | Filter by specific IP address |
mikrotik_get_dhcp_leases
List DHCP server leases including active client IP addresses, MAC addresses, hostnames, and expiration times.
| Parameter | Type | Description |
|---|---|---|
hostname | string | Filter leases by hostname (partial match) |
status | string | Filter by status (e.g. 'bound', 'waiting', 'offered') |
mikrotik_get_firewall_filter_rules
List firewall filter rules with hit counters (packets, bytes) and configuration.
| Parameter | Type | Description |
|---|---|---|
chain | string | Optional chain filter (e.g. 'input', 'forward', 'output') |
mikrotik_get_firewall_nat_rules
List firewall NAT rules (masquerade, dstnat, srcnat).
| Parameter | Type | Description |
|---|---|---|
chain | string | Optional chain filter (e.g. 'srcnat', 'dstnat') |
mikrotik_get_system_logs
Retrieve recent system log entries from the MikroTik router.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of recent log entries to return (default: 50) |
topic | string | Filter logs containing a specific topic (e.g. 'error', 'firewall', 'dhcp', 'system', 'warning') |