Back to MCP directory
publicPublicdnsLocal runtime

arrakis-mcp-server

Arrakis MCP Server是一个模型上下文协议服务器,提供Arrakis虚拟机沙箱功能给大型语言模型使用。

article

README

🚀 Arrakis MCP 服务器

Arrakis MCP 服务器是一个基于 Model Context Protocol (MCP) 的服务器,它为大型语言模型提供了 Arrakis 虚拟机 (VM) 沙盒功能,助力大型语言模型更高效地运行。

🚀 快速开始

📦 安装指南

克隆仓库

  1. 克隆此仓库:
    git clone https://github.com/abshkbh/arrakis-mcp-server.git
    cd arrakis-mcp-server
    
  2. 配置您的 LLM 工具以使用 Arrakis MCP 服务器,通过在 MCP 配置中添加以下内容:
    "mcpServers": {
        "arrakis": {
            "command": "<path-to-uv>",
            "args": [
                "--directory",
                "<path-to-repo>",
                "run",
                "arrakis_mcp_server.py"
            ]
        }
    }
    

📄 API文档

Arrakis MCP 服务器暴露以下 MCP 资源和工具:

资源

  • arrakis://vms - 列出所有可用的 VM
  • arrakis://vm/{vm_name} - 获取特定 VM 的信息

工具

  • start_sandbox - 启动一个新的沙盒 VM
  • restore_snapshot - 从快照还原一个 VM
  • snapshot - 创建 VM 的快照
  • run_command - 在 VM 中运行命令
  • upload_file - 上传文件到 VM
  • download_file - 从 VM 下载文件
  • destroy_vm - 销毁特定的 VM
  • destroy_all_vms - 销毁所有 VM
  • update_vm_state - 更新 VM 的状态(暂停/停止)

📄 许可证

该项目根据 GNU Affero 公共许可证 v3.0 许可,具体内容请查看 LICENSE 文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client