Metadata-Version: 2.4
Name: agentsphere-mcp-server
Version: 0.1.0
Summary: mcp server for agentsphere sandbox
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: fastmcp>=2.8.1
Requires-Dist: loguru>=0.7.3
Requires-Dist: agentsphere>=0.1.2
Requires-Dist: httpx>=0.27.0

# agentsphere-mcp-server

## 说明

**agent-sphere** 是一个云端安全隔离的沙箱基础设施，提供安全的环境来运行 AI 生成的代码。

**agentsphere-mcp-server** 是用于给 LLM / Agent 连接和操作 agent-sphere 沙箱的 MCP Server。

## 开发

### 环境搭建

本项目使用 uv 进行依赖管理，虚拟环境将创建在项目目录内（`.venv` 文件夹）。

#### 前置要求

- Python 3.12+
- uv（如果未安装，请先安装 uv）（https://docs.astral.sh/uv/getting-started/installation/）

#### 创建虚拟环境并安装依赖

```shell
# 1. 克隆项目后，进入项目根目录
cd agentsphere-mcp-server

# 2. 创建虚拟环境并安装所有依赖（包括开发依赖）
uv sync

# 3. 配置 IDE 解释器
# 虚拟环境创建完成后，需要在 IDE 中选择正确的 Python 解释器
# 解释器路径指向到：项目根目录/.venv/bin/python 
```
