Kasm Server V2
БесплатноНе проверенEnables AI agents to manage and interact with Kasm Workspaces containerized desktop infrastructure, providing tools for session management, command execution, f
Описание
Enables AI agents to manage and interact with Kasm Workspaces containerized desktop infrastructure, providing tools for session management, command execution, file operations, and user management via the Model Context Protocol.
README
License: MIT Python 3.8+ MCP SDK
A Model Context Protocol (MCP) server that enables AI agents to manage and interact with Kasm Workspaces containerized desktop infrastructure. This server provides a standardized interface for LLMs to create, manage, and execute commands within Kasm sessions.
🚀 Quick Start
# Clone the repository
git clone https://github.com/roguedev-ai/kasm-mcp-server-v2.git
cd kasm-mcp-server-v2
# Run the automated setup script
./setup-prerequisites.sh
# Choose option 1 for NPM/Python mode (recommended for Cline)
# Configure your Kasm API credentials when prompted
# Start the server
source venv/bin/activate
python -m src
📚 Documentation
- Quick Start Guide - Get up and running in 5 minutes
- Installation Guide - Detailed installation instructions
- Tool Reference - Complete reference for all 21 available tools
- Suggested Prompts - Example prompts for effective usage
- Troubleshooting Guide - Common issues and solutions
- Cline Integration Guide - Configure Cline to use this MCP server
- LLM Integration Guide - Integrate with any MCP-compatible LLM
- Architecture Documentation - System design and components
- Security Documentation - Security features and best practices
✨ Features
- 🔧 Session Management - Create, destroy, and monitor Kasm workspace sessions
- 💻 Command Execution - Execute commands inside Kasm containers with security boundaries
- 📁 File Operations - Read and write files within Kasm sessions
- 👥 User Management - Create and manage Kasm users
- 🔒 Security - MCP Roots security mechanism for safe file operations
- 🔌 Multiple Deployment Options - NPM/Python or Docker deployment
🛠️ Available Tools
The server provides 21 tools organized into categories:
Session Management (8 tools)
create_kasm_session- Launch a new Kasm workspacedestroy_kasm_session- Terminate a sessionget_session_status- Check session statuslist_user_sessions- List your active sessionslist_all_sessions- List all system sessions (admin)pause_kasm_session- Pause a session to free resourcesresume_kasm_session- Resume a paused sessionget_session_screenshot- Capture session screenshot
Command & File Operations (3 tools)
execute_kasm_command- Execute shell commands in sessionsread_kasm_file- Read file contents from sessionswrite_kasm_file- Write content to files in sessions
User Management (6 tools)
get_kasm_users- List all userscreate_kasm_user- Create new user accountsget_kasm_user- Get specific user detailsupdate_kasm_user- Update user informationdelete_kasm_user- Remove users from systemlogout_kasm_user- Logout all user sessions
Monitoring & Performance (3 tools)
get_session_frame_stats- Frame rendering statisticsget_session_bottleneck_stats- CPU/network bottleneck analysisget_session_recordings- Access session recordings
System Information (1 tool)
get_available_workspaces- List available workspace images
See the Tool Reference for complete details on all tools.
📦 Installation Options
Option 1: Automated Setup (Recommended)
Use the setup-prerequisites.sh script for automated installation:
./setup-prerequisites.sh
Choose from:
- NPM/Python Mode - Direct execution with npm support (best for Cline)
- Docker Mode - Containerized deployment
- Both - Install prerequisites for both modes
Option 2: Manual Installation
See the Installation Guide for manual setup instructions.
🔧 Configuration
Create a .env file with your Kasm credentials:
KASM_API_URL=https://your-kasm-instance.com
KASM_API_KEY=your_api_key_here
KASM_API_SECRET=your_api_secret_here
KASM_USER_ID=default
KASM_ALLOWED_ROOTS=/home/kasm-user
LOG_LEVEL=INFO
🧪 Testing
Run the diagnostic test to verify your installation:
python test_server.py
🐛 Troubleshooting
Recent Fixes
- FastMCP Initialization Error - Fixed in commit c95882e (see MCP_SDK_COMPATIBILITY_FIX.md)
- Import Issues - Resolved with official MCP SDK migration
Common Issues
- "No module named 'mcp'" - Install the MCP SDK:
pip install mcp - Environment variables not set - Check your
.envfile configuration - Server won't start - Run
python test_server.pyfor diagnostics
🤝 Contributing
Contributions are welcome! Please read our contributing guidelines and submit pull requests to the repository.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Resources
📧 Support
For issues and questions:
- Open an issue on GitHub
- Check existing documentation in the
/docsfolder - Review the troubleshooting section above
Current Version: 2.0.1
Last Updated: September 10, 2025
Status: ✅ Production Ready
Установка Kasm Server V2
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/roguedev-ai/kasm-mcp-server-v2FAQ
Kasm Server V2 MCP бесплатный?
Да, Kasm Server V2 MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Kasm Server V2?
Нет, Kasm Server V2 работает без API-ключей и переменных окружения.
Kasm Server V2 — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Kasm Server V2 в Claude Desktop, Claude Code или Cursor?
Открой Kasm Server V2 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Kasm Server V2 with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
