GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
MCP server for Talos Linux — resources, services, logs, health, config, lifecycle via gRPC.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TALOSCONFIG, TALOS_CONTEXT, TALOS_ENDPOINTS, TALOS_MCP_READ_ONLY, TALOS_MCP_HTTP_ADDR, TALOS_MCP_AUTH_TOKEN, TALOS_MCP_ALLOWED_NODES, TALOS_MCP_ALLOWED_PATHS, TALOS_MCP_SKIP_VERSION_CHECK, TALOS_MCP_RATE_LIMIT, TALOS_MCP_RATE_BURST, TALOS_MCP_MAX_BODY_SIZE, TALOS_MCP_MAX_CONCURRENT你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"talos": {
"command": "npx",
"args": [
"-y",
"talos-mcp"
],
"env": {
"TALOSCONFIG": "your-value",
"TALOS_CONTEXT": "your-value",
"TALOS_ENDPOINTS": "your-value",
"TALOS_MCP_READ_ONLY": "your-value",
"TALOS_MCP_HTTP_ADDR": "your-value",
"TALOS_MCP_AUTH_TOKEN": "your-value",
"TALOS_MCP_ALLOWED_NODES": "your-value",
"TALOS_MCP_ALLOWED_PATHS": "your-value",
"TALOS_MCP_SKIP_VERSION_CHECK": "your-value",
"TALOS_MCP_RATE_LIMIT": "your-value",
"TALOS_MCP_RATE_BURST": "your-value",
"TALOS_MCP_MAX_BODY_SIZE": "your-value",
"TALOS_MCP_MAX_CONCURRENT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add talos --env TALOSCONFIG=your-value --env TALOS_CONTEXT=your-value --env TALOS_ENDPOINTS=your-value --env TALOS_MCP_READ_ONLY=your-value --env TALOS_MCP_HTTP_ADDR=your-value --env TALOS_MCP_AUTH_TOKEN=your-value --env TALOS_MCP_ALLOWED_NODES=your-value --env TALOS_MCP_ALLOWED_PATHS=your-value --env TALOS_MCP_SKIP_VERSION_CHECK=your-value --env TALOS_MCP_RATE_LIMIT=your-value --env TALOS_MCP_RATE_BURST=your-value --env TALOS_MCP_MAX_BODY_SIZE=your-value --env TALOS_MCP_MAX_CONCURRENT=your-value -- npx -y talos-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"talos": {
"command": "npx",
"args": [
"-y",
"talos-mcp"
],
"env": {
"TALOSCONFIG": "your-value",
"TALOS_CONTEXT": "your-value",
"TALOS_ENDPOINTS": "your-value",
"TALOS_MCP_READ_ONLY": "your-value",
"TALOS_MCP_HTTP_ADDR": "your-value",
"TALOS_MCP_AUTH_TOKEN": "your-value",
"TALOS_MCP_ALLOWED_NODES": "your-value",
"TALOS_MCP_ALLOWED_PATHS": "your-value",
"TALOS_MCP_SKIP_VERSION_CHECK": "your-value",
"TALOS_MCP_RATE_LIMIT": "your-value",
"TALOS_MCP_RATE_BURST": "your-value",
"TALOS_MCP_MAX_BODY_SIZE": "your-value",
"TALOS_MCP_MAX_CONCURRENT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"talos": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"talos-mcp"
],
"env": {
"TALOSCONFIG": "your-value",
"TALOS_CONTEXT": "your-value",
"TALOS_ENDPOINTS": "your-value",
"TALOS_MCP_READ_ONLY": "your-value",
"TALOS_MCP_HTTP_ADDR": "your-value",
"TALOS_MCP_AUTH_TOKEN": "your-value",
"TALOS_MCP_ALLOWED_NODES": "your-value",
"TALOS_MCP_ALLOWED_PATHS": "your-value",
"TALOS_MCP_SKIP_VERSION_CHECK": "your-value",
"TALOS_MCP_RATE_LIMIT": "your-value",
"TALOS_MCP_RATE_BURST": "your-value",
"TALOS_MCP_MAX_BODY_SIZE": "your-value",
"TALOS_MCP_MAX_CONCURRENT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
TALOSCONFIG envTALOS_CONTEXT envTALOS_ENDPOINTS envTALOS_MCP_READ_ONLY envTALOS_MCP_HTTP_ADDR envTALOS_MCP_AUTH_TOKEN envTALOS_MCP_ALLOWED_NODES envTALOS_MCP_ALLOWED_PATHS envTALOS_MCP_SKIP_VERSION_CHECK envTALOS_MCP_RATE_LIMIT envTALOS_MCP_RATE_BURST envTALOS_MCP_MAX_BODY_SIZE envTALOS_MCP_MAX_CONCURRENT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 Nosmoht 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.5.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that exposes Talos Linux cluster management to AI agents (Claude Code, OpenAI Codex, and any MCP-compatible client). Instead of pasting talosctl output into chat, the agent calls structured tools that return machine-readable JSON directly from the Talos gRPC API — zero token cost for intermediate output.
Connects to your cluster via the native Talos gRPC API using the same mTLS credentials as talosctl (~/.talos/config).
Via npm (no Go required, Linux/macOS, amd64/arm64):
npx talos-mcp
Via npm (global install) for persistent invocation from $PATH:
npm install -g talos-mcp
Installs the binary as /bin/talos-mcp. Verify with:
which talos-mcp # path
talos-mcp --version # version + commit hash npm list -g talos-mcp # npm's view of the installed version
Upgrade to the latest published release:
npm install -g talos-mcp@latest
New releases appear on npmjs.com within minutes of every feat: / fix: / perf: (or breaking) merge to main — see CONTRIBUTING.md § Post-merge release pipeline for the mechanism.
Download binary (Linux/macOS, amd64/arm64):
Download the latest release from GitHub Releases, extract, and place the binary in your $PATH.
Build from source (requires Go 1.21+):
git clone https://github.com/Nosmoht/talos-mcp-server
cd talos-mcp go build -o talos-mcp ./cmd/talos-mcp
Reads ~/.talos/config by default (the same file talosctl uses). Override via environment variables:
| Variable | Default | Description |
|---|---|---|
TALOSCONFIG | ~/.talos/config | Path to talosconfig file |
TALOS_CONTEXT | active context | Context name to use |
TALOS_ENDPOINTS | from config | Comma-separated endpoint overrides |
TALOS_MCP_READ_ONLY | false | Set to true to disable all mutating tools at startup |
TALOS_MCP_HTTP_ADDR | (unset) | If set (e.g. :8080), serve Streamable HTTP instead of stdio |
TALOS_MCP_AUTH_TOKEN | (unset) | Required bearer token when HTTP mode is active |
TALOS_MCP_ALLOWED_NODES | (unset) | Comma-separated IPs, hostnames, and CIDR ranges permitted as tool targets. Unset allows all. |
TALOS_MCP_ALLOWED_PATHS | *(all)* | Comma-separated path prefixes allowed for talos_read_file and talos_list_files (e.g. /etc,/proc). Defense-in-depth only — checks run on the MCP server host and do not resolve symlinks on the remote Talos node, so a symlink under an allowed prefix that points elsewhere is not detected. |
TALOS_MCP_SKIP_VERSION_CHECK | false | Set to true to bypass upgrade path validation (e.g. for factory images or custom tags) |
TALOS_MCP_ENABLE_INSECURE | false | Unlock insecure=true on talos_apply_config / talos_get / talos_version / talos_meta. Bypasses mTLS — REQUIRES TALOS_MCP_INSECURE_ALLOWED_NODES. |
TALOS_MCP_INSECURE_ALLOWED_NODES | (unset) | Comma-separated IPs / CIDRs permitted as maintenance-mode endpoints. Required when TALOS_MCP_ENABLE_INSECURE=true. Refused: 0.0.0.0/0, ::/0, IPv4 mask <16, IPv6 mask <48. |
TALOS_MCP_META_PRIVILEGED_KEYS | *(none)* | Comma-separated META keys (decimal or 0x-prefixed hex) that talos_meta is allowed to write/delete beyond UserReserved1/2/3. |
TALOS_MCP_SAFETY_PROFILE | (unset) | conservative / standard / expert preset that seeds gating flags. expert enables EnableInsecure. |
TALOS_MCP_RATE_LIMIT | 10 | HTTP mode: token-bucket refill rate (requests/second, float) |
TALOS_MCP_RATE_BURST | 20 | HTTP mode: token-bucket burst capacity (int) |
TALOS_MCP_MAX_BODY_SIZE | 4194304 | HTTP mode: max POST request body size in bytes (4 MiB default) |
TALOS_MCP_MAX_CONCURRENT | 20 | HTTP mode: max concurrent POST handlers (fail-fast 503 on overload) |
TALOS_MCP_SUBSCRIPTION_RATE | 1s | Minimum interval between delivered resources/updated notifications per (session, URI) pair (Go duration, e.g. 500ms) |
TALOS_MCP_SUBSCRIPTION_BURST | 3 | Initial notification burst per (session, URI) before the rate kicks in |
This server is tested against Talos Linux v1.9.x through v1.13.x.
| talos-mcp | Talos Linux | machinery SDK |
|---|---|---|
| v0.x (current) | v1.9.0 – v1.13.x | v1.13.4 |
The server logs a startup warning if the connected cluster's Talos version is outside the tested range. All 19 gRPC methods used have been stable since Talos v1.9.
The talos_upgrade tool validates that the target version follows Talos's supported upgrade path — at most one minor version at a time (e.g. v1.11.x → v1.12.x). Upgrades that skip minor versions are rejected with an error.
If your image uses a custom or factory tag (e.g. factory.talos.dev/... or :latest) the tag cannot be parsed and validation is skipped automatically. To bypass validation explicitly, set TALOS_MCP_SKIP_VERSION_CHECK=true.
Add to your project's .mcp.json:
{
"mcpServers": { "talos": { "command": "npx", "args": ["-y", "talos-mcp"] } } }
Or globally in ~/.claude.json under "mcpServers". If you prefer a local binary, replace "command": "npx" with the path to the binary.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "talos": { "command": "npx", "args": ["-y", "talos-mcp"] } } }
Add to .codex/config.toml (project) or ~/.codex/config.toml (global):
[mcp_servers.talos]
command = "npx" args = ["-y", "talos-mcp"]
[mcp_servers.talos.env] TALOSCONFIG = "/path/to/talosconfig"
The server speaks the MCP protocol over stdio:
./talos-mcp
| Tool | Description |
|---|---|
talos_resource_definitions | List all available resource types and their aliases. Call this first to discover what can be queried. |
talos_get | Get or list any COSI resource by type (e.g. MachineStatus, Member, NodeAddress, Service). Supports maintenance-mode (insecure=true + endpoint). |
talos_version | Get Talos version info from target nodes. Supports maintenance-mode (insecure=true + endpoint). |
talos_services | List all Talos services and their current state (running, stopped, health). |
talos_containers | List containers in a namespace (default: k8s.io for Kubernetes containers). |
talos_processes | List running processes on target nodes. |
talos_health | Check cluster health (etcd, Kubernetes API, node readiness). Supports control_plane_nodes / worker_nodes override. |
talos_logs | Fetch recent service logs (last N lines, no follow). |
talos_dmesg | Read kernel ring buffer messages. |
talos_events | Fetch recent Talos runtime events (service changes, config changes). |
talos_etcd | Query etcd cluster: members (default) or status. |
talos_etcd_snapshot | Stream an etcd snapshot to a local file path. |
talos_list_files | List files and directories on a node filesystem. |
talos_read_file | Read file contents from a node filesystem. |
talos_validate | Validate a machine config (YAML/JSON) offline — no cluster connection. |
These tools modify cluster state and have explicit safety guards.
| Tool | Description | Guards |
|---|---|---|
talos_service_action | Start, stop, or restart a Talos service (note: restarting etcd is not supported by the Talos API). | confirm=true required |
talos_reboot | Reboot target nodes. Supports mode: default, powercycle, force. | confirm=true required; nodes must be explicit |
talos_upgrade | Upgrade Talos on target nodes. Supports preserve (default true), stage, force, reboot_mode. | confirm=true required; nodes and image required |
talos_rollback | Roll back the last upgrade on target nodes. | confirm=true required; nodes must be explicit |
talos_patch_config | Apply a targeted machine config patch (strategic-merge or RFC 6902 JSON Patch). | dry_run defaults to true; confirm=true required when dry_run=false |
talos_reset | Wipe and factory-reset target nodes (irreversible). | confirm=true required; nodes must be explicit |
talos_apply_config | Apply a complete machine config to a single node. Supports maintenance-mode (insecure=true + endpoint) for fresh-node bootstrap. | dry_run defaults to true; confirm=true required when dry_run=false |
talos_meta | Read, write, or delete META partition key/value pairs. Supports maintenance-mode (insecure=true + endpoint). | write/delete require confirm=true; non-UserReserved* keys require enumeration in TALOS_MCP_META_PRIVILEGED_KEYS |
All tools accept an optional nodes field (list of node IPs or hostnames). When omitted, the active context from talosconfig is used.
--insecure) operationstalos_apply_config, talos_get, talos_version, and talos_meta accept an insecure=true flag that targets a node in maintenance mode (booted but not yet configured). The transport is TLS-encrypted but bypasses mTLS — there is no client certificate and (by default) no server-certificate verification. This is required for bootstrapping fresh nodes (talosctl apply-config --insecure equivalent).
TALOS_MCP_ENABLE_INSECURE=true (or use the expert safety profile). Without it, every insecure=true call is refused.TALOS_MCP_INSECURE_ALLOWED_NODES to a comma-separated list of permitted maintenance-mode IPs / CIDRs. The startup is aborted if it is missing or contains 0.0.0.0/0, ::/0, an IPv4 mask <16, or an IPv6 mask <48. Use /28 or narrower in production.host:port, no scheme, no IPv6 zone. Link-local (incl. 169.254.169.254 IMDS), loopback, multicast, and unspecified addresses are rejected.cert_fingerprint=<64-hex> (server SHA-256 fingerprint, copied from the Talos console banner) to enable leaf-cert verification. Without it, the connection is MITMable by anyone on-path between the MCP server and the target node.talos_meta write/delete is restricted to meta.UserReserved1/2/3. Privileged keys (Upgrade, StateEncryptionConfig, …) must be enumerated in TALOS_MCP_META_PRIVILEGED_KEYS (per-key, not a blanket flag).| Prompt | Description |
|---|
| diagnose-node | Guided diagnosis workflow
只显示了开头部分;其余内容请在仓库中阅读