Consul MCP Server
The Consul MCP Server provides a standardized interface to manage and interact with Consul's functionality through a Model Context Protocol (MCP) interface:
Service Management: List, register, deregister, and get information about services in the catalog
Health Checks: Register, deregister, and retrieve health checks for services
Key-Value Store: Get, list, put, and delete values in the KV store
Sessions: List and destroy sessions
Events: Fire and list events
Prepared Queries: Create and execute prepared queries
Status: Get the current Consul leader and peers
Agent: Retrieve agent members and self-information, and reload agent configuration
System Health: Get system health service information
Provides access to Consul functionality including service management, health checks, key-value store operations, session management, event handling, prepared queries, status information, agent operations, and system health monitoring.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Consul MCP Serverlist all running services in the catalog"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Consul MCP Server 🚀
A Model Context Protocol (MCP) server that provides access to Consul's functionality through a standardized interface.
Features
The server provides access to the following Consul functionality:
Service Management
List running services
Register and deregister services
Get service information
List catalog services
Get catalog service information
Health Checks
Register health checks
Deregister health checks
Get health checks for services
Key-Value Store
Get values from KV store
List keys in KV store
Put values in KV store
Delete keys from KV store
Sessions
List sessions
Destroy sessions
Events
Fire events
List events
Prepared Queries
Create prepared queries
Execute prepared queries
Status
Get current leader
Get current peers
Agent
Get agent members
Get agent self information
System
Get system health service information
Related MCP server: Tailscale MCP Server
Configuration
The server can be configured using environment variables:
CONSUL_HOST: Consul server host (default: localhost)CONSUL_PORT: Consul server port (default: 8500)
Usage
Start the server:
node build/index.jsThe server will connect to Consul and make all functionality available through the MCP interface.
Development
Install dependencies:
npm installBuild the project:
npm run buildRun inspector:
npm run build && npx @modelcontextprotocol/inspector node build/index.jsClaude config
{
"mcpServers": {
"consul-mcp": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/consul-mcp-server/build/index.js"
]
}
}
}Installing via Smithery
To install Consul Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kocierik/consul-mcp-server --client claudeLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables type-safe, bidirectional communication with Model Context Protocol services, allowing centralized management of model contexts over HTTP.Last updated208MIT
- AlicenseBqualityAmaintenanceProvides seamless integration with Tailscale's CLI commands and REST API, enabling automated network management and monitoring through a standardized Model Context Protocol interface.Last updated181,307114MIT
- Flicense-qualityDmaintenanceEnables interaction with HashiCorp Vault for secret management operations including reading, writing, listing, and deleting secrets through the Model Context Protocol.Last updated1
- Alicense-qualityBmaintenanceProvides access to GitHub Copilot agents, prompts, instructions, skills, collections, plugins, hooks, and workflows via the Model Context Protocol.Last updated3403MIT
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
Connect AI agents to Replynodes over the Model Context Protocol.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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