kernel-build-mcp
Supports remote Git repository management within the kernel source tree, including fetching updates and performing hard resets to match remote states.
Enables remote Linux kernel cross-compilation, providing tools for full kernel and module-specific builds, applying defconfigs, and retrieving build artifacts and logs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kernel-build-mcppull the latest changes and run a full kernel build"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kernel-build-mcp
MCP server for remote Linux kernel cross-compilation.
Setup
1. Install Tailscale
Install on both Mac and Linux:
# Mac
brew install tailscale
# Linux
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale upEnable Tailscale SSH on the Linux machine:
sudo tailscale up --sshVerify connectivity from Mac:
# Check Tailscale IP
tailscale ip -4 # on Linux machine
# Test SSH (no keys needed — Tailscale handles auth)
ssh user@100.x.x.xAdd to ~/.ssh/config for convenience:
Host kernel-build
HostName 100.x.x.x
User <user>2. Deploy MCP server to Linux
scp -r . kernel-build:~/kernel-build-mcp/
ssh kernel-build "~/kernel-build-mcp/install.sh"3. Configure
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.
4. Connect from Claude Code
Copy .mcp.json to your kernel project:
cp .mcp.json /path/to/SmokeR24.1-kernel/.mcp.jsonOr merge with existing .mcp.json if one exists.
Verify: claude --mcp-debug
Tools
Tool | Description |
| Show current configuration |
| Update configuration remotely |
| Fetch and pull latest changes |
| Hard reset to remote state |
| Full kernel build |
| Build specific module directory |
| Apply defconfig |
| Clean build artifacts |
| Read last build log |
| Download build artifact (base64) |
| Run arbitrary command in kernel dir |
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arttttt/kernel-build-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server