KotDath/aurora-rs-mcp
If you are the rightful owner of aurora-rs-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Model Context Protocol (MCP) server for Aurora OS is a cross-platform server that provides essential tools and interfaces for interacting with the Aurora operating system.
Rust for Aurora OS

▶️ RUTUBE
A demonstration of cross-platform assembly of a Rust application for Aurora OS and interaction with the main interfaces:
- D-Bus, (deviceinfo).
- Clib, (libappdir).
- С++, (example cxx).
- Qt, (QNetworkConfigurationManager).
Aurora-RS-MCP extends this foundation with a minimal MCP server that exposes /mcp and the two tools say_hello and get_aurora_info for integration testing. The CLI accepts a --port option (default 8080) so you can choose the listening port.
Build
- Cross: https://crates.io/crates/cross
- Aurora CLI: https://crates.io/crates/aurora-cli
Cross.local.toml
Create it at the root of the project and customize it to suit your needs.
# armv7hl
[target.armv7-unknown-linux-gnueabihf]
env.volumes = [
"PKG_CONFIG_SYSROOT_DIR=/home/keygenqt/.aurora-sysroot/armv7hl",
"PKG_CONFIG_LIBDIR=/home/keygenqt/.aurora-sysroot/armv7hl",
"PKG_CONFIG_PATH=/home/keygenqt/.aurora-sysroot/armv7hl",
]
# aarch64
[target.aarch64-unknown-linux-gnu]
env.volumes = [
"PKG_CONFIG_SYSROOT_DIR=/home/keygenqt/.aurora-sysroot/aarch64",
"PKG_CONFIG_LIBDIR=/home/keygenqt/.aurora-sysroot/aarch64",
"PKG_CONFIG_PATH=/home/keygenqt/.aurora-sysroot/aarch64",
]
# x86_64
[target.x86_64-unknown-linux-gnu]
env.volumes = [
"PKG_CONFIG_SYSROOT_DIR=/home/keygenqt/.aurora-sysroot/x86_64",
"PKG_CONFIG_LIBDIR=/home/keygenqt/.aurora-sysroot/x86_64",
"PKG_CONFIG_PATH=/home/keygenqt/.aurora-sysroot/x86_64",
]
For Windows you need to use sysroot-unix.
Build
# armv7hl
CROSS_CONFIG="Cross.local.toml" cross build --target=armv7-unknown-linux-gnueabihf --verbose
# aarch64
CROSS_CONFIG="Cross.local.toml" cross build --target=aarch64-unknown-linux-gnu --verbose
# x86_64
CROSS_CONFIG="Cross.local.toml" cross build --target=x86_64-unknown-linux-gnu --verbose
Configuration for Visual Studio Code
"rust-analyzer.cargo.extraEnv": {
"PKG_CONFIG_SYSROOT_DIR=/Users/keygenqt/.aurora-sysroot/aarch64",
"PKG_CONFIG_LIBDIR=/Users/keygenqt/.aurora-sysroot/aarch64",
"PKG_CONFIG_PATH=/Users/keygenqt/.aurora-sysroot/aarch64"
}
Run on emulator
./run.sh
Running locally
# default port 8080
cargo run --
# explicit port flag
cargo run -- --port 9090
macOS / Linux:
./run.sh
Windows:
sh run.sh