Accesses Consul services, health checks, KV store, sessions, events and queries from an agent.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add consul -- node build/index.js~/.codex/config.toml
[mcp_servers.consul]
command = "node"
args = ["build/index.js"]
# codex mcp add consul -- node build/index.js~/.cursor/mcp.json
{
"mcpServers": {
"consul": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}.vscode/mcp.json
{
"servers": {
"consul": {
"type": "stdio",
"command": "node",
"args": [
"build/index.js"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"consul": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"consul": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"consul": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}