
pazuzu1w/ubuntu_mcp_server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
pazuzu1w/ubuntu mcp server는 MCP 서버 후보가 https://github.com/pazuzu1w/ubuntu_mcp_server.에서 수입되었습니다
개요
pazuzu1w/ubuntu mcp server는 MCP 서버 후보가 https://github.com/pazuzu1w/ubuntu_mcp_server.에서 수입되었습니다
개요(AI 번역)
2007-11-13 보안-First 안전한 Ubuntu 체계 가동을 위한 모형 Context 의정서 서버
하드화 된, 생산-ready Model Context Protocol (MCP) 서버는 ** 보안, 제어 된 액세스 ** 우분투 시스템 운영. 포괄적인 보안 제어, 감사 로깅 및 방어적인 원칙을 내장.
✨ 주요 특징
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
-Path traversal protection - 수당/denylist 제어를 가진 심 링크 해결책 -Command sanitization - 안전한 인수 패싱과 쉘 주입 방지
- ** 자원 제한 ** - 파일 크기, 실행 시간표 및 출력 크기 제어 -Comprehensive Audit logging - 모든 작업은 사용자의 attribution으로 로그인
- ** 깊이의 손실 ** - 실패 안전한 과태를 가진 다수 안전 층
핵심 기능
- File Operations - 권한 검증을 가진 읽기, 쓰기 및 목록 디렉터리 -Command Execution - Whitelist/blacklist 필터링으로 안전한 쉘 명령 실행
- 시스템 정보 - OS 세부 사항, 메모리 및 디스크 사용 모니터링
- **패키지 관리 ** - APT 패키지 검색 및 목록 (설치는 명시된 설정이 필요합니다)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Secure Ubuntu MCP Server
🔒 Security-First Model Context Protocol server for safe Ubuntu system operations
A hardened, production-ready Model Context Protocol (MCP) server that provides AI assistants with secure, controlled access to Ubuntu system operations. Built with comprehensive security controls, audit logging, and defense-in-depth principles.
✨ Key Features
🛡️ Security-First Architecture
- Path traversal protection - Symlink resolution with allowlist/denylist controls
- Command sanitization - Shell injection prevention with safe argument parsing
- Resource limits - File size, execution timeouts, and output size controls
- Comprehensive audit logging - All operations logged with user attribution
- Defense in depth - Multiple security layers with fail-safe defaults
🎯 Core Capabilities
- File Operations - Read, write, and list directories with permission validation
- Command Execution - Safe shell command execution with whitelist/blacklist filtering
- System Information - OS details, memory, and disk usage monitoring
- Package Management - APT package search and listing (installation requires explicit config)
🏗️ Production Ready
- Modular design with clear separation of concerns
- Comprehensive error handling with meaningful error messages
- Extensive test suite including security validation tests
- Configurable policies for different use cases and environments
- Zero-dependency security - Core security doesn’t rely on external packages
🚀 Quick Start
Prerequisites
- Ubuntu 18.04+ (tested on 20.04, 22.04, 24.04)
- Python 3.9 or higher
- Standard Unix utilities (ls, cat, echo, etc.)
Installation
# Clone the repository
git clone https://github.com/yourusername/secure-ubuntu-mcp.git
cd secure-ubuntu-mcp
# Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Verify installation with built-in tests
python main.py --test
Basic Usage
# Start with secure policy (recommended)
python main.py --policy secure
# Start with development policy (more permissive)
python main.py --policy dev
# Test security measures
python main.py --security-test
🔧 Integration
Claude Desktop
Getting Claude Desktop on Linux
Official Support: Claude Desktop doesn’t officially support Linux, but the community has created solutions!
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"secure-ubuntu": {
"command": "/path/to/secure-ubuntu-mcp/.venv/bin/python3",
"args": ["/path/to/secure-ubuntu-mcp/main.py", "--policy", "secure"],
"env": {
"MCP_LOG_LEVEL": "INFO"
}
}
}
}