istio-mcp-server
by krutsko·★ 1·综合分 34
MCP 服务器提供对 Kubernetes 集群中 Istio 服务网格资源的只读访问。
概述
Istio MCP 服务器使 AI 助手能够通过安全、非破坏性接口查询 Istio 配置,包括虚拟服务、目标规则和 Envoy 代理配置。它涵盖核心 Istio 资源和可观察性功能,可全面访问 Envoy 代理配置。该服务器支持多种协议(STDIO、SSE、HTTP),专门为与各种 AI 助手的 MCP 集成而设计。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要 AI 助手查询和分析 Istio 服务网格配置,而不必担心意外修改生产环境时,请选择此 MCP 服务器。
什么时候不要选它
如果您需要写入 Istio 配置,请避免使用此服务器,因为它严格为只读模式。同样不适用于不在 Kubernetes 环境中使用 Istio 的组织。
此 server 暴露的工具
从 README 抽取出 12 个工具get-virtual-serviceGet a specific Virtual Service configuration by name
get-destination-ruleGet a specific Destination Rule configuration by name
get-service-mesh-hostsList all services and hosts in the service mesh for a namespace
discover-istio-namespacesDiscover namespaces with Istio sidecars ranked by injection density
check-external-dependency-availabilityCheck if an external dependency is properly configured
get-pods-by-serviceFind all pods backing a specific Kubernetes service
get-proxy-clustersGet Envoy cluster configuration from a pod
get-proxy-listenersGet Envoy listener configuration from a pod
get-proxy-routesGet Envoy route configuration from a pod
get-proxy-endpointsGet Envoy endpoint configuration from a pod
get-proxy-statusGet proxy status information
get-proxy-config-dumpGet full Envoy configuration dump from a pod
可对比工具
安装
安装
通过 npm 安装(推荐)
npm install -g istio-mcp-server从源代码构建
git clone https://github.com/krutsko/istio-mcp-server.git
cd istio-mcp-server
make buildClaude Desktop 配置
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"istio": {
"command": "npx",
"args": [
"-y",
"istio-mcp-server@latest"
]
}
}
}FAQ
- 这个服务器在生产环境中使用是否安全?
- 是的,该服务器默认以只读模式运行,确保不会对您的 Istio 资源执行任何破坏性操作。
- 这个服务器在 Kubernetes 中需要哪些权限?
- 服务器只需要对 Istio 资源的只读访问权限。所需权限最小,遵循最小权限原则。
istio-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。