hetrixmcp

hetrixmcp

Enables interacting with the HetrixTools API v3 to manage blacklists, uptime monitors, status pages, scheduled maintenance, and server agents via natural language.

Category
Visit Server

README

hetrixmcp

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 platform
  • list_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 monitor
  • list_downtimes — downtimes for a monitor (paginated)
  • get_location_fail_log — fail log for a specific location
  • list_warning_policies — list warning policies for a monitor
  • update_warning_policies — update warning policies for a monitor

Status Pages

  • list_status_pages — list status pages
  • add_monitors_to_status_page — add monitors to a status page
  • remove_monitors_from_status_page — remove monitors from a status page

Scheduled Maintenance

  • list_scheduled_maintenance — list maintenance windows
  • create_scheduled_maintenance — create a maintenance window
  • delete_scheduled_maintenance — delete a maintenance window

Server Agents

  • get_server_agent — get server agent info
  • update_server_agent — update server agent settings
  • delete_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 helper
  • server.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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured