HashiCorp Consul MCP

DevOpsstdiohttp-streaming
Репозиторий

HashiCorp's official MCP server for Consul, providing integration with the Consul API for service discovery, configuration management, and service mesh operations. Lets AI agents list registered services and their health, read and write KV configuration entries, and inspect mesh intentions and config entries.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

Подключение:
{
  "mcpServers": {
    "consul": {
      "command": "npx",
      "args": [],
      "env": {
        "CONSUL_HTTP_ADDR": "<YOUR_CONSUL_HTTP_ADDR>",
        "CONSUL_HTTP_TOKEN": "<YOUR_CONSUL_HTTP_TOKEN>"
      }
    }
  }
}

Инструменты (3)

list_services

List services registered in the Consul catalog with their health status.

{
  "type": "object",
  "properties": {
    "datacenter": {
      "type": "string",
      "description": "Optional datacenter to query"
    }
  }
}

get_kv

Read a value from the Consul KV store.

{
  "type": "object",
  "required": [
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "KV path to read"
    }
  }
}

put_kv

Write a value to the Consul KV store.

{
  "type": "object",
  "required": [
    "key",
    "value"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "KV path to write"
    },
    "value": {
      "type": "string",
      "description": "Value to store"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
HashiCorp (@hashicorp)
Репозиторий
https://github.com/hashicorp/consul-mcp-server
Лицензия
MPL-2.0
Звёзды
0
Последнее обновление
28 июля 2026 г.