Linux MCP Server
Provides AI assistants with the ability to control Linux desktop environments through tools for file management, application launching, and system operations like clipboard access. It includes a multi-level security model to manage permissions for safe, elevated, and restricted actions.
README
Linux MCP Server
AI-driven Linux desktop control via Model Context Protocol.
Overview
Linux MCP Server exposes Linux desktop operations (file management, app control, clipboard, notifications) as MCP tools. AI assistants can use these tools to perform actions on behalf of the user.
Architecture
AI Assistant (Claude, Ollama, etc.)
│
│ MCP (HTTP+SSE)
▼
Linux MCP Server (Python)
│
├── Safety Layer (Safe/Elevated/Blocked permissions)
│
└── Tools: file_read, app_launch, clipboard, notifications
Security Model
| Level | Description | Example |
|---|---|---|
| SAFE | No confirmation needed | Read files, launch apps, clipboard |
| ELEVATED | Requires user confirmation | Write files, run shell commands |
| BLOCKED | Never allowed | sudo, kernel access |
All AI-initiated actions are logged to an audit trail.
Quick Start
Installation
pip install linux-mcp
Run
# Set compositor auth key (optional but recommended)
export LINUX_MCP_COMPOSITOR_KEY="your-secret-key"
# Start the MCP server
linux-mcp
Connect to Claude Desktop
Add to ~/.claude-desktop-config.json:
{
"mcpServers": {
"linux-desktop": {
"command": "uvx",
"args": ["linux-mcp"],
"env": {
"LINUX_MCP_COMPOSITOR_KEY": "your-secret-key"
}
}
}
}
Available Tools
File Operations
file_read- Read file contentsfile_list- List directoryfile_write(ELEVATED) - Write files
App Control
app_launch- Launch applications
System
clipboard_read- Read clipboardnotification_send- Send notificationssettings_get/settings_set- System settings
Development
# Clone and install
git clone https://github.com/YOUR_USER/linux-mcp.git
cd linux-mcp
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Run in dev mode
python -m linux_mcp
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.