MCPvil
БесплатноНе проверенMinimal Wayland compositor with integrated tools for launching applications and capturing screenshots.
Описание
Minimal Wayland compositor with integrated tools for launching applications and capturing screenshots.
README
A fork of smallvil from the Smithay project with an MCP (Model Context Protocol) server bolted onto it.
MCPvil is a minimal Wayland compositor that exposes its functionality through MCP, allowing AI agents and other MCP clients to interact with the compositor over stdio.
MCP Tools
| Tool | Description |
|---|---|
launch_app |
Launch an application inside the compositor |
close_app |
Kill an application by PID |
save_screenshot_to_file |
Save a screenshot as a PNG file |
capture_screenshot |
Capture a screenshot as base64-encoded PNG |
mouse_move |
Move the mouse pointer to coordinates |
mouse_click |
Click a mouse button at coordinates |
key_press |
Simulate a key press via evdev keycode |
scroll |
Scroll at coordinates in a given direction |
open_window |
Open a GUI window for visual inspection |
Installation
System Dependencies (Debian/Ubuntu)
sudo apt-get install build-essential pkg-config cmake \
libwayland-dev wayland-protocols libinput-dev libudev-dev \
libseat-dev libxkbcommon-dev libegl-dev libgles2-mesa-dev \
libgbm-dev libdrm-dev libxcb1-dev libx11-xcb-dev \
libdbus-1-dev libsystemd-dev libpixman-1-dev
Install via Cargo
cargo install --git https://github.com/derekjchow/mcpvil
Build from Source
git clone https://github.com/derekjchow/mcpvil.git
cd mcpvil
cargo build
Usage
MCPvil communicates over stdio using the MCP protocol (newline-delimited JSON-RPC). It can be used with any MCP-compatible client.
# Run directly (MCP server on stdio, compositor logs on stderr)
mcpvil
# With debug logging
RUST_LOG=debug mcpvil
# GUI mode (opens a window for visual inspection)
mcpvil --gui
Setup with MCP Clients
Claude Code
claude mcp add mcpvil -- mcpvil
Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"mcpvil": {
"command": "mcpvil"
}
}
}
Dependencies
Установка MCPvil
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/derekjchow/mcpvilFAQ
MCPvil MCP бесплатный?
Да, MCPvil MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для MCPvil?
Нет, MCPvil работает без API-ключей и переменных окружения.
MCPvil — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить MCPvil в Claude Desktop, Claude Code или Cursor?
Открой MCPvil на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare MCPvil with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
