loading…
Search for a command to run...
loading…
An MCP server designed for remote Linux kernel cross-compilation over Tailscale SSH. It enables users to manage configurations, execute kernel builds, and retri
An MCP server designed for remote Linux kernel cross-compilation over Tailscale SSH. It enables users to manage configurations, execute kernel builds, and retrieve build artifacts directly through an MCP-compatible interface.
MCP server for remote Linux kernel cross-compilation.
Install on both Mac and Linux:
# Mac
brew install tailscale
# Linux
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up
Enable Tailscale SSH on the Linux machine:
sudo tailscale up --ssh
Verify connectivity from Mac:
# Check Tailscale IP
tailscale ip -4 # on Linux machine
# Test SSH (no keys needed — Tailscale handles auth)
ssh [email protected]
Add to ~/.ssh/config for convenience:
Host kernel-build
HostName 100.x.x.x
User <user>
scp -r . kernel-build:~/kernel-build-mcp/
ssh kernel-build "~/kernel-build-mcp/install.sh"
Either edit config on Linux directly:
ssh kernel-build "vi ~/.config/kernel-build-mcp/config.json"
Or use the set_config tool from Claude Code after connecting.
Copy .mcp.json to your kernel project:
cp .mcp.json /path/to/SmokeR24.1-kernel/.mcp.json
Or merge with existing .mcp.json if one exists.
Verify: claude --mcp-debug
| Tool | Description |
|---|---|
get_config |
Show current configuration |
set_config |
Update configuration remotely |
git_pull |
Fetch and pull latest changes |
git_reset |
Hard reset to remote state |
build |
Full kernel build |
build_module |
Build specific module directory |
make_defconfig |
Apply defconfig |
clean |
Clean build artifacts |
get_build_log |
Read last build log |
get_artifact |
Download build artifact (base64) |
run_command |
Run arbitrary command in kernel dir |
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"kernel-build-mcp": {
"command": "npx",
"args": []
}
}
}