Skip to main content
Glama
arttttt
by arttttt

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 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 user@100.x.x.x

Add 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.json

Or merge with existing .mcp.json if one exists.

Verify: claude --mcp-debug

Related MCP server: Promethean OS MCP

Tools

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

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP (Model Context Protocol) server for managing Tailscale resources using the official Tailscale Go client library v2. This server provides complete coverage of the Tailscale API with enhanced, self-descriptive tools powered by OpenAPI documentation.
    2
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A unified MCP server with composable tools for GitHub operations, file management, shell execution, kanban boards, Discord messaging, and package management. Features role-based security, HTTP/stdio transports, and a web-based development UI.
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server for intelligent Linux kernel configuration management and building. Enables AI assistants to generate, manage, and optimize kernel configurations and build kernels with comprehensive error detection.
    7
    GPL 2.0

View all related MCP servers

Related MCP Connectors

  • A MCP server built for developers enabling Git based project management with project and personal…

  • Tailscale device, route, DNS, key, user, and ACL management over MCP and CLI.

  • An MCP server for Arcjet - the runtime security platform that ships with your AI code.

View all MCP Connectors

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