Hetrixmcp
БесплатноНе проверенEnables interacting with the HetrixTools API v3 to manage blacklists, uptime monitors, status pages, scheduled maintenance, and server agents via natural langua
Описание
Enables interacting with the HetrixTools API v3 to manage blacklists, uptime monitors, status pages, scheduled maintenance, and server agents via natural language.
README
A Model Context Protocol server for the HetrixTools API v3, built with FastMCP.
Requirements
- Python 3.14+
- uv for package management
- A HetrixTools API token
Setup
# Install dependencies
uv sync
# Set your HetrixTools API token
export HETRIXTOOLS_API_TOKEN="your-api-token-here"
The token is read from the HETRIXTOOLS_API_TOKEN environment variable and validated on startup. Get one from your HetrixTools account settings.
Running
# Option 1: Direct execution (stdio transport)
uv run python server.py
# Option 2: FastMCP CLI (stdio transport)
uv run fastmcp run server.py
# Option 3: HTTP transport
uv run fastmcp run server.py --transport http --port 8000
Available Tools
20 tools across 13 HetrixTools API areas:
Account
get_account_limits— current usage and limits
Contact Lists
list_contact_lists— list contact lists (paginated)
Blacklists
list_blacklists— RBLs checked by the platformlist_blacklist_monitors— list blacklist monitors (filtered/paginated)get_blacklist_report— report for a specific monitor
Uptime Monitors
list_uptime_monitors— list uptime monitors (filtered/paginated)get_uptime_report— uptime report for a monitorlist_downtimes— downtimes for a monitor (paginated)get_location_fail_log— fail log for a specific locationlist_warning_policies— list warning policies for a monitorupdate_warning_policies— update warning policies for a monitor
Status Pages
list_status_pages— list status pagesadd_monitors_to_status_page— add monitors to a status pageremove_monitors_from_status_page— remove monitors from a status page
Scheduled Maintenance
list_scheduled_maintenance— list maintenance windowscreate_scheduled_maintenance— create a maintenance windowdelete_scheduled_maintenance— delete a maintenance window
Server Agents
get_server_agent— get server agent infoupdate_server_agent— update server agent settingsdelete_server_agent— delete a server agent
Architecture
client.py— async HetrixTools API client (httpx.AsyncClient) with bearer auth, error handling for 400/401/403/404/429, and a pagination helperserver.py— FastMCP server exposing all tools with type hints, docstrings, and lifespan-managed HTTP client
Claude Desktop / MCP Client Configuration
Add to your MCP client config:
{
"mcpServers": {
"hetrixtools": {
"command": "uv",
"args": ["run", "--directory", "/path/to/hetrixmcp", "python", "server.py"],
"env": {
"HETRIXTOOLS_API_TOKEN": "your-api-token-here"
}
}
}
}
Error Handling
Non-2xx responses raise HetrixToolsError with the HTTP status code and a descriptive message. Common errors:
| Status | Meaning |
|---|---|
| 400 | Bad request — check parameters |
| 401 | Unauthorized — invalid or missing API token |
| 403 | Forbidden — insufficient permissions |
| 404 | Not found — resource does not exist |
| 429 | Rate limited — retry later |
Установка Hetrixmcp
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/khrns-r/hetrixmcpFAQ
Hetrixmcp MCP бесплатный?
Да, Hetrixmcp MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Hetrixmcp?
Нет, Hetrixmcp работает без API-ключей и переменных окружения.
Hetrixmcp — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Hetrixmcp в Claude Desktop, Claude Code или Cursor?
Открой Hetrixmcp на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Hetrixmcp with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
