
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that connects AI agents like Claude to Consul infrastructure so they can list services, diagnose health checks, and analyze service mesh connections through natural language.
MCP server for HashiCorp Consul service discovery and service mesh is cataloged as an MCP server attributed to 3loka. An MCP server that connects AI agents like Claude to Consul infrastructure so they can list services, diagnose health checks, and analyze service mesh connections through natural language. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for HashiCorp Consul service discovery and service mesh are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses configuration variables including CONSUL_HTTP_ADDR for the Consul server address and CONSUL_HTTP_TOKEN for the ACL token, and can run in HTTP or stdio mode.
It offers AI insights on service load balancing and resource utilization.
README.md · 3ea0f320c6b7 · 采集于 2026-11-13 10:53:34 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Control Protocol (MCP) server for interacting with HashiCorp Consul service discovery and service mesh. This implementation follows Anthropic's MCP specification and allows Claude to analyze your microservices architecture, create diagrams, identify issues, and provide recommendations through natural language interaction.
Model Control Protocol (MCP) is a specification developed by Anthropic that enables AI models like Claude to interact with external tools and APIs. This implementation connects AI Agents to your Consul infrastructure, allowing you to manage and analyze your services using natural language.
# Clone the repository
git clone https://github.com/3loka/consul-mcp-server.git
cd consul-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
Create a .env file in the root directory with the following variables:
CONSUL_HTTP_ADDR=http://localhost:8500
CONSUL_HTTP_TOKEN=your-consul-token
PORT=3000
USE_HTTP=true
CONSUL_HTTP_ADDR: Address of your Consul serverCONSUL_HTTP_TOKEN: ACL token of your Consul serverPORT: Port for the HTTP serverUSE_HTTP: Set to "true" for HTTP mode, omit for stdio modeTo install and use this MCP server in Cursor:
In Cursor, open Settings (⌘+,) and navigate to the "MCP" tab.
Click "+ Add new MCP server."
Enter the following:
Click "Add" then scroll to the server and click "Disabled" to enable the server.
Restart Cursor, if needed, to ensure the MCP server is properly loaded.
To install and use this MCP server in Claude Desktop:
In Claude Desktop, open Settings (⌘+,) and navigate to the "Developer" tab.
Click "Edit Config" at the bottom of the window.
Edit the file (~/Library/Application Support/Claude/claude_desktop_config.json) to add the following code, then Save the file.
{
"mcpServers": {
"consul-assistant": {
"command": "npx",
"args": ["-y", "consul-mcp-server"]
}
}
}
if the server is not local host or ACL is enabled, use below configuration instead
{
"mcpServers": {
"consul-assistant": {
"command": "npx",
"args": ["-y", "consul-mcp-server"],
"env": {
"CONSUL_HTTP_ADDR": "http://<host/ip>:8500",
"CONSUL_HTTP_TOKEN": "<ACL Token>"
}
}
}
}
Once connected, try these prompts with Claude:
This server implements the following MCP actions:
| Action | Description |
|---|---|
consul/get_services | Get a list of all services in Consul |
consul/get_health_checks | Get health checks, optionally filtering for failing checks |
consul/get_service_connections | Get service connections and their status |
consul/create_service_diagram | Create a Mermaid diagram of service relationships |
consul/analyze_service | Analyze a specific service to identify issues |
consul/get_service_metrics | Get detailed metrics for a specific service |
For testing purposes, you can set up a local demo environment with multiple microservices registered in Consul:
# Run the setup script (requires Docker and Docker Compose)
chmod +x ./demo/setup-demo.sh
./demo/setup-demo.sh
This will start:
Start the demo environment:
./scripts/setup-demo.sh
Start the MCP server:
npm start
Connect Claude Desktop or Cursor to your MCP server
Try these demo scenarios:
a. Get a service overview:
Show me all the services registered in my Consul instance.
b. Check for failing health checks:
Are any services experiencing health issues? What might be causing them?
c. Create a service mesh diagram:
Create a diagram showing the connections between my services.
d. Analyze connection issues:
Which services are having trouble connecting to each other?
e. Get recommendations:
Based on my service mesh setup, what improvements would you recommend?
src/index.ts: Main entry pointsrc/resources/: Consul API interaction codesrc/tools/: Helper functionality like diagram generationsrc/server/: MCP server componentssrc/mcp/: MCP action definitions and handlerssrc/prompts/: Template management for AI interactionssrc/tests/: Test suitesnpm test
npm run build
Contributions are welcome! Please feel free to submit a pull request.
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for HashiCorp Consul service discovery and service mesh from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/consul-mcp-server-3loka)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.