1. Conduid
  2. Developer Tools
  3. Schedcp
MCP server · Developer Tools

Schedcp

MCP Server for Linux Scheduler Management and Auto optimization

Unclaimed MIT last commit 8 months ago mcpmcp-serverdevtoolsebpflinux
74Good

Scored 5 hours ago · breakdown

About Schedcp

Schedcp is an MCP server published by eunomia-bpf in the Developer Tools category: mCP Server for Linux Scheduler Management and Auto optimization.

The repository has 120 stars and 17 forks, with the last commit 8 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/eunomia-bpf/schedcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Schedcp

Powered by Claude · Grounded in docs

I know everything about Schedcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

Releases

v0.0.1v0.0.1 · 6 Jul 2025Full Changelog**: https://github.com/eunomia-bpf/ai-os/commits/v0.0.1

README

SchedCP - Automatically Optimize Linux Scheduler with MCP Server

WIP: We are building a benchmark for evaluating the optimizations for OS!

SchedCP is an experimental project that enables AI optimization of Linux kernel schedulers using the sched-ext framework. It provides e2e automatic scheduler selection/synthesis, workload profiling, and performance optimization without any human intervention or guidance.

Paper: SchedCP: Towards Agentic OS

The future is not just about letting AI write code for you; the AI agent should act as your system administrator, able to optimize anything for you automatically, without requiring any manual intervention!

It includes the following tools:

  • autotune - AI Agent-powered automatic OS optimization
  • schedcp - MCP server for scheduler management and generation

Demo

Start optimize any workload with AI by simply run:

autotune/target/release/autotune cc "<your workload command>"
# example for linux build
autotune/target/release/autotune cc "make -C workloads/linux-build-bench/linux clean -j && make -C workloads/linux-build-bench/linux -j" 
# example for schbench
autotune/target/release/autotune cc  workloads/basic/schbench/schbench

Allow LLM Agent to auto select and config the best scheduler:

document/schbench-optimize.gif

Allow LLM Agents to write new schedulers:

Features & design

  • Automatic workload profiling
  • Automatic scheduler selection based on workload characteristics
  • Performance tracking across different schedulers
  • Real-time scheduler management and generation

document/design.png

The current MCP tools include:

  • list_schedulers - Get detailed information about all available schedulers
  • run_scheduler - Start schedulers with custom configurations
  • stop_scheduler - Stop running scheduler instances
  • get_execution_status - Monitor scheduler performance and output
  • create_and_verify_scheduler - Create custom BPF schedulers from source code
  • system_monitor - Collect real-time CPU, memory, and scheduler metrics
  • workload - Manage workload profiles and execution history

Installation

Requirements

  • Linux kernel 6.12+ with sched-ext support
  • Rust toolchain

The major dependencies are the dependencies for the sched-ext framework. You can check the github.com/sched-ext/scx for more details.

You also need to install the deps for the workloads you want to optimize.

Build

# Clone with submodules
git clone https://github.com/eunomia-bpf/schedcp
cd schedcp
git submodule update --init --recursive scheduler/scx

# Build schedulers
cd scheduler && make && make install && cd ..
# Build autotune
cd autotune && cargo build --release && cd ..
# Build MCP server
cd mcp && cargo build --release && cd ..

Documentation

User Guides

  • USAGE_GUIDE.md - Complete guide on how to use schedulers

    • Installation and setup
    • Using schedulers with CLI, MCP server, and autotune
    • Understanding scheduler selection
    • Troubleshooting
  • PROJECT_STRUCTURE.md - Detailed project organization

    • Component overview and responsibilities
    • Directory structure and file locations
    • Data flow and integration points
    • Build system architecture
  • AI_AGENTS.md - AI agent implementation

    • How observation, planning, execution, and learning agents work
    • MCP tools and agent capabilities
    • Example optimization workflows
    • Integration with Claude and other AI systems

Design Documents

Quick Start

You should run the claude-code on project root directory.

Autotune (Recommended)

# Set sudo password
export SCHEDCP_SUDO_PASSWORD="your_password"

# Optimize any workload
./autotune/target/release/autotune cc "<your workload command>"

MCP Server

check the .mcp.json for more details. You can just open the claude-code on the

CLI Tool

export SCHEDCP_SUDO_PASSWORD="your_password"

# List schedulers
./mcp/target/release/schedcp-cli list

# Run a scheduler
./mcp/target/release/schedcp-cli run scx_rusty --sudo

# Monitor system metrics
./mcp/target/release/schedcp-cli monitor

For detailed usage instructions, see USAGE_GUIDE.md.

Artifact from Paper

Artifact for reproducing results from "Towards Agentic OS: An LLM Agent Framework for Linux Schedulers" (arXiv:2509.01245).

Evaluation Workloads

1. Linux Kernel Build

2. schbench

3. Batch Workloads

Related Projects

License

See LICENSE for details.

README fetched from the repository 5 hours ago. The original is authoritative.

Questions

About Schedcp

How do I install Schedcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Schedcp safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Schedcp still maintained?

The last commit was 8 months ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.