talos-mcp

talos-mcp

3.4

Talos-MCP is a proof-of-concept implementation of a Model Context Protocol server using the Talos SDK to interact with multiple Talos nodes.

Talos-MCP is a simple implementation of a Model Context Protocol (MCP) server designed to interact with Talos nodes using the Talos SDK. It allows users to fetch data from multiple nodes within a Talos cluster. The project is currently in a proof-of-concept stage and is not intended for long-term maintenance. It requires Golang 1.24 or higher and a working Talos cluster. The server uses configuration details from a 'talosconfig' file to connect to the specified endpoints and nodes. This setup enables users to perform various operations such as listing disks, network interfaces, CPU and memory usage, and rebooting nodes.

Features

  • {'name': 'List Disks', 'description': 'Fetches and lists all disks available on the Talos nodes.'}
  • {'name': 'List Network Interfaces', 'description': 'Retrieves and displays network interfaces from the Talos nodes.'}
  • {'name': 'List CPU and Memory Usage', 'description': 'Provides information on CPU and memory usage across the Talos nodes.'}
  • {'name': 'Reboot Nodes', 'description': 'Allows users to reboot the Talos nodes remotely.'}

Usage with Different Platforms

mcp-copilot


{
    "mcp": {
        "servers": {
            "talos": {
                "type": "stdio",
                "command": "/Users/qjoly/code/mcp-talos/talos-mcp",
                "env": {
                    "TALOSCONFIG": "/Users/qjoly/code/mcp-talos/talosconfig"
                }
            }
        }
    }
}