by kocierik
Provides access to Consul's functionality through a standardized MCP interface, enabling service management, health checks, KV store operations, sessions, events, prepared queries, status queries, and agent information.
Enables applications to interact with a Consul cluster via the Model Context Protocol, exposing Consul's service discovery, health monitoring, key‑value storage, session handling, event firing, and more through a single, language‑agnostic API.
npx -y @kocierik/consul-mcp-server
export CONSUL_HOST=localhost # default if omitted
export CONSUL_PORT=8500 # default if omitted
npx -y @kocierik/consul-mcp-server
The server will launch, connect to the specified Consul instance, and expose all MCP endpoints.Q: Do I need a local Consul agent?
A: Yes, the server expects a reachable Consul HTTP API (default localhost:8500
). Adjust CONSUL_HOST
and CONSUL_PORT
as needed.
Q: Can I run multiple instances?
A: Each instance can point to the same or different Consul clusters; they operate independently.
Q: Is authentication required?
A: The MCP server itself does not enforce authentication, but you can secure the underlying Consul API using its native ACL system.
Q: How do I update the server?
A: Re‑run the npx install command to fetch the latest version.
Q: What runtime is required?
A: Node.js (v14+ recommended) is needed to execute the server.
A Model Context Protocol (MCP) server that provides access to Consul's functionality through a standardized interface.
The server provides access to the following Consul functionality:
The server can be configured using environment variables:
CONSUL_HOST
: Consul server host (default: localhost)CONSUL_PORT
: Consul server port (default: 8500)node build/index.js
npm install
npm run build
npm run build && npx @modelcontextprotocol/inspector node build/index.js
{
"mcpServers": {
"consul-mcp": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/consul-mcp-server/build/index.js"
]
}
}
}
To install Consul Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kocierik/consul-mcp-server --client claude
MIT
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "consul-mcp": { "command": "npx", "args": [ "-y", "@kocierik/consul-mcp-server" ], "env": { "CONSUL_HOST": "<YOUR_CONSUL_HOST>", "CONSUL_PORT": "<YOUR_CONSUL_PORT>" } } } }
Discover more MCP servers with similar functionality and use cases
by daytonaio
Provides a secure, elastic sandbox environment for executing AI‑generated code with isolated runtimes and sub‑90 ms provisioning.
by awslabs
Specialized servers that expose AWS capabilities through the Model Context Protocol, allowing AI assistants and other applications to retrieve up‑to‑date AWS documentation, manage infrastructure, query services, and perform workflow automation directly from their context.
by awslabs
AWS MCP Servers allow AI agents to interact with and manage a wide range of AWS services using natural language commands. They enable AI-powered cloud management, automated DevOps, and data-driven insights within the AWS ecosystem.
by cloudflare
Remote Model Context Protocol endpoints that let AI clients read, process, and act on data across Cloudflare services such as Workers, Radar, Observability, and more.
by supabase-community
Enables AI assistants to interact directly with Supabase projects, allowing them to query databases, fetch configuration, manage tables, and perform other project‑level operations.
by Azure
azure-mcp is a server that implements the Model Context Protocol (MCP) to connect AI agents with Azure services. It allows developers to interact with Azure resources like Storage, Cosmos DB, and the Azure CLI using natural language commands within their development environment.
by Flux159
MCP Server for Kubernetes management commands, enabling interaction with Kubernetes clusters to manage pods, deployments, and services.
by strowk
Provides a Golang‑based server that enables interaction with Kubernetes clusters via prompts, allowing listing of contexts, namespaces, resources, nodes, pods, events, logs, and executing commands inside pods.
by jamsocket
Run arbitrary Python code securely in persistent, stateful sandboxes that remain available indefinitely.