mikrotik-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MIKROTIK_HOST | No | IP address or hostname of the MikroTik router. Can also be set with --host. | 192.168.88.1 |
| MIKROTIK_PORT | No | RouterOS REST API port. Defaults to 443 if SSL is enabled, otherwise 80. Can also be set with --port. | 443 |
| MIKROTIK_TIMEOUT | No | Request timeout in milliseconds. Can also be set with --timeout. | 15000 |
| MIKROTIK_USE_SSL | No | Use HTTPS (true) or plain HTTP (false). Can also be set with --ssl or --no-ssl. | true |
| MIKROTIK_PASSWORD | No | MikroTik login password. Can also be set with --pass or -p. | |
| MIKROTIK_USERNAME | No | MikroTik login username. Can also be set with --user or -u. | admin |
| MIKROTIK_ALLOW_INSECURE_SSL | No | Allow self-signed internal SSL certificates. Can also be set with --insecure. | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mikrotik_get_system_resourceA | Get MikroTik system resources including CPU load, memory usage, uptime, board name, and RouterOS version. |
| mikrotik_get_system_routerboardA | Get MikroTik RouterBOARD hardware details, model, serial number, and firmware version. |
| mikrotik_get_system_identityA | Get the MikroTik system identity / hostname. |
| mikrotik_list_interfacesA | List all network interfaces on the MikroTik router along with their status (running, disabled), type, and basic stats. |
| mikrotik_get_interface_detailsB | Get detailed configuration and statistics for a specific interface by name or ID. |
| mikrotik_get_ip_addressesB | List all IP addresses configured on the MikroTik router interfaces. |
| mikrotik_get_ip_routesA | List the routing table entries (static, connected, dynamic routes). |
| mikrotik_get_arp_tableB | Get the ARP (Address Resolution Protocol) table to view IP to MAC address mappings. |
| mikrotik_get_dhcp_leasesC | List DHCP server leases including active client IP addresses, MAC addresses, hostnames, and expiration times. |
| mikrotik_get_firewall_filter_rulesB | List firewall filter rules with hit counters (packets, bytes) and configuration. |
| mikrotik_get_firewall_nat_rulesB | List firewall NAT rules (masquerade, dstnat, srcnat). |
| mikrotik_get_system_logsC | Retrieve recent system log entries from the MikroTik router. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Most tools map to a distinct resource (identity, routerboard, interfaces, IP addresses, routes, ARP, DHCP leases, filter vs NAT rules, logs). The only mild overlap is between get_system_resource and get_system_routerboard, both of which return hardware/system-level information, though the descriptions do differentiate CPU/memory vs board/serial/firmware.
All tools consistently use the mikrotik_ prefix followed by a verb_noun pattern, which is predictable and readable. The only minor deviation is inconsistent use of get vs list for collection endpoints (mikrotik_list_interfaces but mikrotik_get_ip_addresses), which is semantically meaningful but not strictly uniform.
Twelve tools is well within the ideal 3-15 range and each one targets a concrete, commonly needed piece of router telemetry. No tool feels redundant or padding the surface.
The surface is a coherent read-only inspection set covering system, interfaces, IP, routing, ARP, DHCP, firewall and logs, but it offers zero write operations (no creating/disabling interfaces, adding firewall or NAT rules, IP addresses, or DHCP leases), so any remediation workflow dead-ends. Notable read gaps also exist, such as DNS settings, wireless/registration tables, and interface traffic statistics beyond the details call.