AgentScope Tools MCP Server
将 AgentScope 内置工具暴露为 MCP 服务的工具包。
工具列表
| 工具名称 | 描述 |
|---|---|
run_python_code |
执行 Python 代码 |
run_shell_command |
执行 Shell 命令 |
view_file |
查看文件内容 |
write_file |
写入文件内容 |
insert_file |
插入内容到文件 |
安装
pip install mcp_tools_etop_test_from_as
运行方式
使用 uvx(推荐)
uvx mcp_tools_etop_test_from_as
指定地址和端口:
uvx mcp_tools_etop_test_from_as --host 127.0.0.1 --port 8000
使用命令行
pip install mcp_tools_etop_test_from_as
mcp_tools_etop_test_from_as
默认在 http://0.0.0.0:8000/mcp 启动。
指定地址和端口:
mcp_tools_etop_test_from_as --host 127.0.0.1 --port 8000
使用 Python 代码
from mcp_tools_etop_test_from_as import run
run(host="127.0.0.1", port=8000)
直接运行模块
python -m mcp_tools_etop_test_from_as.server
Metadata
Release files for mcp-tools-etop-test-from-as 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_tools_etop_test_from_as-0.1.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_tools_etop_test_from_as-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / mcp_tools_etop_test_from_as-0.1.1.tar.gz
| Download URL | mcp_tools_etop_test_from_as-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0425d48f1889867b7715c603999270ee20642500c87623f1155cd1172c01d62
|
|
BLAKE2b-256 checksum How to use checksums |
0adeed4b6d975692714f7f81fd828015c085f947f967eed4361686a1ab92478c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / mcp_tools_etop_test_from_as-0.1.1-py3-none-any.whl
| Download URL | mcp_tools_etop_test_from_as-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3259c002273c545f843c9f71d68163bf99a036a590d55d4151037fcfe1b901eb
|
|
BLAKE2b-256 checksum How to use checksums |
1a5c8f6a146adc6e90898fee2c1a4f416ecbdf2fc828e35f6a03702498d9b0be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|