这是一个提供通过标准化接口访问Consul功能的Model Context Protocol (MCP)服务器。
<p align="center"> <a href="https://glama.ai/mcp/servers/@kocierik/consul-mcp-server"> <img width="380" height="200" src="https://gips1.baidu.com/it/u=712328571,1840676816&fm=3081&app=3081&f=PNG?w=760&h=400" alt="Consul Server MCP服务器" /> </a> <center> <video src="https://github.com/user-attachments/assets/81bf7d70-e837-4c99-8312-2c85ccace1f4"></video> </center> </p>该服务器提供了以下Consul功能的访问:
该服务器可以通过环境变量进行配置:
CONSUL_HOST:Consul服务器主机(默认:localhost)CONSUL_PORT:Consul服务器端口(默认:8500)node build/index.js
npm install
npm run build
npm run build && npx @modelcontextprotocol/inspector node build/index.js
{
"mcpServers": {
"consul-mcp": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/consul-mcp-server/build/index.js"
]
}
}
}
要通过Smithery自动安装Consul Server for Claude Desktop:
npx -y @smithery/cli install @kocierik/consul-mcp-server --client claude
MIT