Used for configuration management through environment variables, allowing users to customize server settings via a .env file
Serves as the web framework for the MCP API, providing the RESTful endpoints for monitor management and other UptimeRobot operations
Enables version control and source code management for the UptimeRobot MCP project
Hosts the repository for the UptimeRobot MCP project, allowing collaboration and code sharing
Synchronizes maintenance windows with calendar events, enabling scheduling and visibility of planned downtime
Visualizes UptimeRobot metrics and uptime data through customizable dashboards
Creates tickets automatically for incidents and downtime events detected by UptimeRobot
Enables workflow automation for UptimeRobot tasks including scheduled maintenance, report generation, and incident response
Powers the natural language processing capabilities of the MCP, enabling conversational interaction with UptimeRobot
Serves as the primary programming language for the MCP server implementation
Delivers notifications and alerts from UptimeRobot, including downtime alerts and automated incident analysis
UptimeRobot MCP API
API quản lý UptimeRobot với khả năng xử lý ngôn ngữ tự nhiên thông qua Model Context Protocol (MCP).
Tính năng
Quản lý monitors (tạo, cập nhật, xóa, xem)
Quản lý maintenance windows
Tạo báo cáo (uptime, maintenance, performance)
Xử lý ngôn ngữ tự nhiên thông qua MCP
Hệ thống phân quyền người dùng
Cache management
Context management cho MCP
Tích hợp với n8n
Yêu cầu
Python 3.8+
FastAPI
UptimeRobot API Key
Ollama (cho MCP)
n8n (cho workflow automation)
Cài đặt
Clone repository:
Tạo môi trường ảo và cài đặt dependencies:
Cấu hình biến môi trường:
Sử dụng
Khởi động server:
Truy cập API documentation:
Tích hợp với n8n
Cài đặt n8n
Cài đặt n8n:
Khởi động n8n:
Tạo Workflow
Truy cập n8n interface tại
http://localhost:5678
Tạo workflow mới và thêm các nodes:
HTTP Request node để gọi API
Function node để xử lý dữ liệu
Schedule Trigger node để tự động hóa
Email node để gửi thông báo
Ví dụ Workflow
Tự động tạo maintenance window:
Tự động tạo báo cáo hàng tuần:
Tự động xử lý sự cố:
Các tính năng n8n có thể tích hợp
Tự động hóa:
Tạo maintenance window định kỳ
Tạo báo cáo tự động
Xử lý sự cố tự động
Thông báo:
Gửi email báo cáo
Gửi thông báo Slack/Discord
Gửi SMS cho sự cố nghiêm trọng
Tích hợp với các dịch vụ khác:
Jira để tạo ticket
Google Calendar để đồng bộ lịch
Grafana để hiển thị metrics
API Endpoints
Authentication
POST /auth/register
- Đăng ký người dùng mớiPOST /auth/token
- Đăng nhập và lấy token
Monitors
GET /monitors
- Lấy danh sách monitorsPOST /monitors
- Tạo monitor mớiPUT /monitors/{monitor_id}
- Cập nhật monitorDELETE /monitors/{monitor_id}
- Xóa monitorGET /monitors/{monitor_id}/uptime
- Lấy thông tin uptime
Maintenance Windows
POST /maintenance
- Tạo maintenance windowGET /maintenance
- Lấy danh sách maintenance windowsDELETE /maintenance/{window_id}
- Xóa maintenance window
Reports
POST /reports
- Tạo báo cáo mớiGET /reports/{report_id}
- Lấy thông tin báo cáo
Cache Management
GET /cache/stats
- Lấy thống kê cacheDELETE /cache/{cache_name}
- Xóa cache
MCP
POST /mcp/chat
- Xử lý yêu cầu ngôn ngữ tự nhiênDELETE /mcp/context/{session_id}
- Xóa context
Ví dụ sử dụng
Tạo monitor mới
Tạo maintenance window
Sử dụng MCP
Phân quyền
ADMIN: Toàn quyền truy cập
MANAGER: Quản lý monitors và maintenance windows
VIEWER: Chỉ xem thông tin
Đóng góp
Xem CONTRIBUTING.md để biết thêm chi tiết về cách đóng góp.
License
MIT
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A management server for UptimeRobot that enables natural language processing through Model Context Protocol, allowing users to manage monitors, maintenance windows, and reports using conversational commands.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides persistent task management capabilities for AI assistants, allowing them to create, update, and track tasks beyond their usual context limitations.Last updated -4
- AsecurityAlicenseAqualityA server built on the Model Context Protocol that enables controlling the Unitree Go2 robot using natural language commands, which are translated into ROS2 instructions for the robot to perform corresponding actions.Last updated -1245Apache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that enables natural language interactive control of Universal Robots collaborative robots, allowing users to control robot motion, monitor status, and execute programs through direct commands to large language models.Last updated -293
- AsecurityFlicenseAqualityPowerful Model Context Protocol server for managing Typebot chatbots, enabling operations like authentication, creating, updating, listing, and publishing bots through a standardized JSON interface.Last updated -903