MCP.so
登录

Consul MCP Server

@kocierik

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

kocierik

关于 Consul MCP Server

A consul MCP Server (modelcontextprotocol)

Consul MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "consul-mcp-server": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

Consul MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Consul MCP Server?

Consul MCP Server is a Model Context Protocol (MCP) server that provides access to HashiCorp Consul’s functionality through a standardized interface. It enables AI assistants to interact with Consul for service discovery, health checks, key-value storage, sessions, events, prepared queries, and cluster status.

How to use Consul MCP Server?

Start the server with node build/index.js after setting environment variables CONSUL_HOST (default localhost) and CONSUL_PORT (default 8500). For Claude Desktop, install automatically via Smithery using npx -y @smithery/cli install @kocierik/consul-mcp-server --client claude.

Key features of Consul MCP Server

  • List, register, and deregister services
  • Manage health checks for services
  • Get, put, list, and delete KV store keys
  • Create and destroy sessions
  • Fire and list events
  • Create and execute prepared queries
  • Get current leader and peers
  • Retrieve agent members and self information

Use cases of Consul MCP Server

  • Manage service registration and discovery from an AI chat interface
  • Monitor and update health checks across Consul services
  • Read and write to the Consul key-value store for configuration
  • Inspect cluster status and agent health during troubleshooting

常见问题

1

How do I configure the Consul server address and port?

Set the `CONSUL_HOST` environment variable for the host (default `localhost`) and `CONSUL_PORT` for the port (default `8500`).

2

How do I install Consul MCP Server for Claude Desktop automatically?

Run `npx -y @smithery/cli install @kocierik/consul-mcp-server --client claude` using Smithery.

3

What operations does Consul MCP Server support?

It supports service management, health checks, key-value store operations, sessions, events, prepared queries, status queries, agent information, and system health.

4

What are the dependencies to run Consul MCP Server?

The server requires Node.js to run the build, and a running Consul instance accessible via the configured host and port.

评论

其他 分类下的更多 MCP 服务器