Consul MCP Server

by kocierik
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONSUL_HOSTNoConsul server hostlocalhost
CONSUL_PORTNoConsul server port8500

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get-services

Get running services

register-health-check

Register a health check with Consul

deregister-health-check

Deregister a health check from Consul

get-health-checks

Get health checks for a service

get-catalog-nodes

Get nodes from the catalog

list-catalog-services

List all services in the catalog

get-catalog-service

Get information about a specific service from the catalog

register-service

Register a service with Consul

deregister-service

Deregister a service from Consul

get-kv

Get a value from the KV store

list-kv

List keys in the KV store

put-kv

Put a value in the KV store

delete-kv

Delete a key from the KV store

list-sessions

List all sessions in Consul

destroy-session

Destroy a session in Consul

fire-event

Fire a new event

list-events

List all events

create-prepared-query

Create a new prepared query

execute-prepared-query

Execute a prepared query

get-leader

Get the current leader

get-peers

Get the current peers

get-agent-members

Get agent members

reload-agent

Reload agent configuration

get-agent-self

Get agent self information

ID: fy1voql75b