
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Provides structured MCP tools and resources for inspecting and managing Talos Linux clusters via the native Talos gRPC API.
An MCP server for Talos Linux cluster management is cataloged as an MCP server attributed to nosmoht. Provides structured MCP tools and resources for inspecting and managing Talos Linux clusters via the native Talos gRPC API. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for An MCP server for Talos Linux cluster management are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes; setting TALOS_MCP_READ_ONLY to true registers only read-only tools at startup so mutating tools are never exposed to the LLM.
It connects via the native Talos gRPC API using the same mTLS credentials as talosctl, reading ~/.talos/config by default.
README.md · 33cb133a1f61 · Fetched 2026-11-13 12:12:10 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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 <npm-prefix>/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 (Go version as set in go.mod; tools via mise):
git clone https://github.com/Nosmoht/talos-mcp-server
cd talos-mcp-server
make build
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. when the node's version cannot be read, or the target is newer than this server's machinery) |
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_BLOCKED_CONFIG_PATHS | (unset) | Comma-separated dot-paths (e.g. machine.security,cluster.etcd) that talos_patch_config refuses to change. Every document of a multi-document patch is inspected; a $patch directive counts as changing the mapping that holds it (a top-level one, the whole document); a patch containing a typed document (apiVersion/kind) is refused. While set, the authenticated talos_apply_config path is disabled. |
TALOS_MCP_SAFETY_PROFILE | (unset) | conservative / standard / expert preset that seeds gating flags. expert enables EnableInsecure. Any other value, an empty one included, stops the server at startup. |
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 |
The boolean TALOS_MCP_* flags accept the Go strconv.ParseBool spellings 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False; any other value, an empty one included, stops the server at startup.
This server is tested against Talos Linux v1.9.x through v1.14.x.
| talos-mcp | Talos Linux | machinery SDK | MCP go-sdk |
|---|---|---|---|
| v0.x (current) | v1.9.0 – v1.14.x | v1.14.5 | v1.8.0 |
The server logs a startup warning if the connected cluster's Talos version is outside the tested range. All gRPC methods used have been stable since Talos v1.9.
Stdio mode serves MCP protocol revision 2026-07-28 and the legacy revisions up to 2025-11-25 (initialize handshake).
Streamable HTTP mode is stateful and serves legacy revisions up to 2025-11-25 only; 2026-07-28 clients negotiate down to 2025-11-25 or receive a JSON-RPC error.
Before it sends the upgrade, the talos_upgrade tool checks the path from the node's current version to the image's version against the same machinery rules the target installer enforces on the node. The installer runs its own check only after it has drained the node and stopped its services. The tool refuses an upgrade when the path is not allowed, when the node's version cannot be read, or when the target version is newer than the machinery compiled into this server knows. Paths the target release accepts pass, including some that skip a minor version, some downgrades and reinstalls of the same version.
If the image tag carries no version (e.g. :latest), the path cannot be checked: the tool logs a warning and proceeds. To bypass the check, 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
Server logs go to stderr only; the server sends no MCP notifications/message log notifications and does not advertise the logging capability.
| 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 new owner-only (0600) local file; an existing path, and a path through a symlink owned by neither root nor the server's user, is refused. The result includes the byte count and sha256. |
talos_list_files | List files and directories on a node filesystem. |
talos_read_file | Read the contents of a single file from exactly one target node's filesystem (e.g. /etc/os-release, /etc/machine-config.yaml). Passing more than one node is rejected. To browse directories first use talos_list_files. |
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; a second authenticated config write while one runs is refused (config write in progress; retry); a write unfinished after 30s is cancelled and, with dry_run=false, reports an unknown outcome (check talos_get machineconfig) |
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; a second authenticated config write while one runs is refused (config write in progress; retry); an authenticated write unfinished after 30s is cancelled and, with dry_run=false, reports an unknown outcome (check talos_get machineconfig); maintenance mode has no such limit |
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), except that talos_read_file, talos_get, talos_patch_config, talos_apply_config and talos_meta with action=read accept at most one node, and talos_etcd_snapshot requires exactly one. 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 for a single node. |
investigate-etcd | Focused investigation of an etcd cluster anomaly. |
debug-service | Service-specific diagnostic workflow (kubelet, containerd, etcd, …). |
pre-upgrade-checklist | Pre-flight verification before a Talos upgrade. |
apply-config | Guided flow for applying a machine config patch (registered only when TALOS_MCP_READ_ONLY is unset). |
The server exposes Talos COSI resources as MCP resources:
talos://cluster/version — static cluster version info.talos://cluster/resource-definitions — discover resource types.talos://{node}/resource/{namespace}/{type}[/{id}] — list or get COSI resources on a specific node.MCP clients that implement resources/subscribe (legacy revisions up to 2025-11-25; Claude Desktop, Cursor) or subscriptions/listen (revision 2026-07-28) receive notifications/resources/updated whenever the underlying resource changes — no polling required. Subscriptions are backed by the Talos COSI Watch / WatchKindAggregated streams and honour the same TALOS_MCP_ALLOWED_NODES allowlist as reads.
Subscribable resource types (canonical names):
MachineStatuses.runtime.talos.dev (MachineStatus)Members.cluster.talos.dev (Member)NodeAddresses.net.talos.dev (NodeAddress)Services.v1alpha1.talos.dev (Service)Aliases resolve to the canonical type before the allowlist check, so a client subscribing to talos://{node}/resource/runtime/ms/... (alias for MachineStatus) succeeds. Other COSI types reject with resource type %q is not subscribable. Static talos://cluster/* URIs are not subscribable (no COSI backing).
Delivery is rate-limited per (session, URI) via TALOS_MCP_SUBSCRIPTION_RATE / TALOS_MCP_SUBSCRIPTION_BURST; over-rate events are dropped and the client re-reads the resource to catch up. The initial Bootstrapped event is intentionally not forwarded — the client is expected to call resources/read once after subscribe for initial state.
MCP Client (Claude Code / Codex)
│ stdio / JSON-RPC
▼
talos-mcp ◄── reads TALOSCONFIG (~/.talos/config)
│ gRPC + mTLS
▼
Talos API (each node)
│
▼
Node OS
Data flow warning: Tool responses flow directly into the LLM's context window and are sent to the LLM provider. Anything a tool returns — node IPs, hostnames, service configurations, kernel logs, file contents — becomes part of the prompt sent over the network. Do not use this server with clusters containing data you would not be comfortable sending to your LLM provider.
Talos RBAC is server-side enforced. The credentials in your talosconfig determine what operations are permitted on each node. talos-mcp cannot bypass Talos RBAC — a request that the API rejects will fail with an error, not silently succeed.
| Tool | RBAC minimum |
|---|---|
talos_resource_definitions, talos_get, talos_version, talos_services, talos_containers, talos_processes, talos_health, talos_logs, talos_dmesg, talos_events, talos_list_files, talos_read_file | os:reader |
talos_etcd, talos_service_action, talos_reboot, talos_upgrade, talos_rollback | os:operator |
talos_patch_config | os:admin |
| Mechanism | How it works |
|---|---|
| Read-only mode | TALOS_MCP_READ_ONLY=true registers only read-only tools at startup; mutating tools are never exposed to the LLM |
| Path allowlist | TALOS_MCP_ALLOWED_PATHS=/etc,/proc restricts talos_read_file and talos_list_files to specified prefixes. Defense-in-depth, not a hard boundary: the check is local to the MCP server — symlinks on the remote Talos node that resolve outside an allowed prefix are not detected. |
| Confirm gates | Always require confirm=true: talos_service_action, talos_reboot, talos_upgrade, talos_rollback, talos_reset. Require confirm=true when dry_run=false: talos_patch_config, talos_apply_config. All enforced server-side. |
| Preserve default | talos_upgrade defaults preserve to true (keep EPHEMERAL partition) — differs from talosctl default of false |
| Dry-run default | talos_patch_config defaults to dry_run=true; applying requires both dry_run=false and confirm=true |
| Audit logging | Every mutating tool call and every call to a tool that accepts insecure=true emits a structured slog INFO record AUDIT to stderr with the fields tool, nodes and args (patch content is redacted). Tools that accept insecure=true also emit an AUDIT_OUTCOME record with the fields tool, outcome and error. |
Create a dedicated talosconfig with minimal permissions for use with this server:
Read-only access (recommended for most use cases):
# Generate a reader-only talosconfig
talosctl config new --roles=os:reader talosconfig-readonly
Then set TALOSCONFIG=/path/to/talosconfig-readonly and TALOS_MCP_READ_ONLY=true for maximum restriction. With this setup, the server exposes only read-only tools and the credentials cannot perform any mutating operations even if a tool were somehow bypassed.
Operator access (for service management, reboot, upgrade):
talosctl config new --roles=os:operator talosconfig-operator
This covers all tools except talos_patch_config (which requires os:admin).
Full access (required for config patching):
Use your default talosconfig or generate one with os:admin. Reserve this for setups where config patch capability is explicitly needed.
Each release includes a talos-mcp_<version>_checksums.txt file with SHA-256 hashes of all archives. Verify the binary after downloading:
# Download archive and checksums
curl -LO https://github.com/Nosmoht/talos-mcp-server/releases/download/v<version>/talos-mcp_<version>_linux_amd64.tar.gz
curl -LO https://github.com/Nosmoht/talos-mcp-server/releases/download/v<version>/talos-mcp_<version>_checksums.txt
# Verify
sha256sum --check --ignore-missing talos-mcp_<version>_checksums.txt
This detects corruption or truncated downloads. It does not protect against a compromised release pipeline.
Each release includes a GitHub-native build provenance attestation that cryptographically links the binary to the specific commit and workflow run that produced it:
gh attestation verify talos-mcp_<version>_linux_amd64.tar.gz \
--repo Nosmoht/talos-mcp-server
This requires the GitHub CLI. A passing verification means the artifact was produced by the official release workflow in this repository, not a third-party build.
The npm package is published with provenance attestation:
npm audit signatures
A passing result means the package was published by the official GitHub Actions release workflow via OIDC trusted publishing.
# Tools come from mise (https://mise.jdx.dev); mise exec fetches them on first use
# Build
mise exec -- go build -o talos-mcp ./cmd/talos-mcp
# Test
mise exec -- go test -race ./...
# Lint
mise exec -- golangci-lint run
# Format check
mise exec -- gofmt -l .
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for An MCP server for Talos Linux cluster management from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/talos-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.