MCP.so
Sign In

Consul MCP Server

@kocierik

Basic information

Category

Other

License

MIT

Transports

stdio

Author

kocierik

About Consul MCP Server

A consul MCP Server (modelcontextprotocol)

Consul MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Consul MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

Frequently asked questions

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.

Comments

More Other MCP servers