by kocierik
Provides a Model Context Protocol interface to access Consul's service discovery, health checks, KV store, sessions, events, and other agent functionalities.
Enables interaction with a Consul cluster through a standardized MCP interface, exposing service management, health checks, KV operations, sessions, events, prepared queries, status, agent, and system information.
npx):
npx -y @kocierik/consul-mcp-server
localhost:8500).node build/index.js
Q: Do I need to build the project before running it?
A: Yes. Install dependencies with npm install and compile using npm run build. The entry point is build/index.js.
Q: Which environment variables configure the connection to Consul?
A: CONSUL_HOST (default localhost) and CONSUL_PORT (default 8500).
Q: Can I run the server without building it first?
A: If the package publishes a ready‑to‑run binary, npx -y @kocierik/consul-mcp-server will execute it directly.
Q: How do I integrate this server with Claude or other MCP clients?
A: Provide a MCP server configuration referencing the command and arguments (see the serverConfig section below).
Q: Is the project open source? A: Yes, it is released under the MIT license.
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.
Explore related MCPs that share similar capabilities and solve comparable challenges
by headroomlabs-ai
Compress tool outputs, logs, files, RAG chunks, and conversation history before they reach the LLM, keeping answers identical while saving up to 95% of tokens for JSON payloads.
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
{
"mcpServers": {
"consul-mcp": {
"command": "npx",
"args": [
"-y",
"@kocierik/consul-mcp-server"
],
"env": {
"CONSUL_HOST": "localhost",
"CONSUL_PORT": "8500"
}
}
}
}claude mcp add consul-mcp npx -y @kocierik/consul-mcp-server