mcp-mikrotik
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MIKROTIK_TIMEOUT | No | Fallback connect timeout (seconds) for devices without their own timeout | 10 |
| MIKROTIK_LOG_LEVEL | No | Log level for the server process (stderr); invalid values fall back to INFO with a warning | INFO |
| MIKROTIK_ALLOW_WRITE | No | Enable write tools (see Security model) | false |
| MIKROTIK_DEVICES_FILE | No | Path to the devices YAML file | devices.yaml |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_devicesA | List configured MikroTik devices. Read-only; passwords are never included. |
| system_infoB | Get RouterOS identity + resource info (board, version, uptime, CPU/memory). |
| interfacesC | List network interfaces on a device. |
| ip_addressesC | List IPv4 addresses configured on a device. |
| ip_routesB | List the IPv4 routing table of a device.
|
| neighborsB | List neighbors discovered via RouterOS neighbor discovery (CDP/MNDP/LLDP). |
| logsA | Read recent RouterOS log entries (most recent last).
R1: this reads the whole |
| pingB | Ping an address from a device. |
| list_write_operationsA | List every guarded write operation and the RouterOS path/action it maps to. Read-only: this only surfaces guard.ALLOWLIST's metadata (D3) - it does not perform or preview a write, and is not gated by MIKROTIK_ALLOW_WRITE. |
| set_identityA | Set a device's RouterOS identity (hostname). WRITE tool, guarded: blocked entirely unless the server is running with MIKROTIK_ALLOW_WRITE=true. Call with confirm=False (the default) to get a before/after preview without changing anything; call again with confirm=True to actually apply it. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thalisantunes/mcp-mikrotik'
If you have feedback or need assistance with the MCP directory API, please join our Discord server