
Mikrotik Mcp
io.github.jeff-nasseri由 GitHub 帳號 jeff-nasseri 發布v0.24.0.0更新於 Oct 24, 2026
MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.
概覽
透過 SSH 將 AI 助理連接到 MikroTik RouterOS 路由器,用來檢視與設定防火牆、NAT、路由、DHCP、DNS 及 WireGuard。
- 可以做什麼
- 以自然語言請求管理 RouterOS 設定,例如 VLAN、防火牆規則與 DNS 設定
- 處理路由器上的路由、NAT、DHCP 與 WireGuard 設定
- 可針對單一路由器,或以多裝置清單管理多台 MikroTik 裝置
- 可選擇只開放唯讀工具,不修改 RouterOS 及其檔案儲存
- 可選擇在結果、通知與日誌中遮蔽憑證與私鑰內容
- 適用情境
- 適合需要管理 MikroTik 路由器、希望由助理代為讀取或修改 RouterOS 設定而不必手動輸入指令的人,也適用於清單中列出的多台裝置。
- 執行需求
- 以 Python 套件形式透過 stdio 在本機執行。需要能透過 SSH 連線路由器並提供憑證:單一裝置模式使用 MIKROTIK_HOST、MIKROTIK_PORT、MIKROTIK_USERNAME 以及 MIKROTIK_PASSWORD 或 MIKROTIK_KEY_FILENAME;多裝置模式使用 MIKROTIK_INVENTORY 或 MIKROTIK_INVENTORY_FILE。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mikrotik Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MikroTik MCP
[MseeP.ai Security Assessment Badge]
[MCP Toplist] [Audited by AddonAudit] [Website] [Build Status] [Tests] [MIT License] [Discord]
Overview
MikroTik MCP provides a bridge between AI assistants and MikroTik RouterOS devices. It allows AI assistants to interact with MikroTik routers through natural language requests, executing commands like managing VLANs, configuring firewall rules, handling DNS settings, and more.
Demo Videos
Claude Desktop
https://github.com/user-attachments/assets/24fadcdc-c6a8-48ed-90ac-74baf8f94b59
Inspector
https://github.com/user-attachments/assets/e0301ff2-8144-4503-83d0-48589d95027d
Inventory
[!NOTE] Since MikroTik MCP version
0.14.0, the MikroTik MCP will allow you to manage multiple MikroTik devices within your fleet structure. The following video simply shows how to use the inventory of MikroTik devices to let LLMs talk with your MikroTik devices.
https://github.com/user-attachments/assets/185b2c39-8f55-4f26-a74c-2ac459ad38f5
Documentation
📚 Full Documentation - Complete guides, API reference, and examples
🌐 Prefer to read online? The same documentation is also published at www.mikrotik-mcp.com (docs) — an optional, web-friendly way to explore the project while reviewing the repo.
Quick Links
- Installation Guide - Get started with MikroTik MCP
- API Coverage - Implemented and planned RouterOS features
- Testing Guide - Run integration tests
- Claude Desktop Integration - Configure for Claude Desktop
- MCP Inspector - Interactive testing tool
- Contributing Guide - Help improve MikroTik MCP
- Articles - Learning resources and tutorials
- Diagrams - Architecture and design diagrams (draw.io)
Contributors ❤️
MikroTik MCP is built by the people below. Thank you for every commit, issue, review and idea.
[jeff-nasseri] [goto1134] [vavan11] [shahabbahojb] [lwsinclair] [nieomylnieja] [hassankhurram] [OronF] [pdostal] [inistor] [paoValle] [lucasholman] [lilianmoraru] [Kn-ut99] [vanelin] [siderakis] [mkranjcic]
Contributions of every kind are welcome: code, bug reports, documentation and reviews all move the project forward. Start with the Contributing Guide.
Community
Got a question, an idea, or something you'd like to talk through? Join us on Discord. Users and contributors are both welcome, whether you're connecting your first router or working on a PR.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Presentations
Prefer to watch instead of read? The official MikroTik MCP presentations, including walkthroughs of new features and pull requests, live on Bisque: bisque.today/p/wiresage/mikrotik-mcp.
[Watch the MikroTik MCP presentations on Bisque]
[!NOTE] The Presentations section was added on 3 November 2026, after release
v0.26.2. Releases up tov0.26.2don't have it, and it ships with the next release.
來源:README.md,提交 0557a5f
工具
0版本歷史
12- v0.24.0.0最新Oct 3, 2026
- v0.23.3.0Oct 1, 2026
- v0.23.2.0Sep 27, 2026
- v0.23.1.0Sep 25, 2026
- v0.23.0.0Sep 23, 2026
- v0.22.0.0Sep 23, 2026
- v0.21.0.0Sep 21, 2026
- v0.20.0.0Sep 21, 2026
- v0.19.4.0Sep 20, 2026
- v0.19.2.0Sep 17, 2026
- v0.19.1.0Sep 16, 2026
- v0.15.0.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分