Metadata-Version: 2.4
Name: mcp_tools_etop_test_from_as
Version: 0.1.1
Summary: MCP server exposing AgentScope tools
Author: AgentScope Team
License: Apache-2.0
Project-URL: Homepage, https://github.com/agentscope/agentscope
Project-URL: Repository, https://github.com/agentscope/agentscope
Keywords: agentscope,mcp,tools,mcp-server
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
Requires-Dist: fastmcp>=2.0
Requires-Dist: agentscope>=0.7.0
Provides-Extra: dev
Requires-Dist: build>=1.0; extra == "dev"
Requires-Dist: twine>=4.0; extra == "dev"

# AgentScope Tools MCP Server

将 AgentScope 内置工具暴露为 MCP 服务的工具包。

## 工具列表

| 工具名称 | 描述 |
|---------|------|
| `run_python_code` | 执行 Python 代码 |
| `run_shell_command` | 执行 Shell 命令 |
| `view_file` | 查看文件内容 |
| `write_file` | 写入文件内容 |
| `insert_file` | 插入内容到文件 |

## 安装

```bash
pip install mcp_tools_etop_test_from_as
```

## 运行方式

### 使用 uvx（推荐）

```bash
uvx mcp_tools_etop_test_from_as
```

指定地址和端口：
```bash
uvx mcp_tools_etop_test_from_as --host 127.0.0.1 --port 8000
```

### 使用命令行

```bash
pip install mcp_tools_etop_test_from_as
mcp_tools_etop_test_from_as
```

默认在 `http://0.0.0.0:8000/mcp` 启动。

指定地址和端口：
```bash
mcp_tools_etop_test_from_as --host 127.0.0.1 --port 8000
```

### 使用 Python 代码

```python
from mcp_tools_etop_test_from_as import run

run(host="127.0.0.1", port=8000)
```

### 直接运行模块

```bash
python -m mcp_tools_etop_test_from_as.server
```
