OK

ovn-kubernetes/ovn-kubernetes-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 24 forks 品質 72 トレンド 28Apache-2.0

Repo hosting the Model Context Protocol Server for troubleshooting OVN-Kubernetes

概要

Repo hosting the Model Context Protocol Server for troubleshooting OVN-Kubernetes. To use the MCP server, ensure you have Go installed with a version greater than or equal to the version specified in the go.mod file. The server currently supports 2 transport modes: stdio and http. For stdio mode, the server can be run and connected to by using the following configuration in an MCP host (Cursor, Claude, etc.): For http mode, the server should be started separately: The following configuration should be used in an MCP host (Cursor, Claude, etc.) to connect to the server: For offline troubleshooting (e.g., analyzing sosreports, must-gathers), use --mode offline: Must-gather tools require the omc binary. Some must-gather tools also require the ovsdb-tool binary; if it is not available, those tools are not registered.

README

以下は原文 README の抜粋です。原文を見る。

ovn-kubernetes-mcp

Repo hosting the Model Context Protocol Server for troubleshooting OVN-Kubernetes.

Table of Contents


Operating Modes

Mode Description
live-cluster (default) Connect to a live Kubernetes cluster for real-time debugging (requires kubeconfig).
offline Analyze sosreports and must-gathers without cluster access.
dual Exposes tools from dual live-cluster and offline modes (requires kubeconfig for live-cluster tools).

How to connect to the MCP Server

To use the MCP server, ensure you have Go installed with a version greater than or equal to the version specified in the go.mod file.

The server currently supports 2 transport modes: stdio and http.

Command-line options

Option Default Description
--mode live-cluster Server mode: live-cluster, offline, or dual.
--transport stdio Transport: stdio or http.
--host localhost Address the HTTP server binds to (http only). Use 0.0.0.0 in a container so clients can reach the listener.
--port 8080 Port for HTTP transport.
--kubeconfig (none) Path to kubeconfig file. Omit when using in-cluster ServiceAccount credentials (for example the pod deployment); otherwise set for live-cluster and dual.
--pwru-image docker.io/cilium/pwru:v1.0.10 Container image for the pwru network tool (kernel packet tracing).
--tcpdump-image nicolaka/netshoot:v0.15 Container image for the tcpdump network tool (packet capture).
--kernel-image nicolaka/netshoot:v0.15 Container image for kernel tools (conntrack, ip, iptables, nft).
--tool-timeout 120 Timeout in seconds for tool operations. Set to 0 to disable.
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ovn-kubernetes": { "command": "go", "args": [ "run", "github.com/ovn-kubernetes/ovn-kubernetes-mcp/cmd/ovnk-mcp-server@latest", "--kubeconfig", "/PATH-TO-THE-KUBECONFIG-FILE" ] } } }