Skip to main content
Glama

Consul MCP Server

register-health-check

Defines and registers a health check with Consul, specifying name, service association, TTL, HTTP endpoint, interval, and timeout for monitoring service status and availability.

Instructions

Register a health check with Consul

Input Schema

NameRequiredDescriptionDefault
httpNoHTTP endpoint to check
idNoID of the health check (defaults to name if not provided)
intervalNoInterval for the check (e.g., '10s', '1m')
nameNoName of the health check
notesNoNotes about the health check
serviceIdNoID of the service to associate the check with
timeoutNoTimeout for the check (e.g., '5s', '30s')
ttlNoTime to live for the check (e.g., '10s', '1m')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "http": { "default": "", "description": "HTTP endpoint to check", "type": "string" }, "id": { "default": "", "description": "ID of the health check (defaults to name if not provided)", "type": "string" }, "interval": { "default": "", "description": "Interval for the check (e.g., '10s', '1m')", "type": "string" }, "name": { "default": "", "description": "Name of the health check", "type": "string" }, "notes": { "default": "", "description": "Notes about the health check", "type": "string" }, "serviceId": { "default": "", "description": "ID of the service to associate the check with", "type": "string" }, "timeout": { "default": "", "description": "Timeout for the check (e.g., '5s', '30s')", "type": "string" }, "ttl": { "default": "", "description": "Time to live for the check (e.g., '10s', '1m')", "type": "string" } }, "type": "object" }

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/kocierik/consul-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server