# Linux MCP daemon (mcpd)

> Linux MCP daemon (mcpd) is an open-source MCP server for cloud and infrastructure. Go daemon giving AI agents scoped Linux host tools over MCP instead of an SSH shell. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Linux, self-hosted, CLI
- **Website:** https://nucleusv.github.io/linux-mcp-daemon/
- **Repository:** https://github.com/nucleusv/linux-mcp-daemon
- **MCP Registry name:** io.github.nucleusv/linux-mcp-daemon
- **Categories:** cloud and infrastructure, security, developer tools
- **Listing updated:** 2026-11-16

## About

mcpd is a single static Go binary that reads /proc, /sys and systemd directly and offers typed tools in place of a shell. The README's reasoning is that an SSH shell is everything at once, with sudo meaning all of root and an afterthought audit trail. Here each agent gets its own OS account and token, and every call is logged with user, tool, arguments (secrets redacted) and result.

Every tool call spawns a fresh worker process under the real OS UID of the caller, so privilege isolation is genuine rather than a flag. Root is granted per tool in mcp-sudo.yaml and limited by paths, network destinations and sysctl keys. Tokens are salted and hashed. When it runs containerised, a privileged worker joins the host's mount namespace, so root means root on the real host.

Communication is SSE and JSON-RPC over HTTPS on port 9091 with a self-signed certificate by default. A linuxctl CLI offers the same tools to people. The authors warn that some grants that look narrow, such as writes to /etc or service management, are effectively full root.

## Features

- **Typed tools, no shell:** Diagnostics like processes, memory, disks, logs and services return structured output.
- **Per-call isolation:** Each call runs in a fresh worker under the caller's real OS UID.
- **Per-tool root grants:** Root is granted per tool and limited by path, network and sysctl key.
- **Audit trail:** Each call is logged with user, tool, arguments and result.
- **Single static binary:** Runs on a bare host, in Docker or in Kubernetes.
- **linuxctl CLI:** People get the same tools as a kubectl-like CLI.

## Good for

- Ask an agent why a server is slow without giving it a shell
- Let an agent read logs but only restart approved services
- Give each agent its own account and audit trail
- Inspect disks, network connections and kernel messages

## Tools

- `processes/top`: Shows top processes
- `memory/usage`: Shows memory usage
- `disks/usage`: Shows disk usage
- `logs/journal-control`: Reads the systemd journal
- `logs/dmesg`: Reads kernel messages
- `network/connections`: Lists network connections
- `services/list`: Lists services

## FAQ

### Does it run as root?

Nothing runs as root by default; root is granted per tool in mcp-sudo.yaml.

### How is the connection secured?

TLS is on by default with a self-signed certificate generated on first start, and bearer tokens are salted and hashed.

### Can it run in containers?

Yes, in Docker or Kubernetes, where privileged workers join the host mount namespace.

### Are broad grants risky?

Yes; the README warns some grants that look narrow are full root, such as writes to /etc.

### Is Linux MCP daemon (mcpd) free?

Yes. Linux MCP daemon (mcpd) is open source, so you can use and self-host it for free.

### What are the best alternatives to Linux MCP daemon (mcpd)?

The closest alternatives to Linux MCP daemon (mcpd) are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [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-2): 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.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/linux-mcp-daemon-mcpd
