原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Talos Linux MCP Server

作者:Nosmoht版本 2.5.1i★ –i在你的电脑上运行
注册名称io.github.Nosmoht/talos-mcp-server

安装

概览

作者提供的说明(英文原文)

MCP server for Talos Linux — resources, services, logs, health, config, lifecycle via gRPC.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: 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

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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 中打开

或者自己复制设置

粘贴到项目中的 .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"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .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 env
    Path to talosconfig file (default: ~/.talos/config)
  • TALOS_CONTEXT env
    Context name override (default: active context from config)
  • TALOS_ENDPOINTS env
    Comma-separated endpoint overrides
  • TALOS_MCP_READ_ONLY env
    Set to "true" to disable all mutating tools (default: false)
  • TALOS_MCP_HTTP_ADDR env
    If set (e.g. ":8080"), serve Streamable HTTP instead of stdio
  • TALOS_MCP_AUTH_TOKEN env
    Required bearer token when HTTP mode is active (TALOS_MCP_HTTP_ADDR is set)
  • TALOS_MCP_ALLOWED_NODES env
    Comma-separated IPs, hostnames, and CIDR ranges permitted as tool targets. Unset or empty allows all nodes.
  • TALOS_MCP_ALLOWED_PATHS env
    Comma-separated path prefixes permitted for talos_read_file and talos_list_files (e.g. /etc,/proc). Unset or empty allows all paths.
  • TALOS_MCP_SKIP_VERSION_CHECK env
    Set to "true" to bypass upgrade path validation (default: false)
  • TALOS_MCP_RATE_LIMIT env
    HTTP mode: token-bucket refill rate in requests/second (float, default: 10)
  • TALOS_MCP_RATE_BURST env
    HTTP mode: token-bucket burst capacity (int, default: 20)
  • TALOS_MCP_MAX_BODY_SIZE env
    HTTP mode: max POST request body size in bytes (int, default: 4194304 = 4 MiB)
  • TALOS_MCP_MAX_CONCURRENT env
    HTTP mode: max concurrent POST handlers; returns 503 on overload (int, default: 20)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Nosmoht 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4923 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4923 个服务器的 21% 更新
  • 基础检查结果等于或优于此分类中其他 4923 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Talos Linux MCP Server 安全吗?

它在 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

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT17天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

talos-mcp

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).

Installation

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

Configuration

Reads ~/.talos/config by default (the same file talosctl uses). Override via environment variables:

VariableDefaultDescription
TALOSCONFIG~/.talos/configPath to talosconfig file
TALOS_CONTEXTactive contextContext name to use
TALOS_ENDPOINTSfrom configComma-separated endpoint overrides
TALOS_MCP_READ_ONLYfalseSet 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_CHECKfalseSet to true to bypass upgrade path validation (e.g. for factory images or custom tags)
TALOS_MCP_ENABLE_INSECUREfalseUnlock 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_LIMIT10HTTP mode: token-bucket refill rate (requests/second, float)
TALOS_MCP_RATE_BURST20HTTP mode: token-bucket burst capacity (int)
TALOS_MCP_MAX_BODY_SIZE4194304HTTP mode: max POST request body size in bytes (4 MiB default)
TALOS_MCP_MAX_CONCURRENT20HTTP mode: max concurrent POST handlers (fail-fast 503 on overload)
TALOS_MCP_SUBSCRIPTION_RATE1sMinimum interval between delivered resources/updated notifications per (session, URI) pair (Go duration, e.g. 500ms)
TALOS_MCP_SUBSCRIPTION_BURST3Initial notification burst per (session, URI) before the rate kicks in

Compatibility

This server is tested against Talos Linux v1.9.x through v1.13.x.

talos-mcpTalos Linuxmachinery SDK
v0.x (current)v1.9.0 – v1.13.xv1.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.

Upgrade path validation

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.

Client Setup

Claude Code

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.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "talos": { "command": "npx", "args": ["-y", "talos-mcp"] } } }

OpenAI Codex

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"

Generic MCP client

The server speaks the MCP protocol over stdio:

./talos-mcp

Tools

Read-only
ToolDescription
talos_resource_definitionsList all available resource types and their aliases. Call this first to discover what can be queried.
talos_getGet or list any COSI resource by type (e.g. MachineStatus, Member, NodeAddress, Service). Supports maintenance-mode (insecure=true + endpoint).
talos_versionGet Talos version info from target nodes. Supports maintenance-mode (insecure=true + endpoint).
talos_servicesList all Talos services and their current state (running, stopped, health).
talos_containersList containers in a namespace (default: k8s.io for Kubernetes containers).
talos_processesList running processes on target nodes.
talos_healthCheck cluster health (etcd, Kubernetes API, node readiness). Supports control_plane_nodes / worker_nodes override.
talos_logsFetch recent service logs (last N lines, no follow).
talos_dmesgRead kernel ring buffer messages.
talos_eventsFetch recent Talos runtime events (service changes, config changes).
talos_etcdQuery etcd cluster: members (default) or status.
talos_etcd_snapshotStream an etcd snapshot to a local file path.
talos_list_filesList files and directories on a node filesystem.
talos_read_fileRead file contents from a node filesystem.
talos_validateValidate a machine config (YAML/JSON) offline — no cluster connection.
Mutating

These tools modify cluster state and have explicit safety guards.

ToolDescriptionGuards
talos_service_actionStart, stop, or restart a Talos service (note: restarting etcd is not supported by the Talos API).confirm=true required
talos_rebootReboot target nodes. Supports mode: default, powercycle, force.confirm=true required; nodes must be explicit
talos_upgradeUpgrade Talos on target nodes. Supports preserve (default true), stage, force, reboot_mode.confirm=true required; nodes and image required
talos_rollbackRoll back the last upgrade on target nodes.confirm=true required; nodes must be explicit
talos_patch_configApply 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_resetWipe and factory-reset target nodes (irreversible).confirm=true required; nodes must be explicit
talos_apply_configApply 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_metaRead, 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.

Maintenance-mode (--insecure) operations

talos_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).

  • Operator opt-in required. Set TALOS_MCP_ENABLE_INSECURE=true (or use the expert safety profile). Without it, every insecure=true call is refused.
  • Endpoint allowlist required. Set 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.
  • Endpoint must be a bare IP. No hostnames, no host:port, no scheme, no IPv6 zone. Link-local (incl. 169.254.169.254 IMDS), loopback, multicast, and unspecified addresses are rejected.
  • MITM mitigation via TOFU pinning. Pass 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.
  • META write/delete safelist. 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).
Prompts
PromptDescription

| diagnose-node | Guided diagnosis workflow

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx