# Talos Linux MCP Server

> Talos Linux MCP Server is an open-source MCP server for cloud and infrastructure. Manage Talos Linux clusters from an AI agent through the native gRPC API. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Self-hosted
- **Repository:** https://github.com/nosmoht/talos-mcp-server
- **MCP Registry name:** io.github.Nosmoht/talos-mcp-server
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Instead of pasting talosctl output into chat, an agent calls structured tools that return JSON straight from the Talos gRPC API, using the same mTLS credentials as talosctl from ~/.talos/config. It is tested against Talos Linux v1.9.x through v1.14.x and logs a warning when the connected cluster falls outside that range.

A long list of environment variables governs safety. TALOS_MCP_READ_ONLY disables every mutating tool, allowed-node and allowed-path lists restrict targets, and blocked config paths stop talos_patch_config from touching chosen settings. The talos_upgrade tool validates the upgrade path before sending it, and insecure maintenance-mode access stays off unless explicitly enabled with an allow list.

It speaks stdio by default, or Streamable HTTP with a bearer token, rate limit and body-size cap when an address is set. Install with npx talos-mcp, a release binary or from source.

## Features

- **Structured JSON output:** Returns machine-readable data from the Talos gRPC API.
- **Read-only mode:** One flag disables all mutating tools.
- **Target allow lists:** Restrict nodes and file paths the tools may touch.
- **Upgrade path checks:** talos_upgrade validates the version path before sending.
- **Config patch guards:** Block chosen dot-paths from being patched.
- **HTTP mode:** Optional Streamable HTTP with bearer auth and rate limits.

## Good for

- Inspect cluster health and services without talosctl
- Read logs and files from a node
- Patch machine config with guarded paths
- Plan and run a Talos upgrade with validation

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add talos-mcp-server -- npx -y talos-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "talos-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "talos-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add talos-mcp-server -- npx -y talos-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.talos-mcp-server]
command = "npx"
args = ["-y", "talos-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user talos-mcp-server npx -- -y talos-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "talos-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "talos-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 1 of 8 tools changes data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `talos_read_file` (name suggests: reads): Reads a file from a Talos node, subject to allowed paths.
- `talos_list_files` (name suggests: reads): Lists files on a Talos node, subject to allowed paths.
- `talos_apply_config`: Applies machine configuration to a node.
- `talos_patch_config` (name suggests: changes): Patches machine configuration, subject to blocked paths.
- `talos_get` (name suggests: reads): Reads Talos resources.
- `talos_version`: Reports a node's Talos version.
- `talos_meta`: Reads or writes node META keys.
- `talos_upgrade`: Upgrades a node after validating the upgrade path.

## FAQ

### Which Talos versions are supported?

The README says v1.9.x through v1.14.x.

### Can I make Talos Linux MCP Server read-only?

Yes, set TALOS_MCP_READ_ONLY to true.

### How is Talos Linux MCP Server installed?

With npx talos-mcp, a downloaded release binary, or built from source.

### Does Talos Linux MCP Server use my talosctl credentials?

Yes, it reads ~/.talos/config by default and uses the same mTLS credentials.

### Is Talos Linux MCP Server free?

Yes. Talos Linux MCP Server is open source, so you can use and self-host it for free.

### How do I add Talos Linux MCP Server to Claude Code?

Run this command in your terminal: claude mcp add talos-mcp-server -- npx -y talos-mcp

### What are the best alternatives to Talos Linux MCP Server?

The closest alternatives to Talos Linux MCP Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/talos-linux-mcp-server
