Skip to main content
Glama

Consul MCP Server

register-service

Register a service with Consul by specifying its name, ID, port, address, and optional tags. Simplifies service discovery and management within the Consul MCP Server framework.

Instructions

Register a service with Consul

Input Schema

NameRequiredDescriptionDefault
addressNoAddress the service is running on
idNoID of the service (defaults to name if not provided)
nameNoName of the service to register
portNoPort the service is running on
tagsNoTags to associate with the service

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "address": { "default": "", "description": "Address the service is running on", "type": "string" }, "id": { "default": "", "description": "ID of the service (defaults to name if not provided)", "type": "string" }, "name": { "default": "", "description": "Name of the service to register", "type": "string" }, "port": { "description": "Port the service is running on", "type": "number" }, "tags": { "description": "Tags to associate with the service", "items": { "type": "string" }, "type": "array" } }, "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