TOS MCP Server
Provides comprehensive tools for managing Volcengine TOS (Object Storage) including bucket operations, object upload/download, presigned URL generation, and media processing capabilities like image processing and video snapshots.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TOS MCP Server list all buckets in my TOS account"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
火山引擎 对象存储 TOS 非官方 MCP工具
TOS 非官方 MCP 工具
快速开始
macOS 从零开始配置
1. 安装必要依赖
# 安装 Homebrew(如果还没有)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 安装 Python 3(如果还没有)
brew install python@3.12
# 安装 uv(Python 包管理器)
curl -LsSf https://astral.sh/uv/install.sh | sh
# 重新加载 shell 配置
source ~/.zshrc # 如果使用 zsh
# 或
source ~/.bash_profile # 如果使用 bash2. 方式一:直接从 GitHub 使用(推荐,无需克隆)
使用 uvx 可以直接从 GitHub 运行,无需克隆仓库:
# 直接运行(会自动从 GitHub 下载和安装)
uvx --from git+https://github.com/jneless/tos-mcp.git tos-mcp-server3. 方式二:克隆到本地使用
如果需要修改代码或本地开发:
# 克隆项目
git clone https://github.com/jneless/tos-mcp.git
cd tos-mcp
# 自动安装依赖
uv sync
# 运行服务器
uv run tos-mcp-server环境变量配置
复制环境变量模板:
cp .env.example .env编辑 .env 文件并填入配置,或者设置环境变量:
export TOS_ACCESS_KEY="your_access_key"
export TOS_SECRET_KEY="your_secret_key"
export TOS_REGION="cn-beijing"
export TOS_ENDPOINT="https://tos-cn-beijing.volces.com"Related MCP server: Tencent Cloud COS MCP Server
MCP 配置
方式一:直接从 GitHub 安装(推荐,无需克隆仓库)
Cline 或其他 MCP 客户端的配置文件中添加:
{
"mcpServers": {
"tos-mcp-server": {
"command": "uvx",
"args": ["--from", "git+https://github.com/jneless/tos-mcp.git", "tos-mcp-server"],
"env": {
"TOS_ACCESS_KEY": "your-access-key",
"TOS_SECRET_KEY": "your-secret-key",
"TOS_REGION": "cn-beijing",
"TOS_ENDPOINT": "https://tos-cn-beijing.volces.com"
}
}
}
}环境变量配置说明
TOS_ACCESS_KEY: 火山引擎访问密钥 IDTOS_SECRET_KEY: 火山引擎访问密钥 SecretTOS_REGION: TOS 服务区域(如 cn-beijing)TOS_ENDPOINT: TOS 服务端点(可选,如果不设置会根据 region 自动生成)
API 测试状态
API 名称 | 功能描述 | 分类 | 测试状态 | 测试环境 | 备注 |
| 创建存储桶 | 桶管理 | ✅ 已测试 | Cline | - |
| 列举存储桶 | 桶管理 | ✅ 已测试 | Cline | - |
| 获取存储桶元数据 | 桶管理 | ✅ 已测试 | Cline | - |
| 删除存储桶 | 桶管理 | ✅ 已测试 | Cline | - |
| 上传对象 | 对象管理 | ✅ 已测试 | Cline | - |
| 下载对象 | 对象管理 | ✅ 已测试 | Cline | - |
| 列举对象 | 对象管理 | ✅ 已测试 | Cline | - |
| 删除对象 | 对象管理 | ✅ 已测试 | Cline | - |
| 生成预签名URL | 预签名 | ✅ 已测试 | Cline | - |
| 基础图片处理 | 图片处理 | ✅ 已测试 | Cline | 回写,并提供 URL 下载 |
| 获取图片信息 | 图片处理 | ✅ 已测试 | Cline | - |
| 视频截帧 | 视频处理 | ✅ 已测试 | Cline | - |
| 获取视频信息 | 视频处理 | ✅ 已测试 | Cline | 回写,并提供 URL 下载 |
测试图片
Cline 配置测试

创建bucket

list bucket

删除 bucket

获取 bucket 元数据

生成预签名 url

下载TOS文件 到本地

上传本地文件 到TOS

列举桶内对象

删除文件

获取图片元信息

图像处理,并回写,生成 presign url

视频截帧,并回写,生成 presign url

TOS 文档
Python SDK 简介:https://www.volcengine.com/docs/6349/92785
安装 Python SDK:https://www.volcengine.com/docs/6349/93479
初始化客户端(Python SDK):https://www.volcengine.com/docs/6349/93483
快速入门(Python SDK):https://www.volcengine.com/docs/6349/92786
普通预签名(Python SDK):https://www.volcengine.com/docs/6349/135725
创建桶(PythonSDK):https://www.volcengine.com/docs/6349/92793
列举桶(PythonSDK):https://www.volcengine.com/docs/6349/92794
获取桶元数据(PythonSDK):https://www.volcengine.com/docs/6349/92795
删除桶(PythonSDK):https://www.volcengine.com/docs/6349/92796
普通上传(Python SDK):https://www.volcengine.com/docs/6349/92800
普通下载(Python SDK):https://www.volcengine.com/docs/6349/92803
列举对象 V2(Python SDK):https://www.volcengine.com/docs/6349/173820
删除对象(Python SDK):https://www.volcengine.com/docs/6349/92805
基础图片处理(Python SDK):https://www.volcengine.com/docs/6349/1157332
获取图片信息(Python SDK):https://www.volcengine.com/docs/6349/1157336
图片处理持久化(Python SDK):https://www.volcengine.com/docs/6349/1157338
视频截帧(Python SDK):https://www.volcengine.com/docs/6349/1157340
获取视频信息(Python SDK):https://www.volcengine.com/docs/6349/1157341
获取视频信息(Python SDK):https://www.volcengine.com/docs/6349/1157343
Appendix
Available Tools
13 toolstos_create_bucketC
创建 TOS 存储桶
Inputs: bucket_name (required), acl.
tos_delete_bucketC
删除 TOS 存储桶
Inputs: bucket_name (required).
tos_delete_objectC
删除 TOS 对象
Inputs: bucket_name (required), object_key (required).
tos_get_bucket_metaC
获取存储桶元数据
Inputs: bucket_name (required).
tos_get_objectC
从 TOS 下载对象
Inputs: bucket_name (required), object_key (required), return_as_base64.
tos_image_infoC
获取图片信息
Inputs: bucket_name (required), object_key (required).
tos_image_processC
图片处理(组合操作,支持多种处理参数)
Inputs: bucket_name (required), object_key (required), process (required), save_bucket (required), +1 more.
tos_list_bucketsB
列举 TOS 存储桶
Inputs: no named parameters.
tos_list_objectsC
列举 TOS 对象
Inputs: bucket_name (required), delimiter, max_keys, prefix.
tos_presigned_urlC
生成预签名 URL
Inputs: bucket_name (required), object_key (required), expires, method.
tos_put_objectC
上传对象到 TOS
Inputs: bucket_name (required), content (required), object_key (required), content_type, +1 more.
tos_video_infoC
获取视频信息
Inputs: bucket_name (required), object_key (required).
tos_video_snapshotC
视频截帧(支持持久化)
Inputs: bucket_name (required), object_key (required), save_bucket (required), save_key (required), +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Every tool has a clearly distinct purpose targeting specific TOS operations like bucket management, object handling, media processing, and URL generation. There is no overlap or ambiguity between tools, as each name precisely indicates its function (e.g., tos_list_buckets vs. tos_list_objects, tos_image_info vs. tos_video_info).
All tools follow a consistent 'tos_verb_noun' pattern with snake_case throughout, such as tos_create_bucket, tos_get_object, and tos_image_process. This predictable naming convention makes it easy for agents to understand and select the appropriate tool without confusion.
With 13 tools, the set is well-scoped for a TOS (object storage) server, covering essential operations like CRUD for buckets and objects, listing, metadata retrieval, media processing, and URL generation. Each tool earns its place without feeling excessive or insufficient for the domain.
The tool surface provides complete coverage for TOS operations, including full CRUD for buckets and objects, lifecycle management (e.g., delete, list), media-specific functions (image/video info and processing), and utility features like presigned URLs. There are no obvious gaps that would hinder agent workflows in this domain.
Related MCP Connectors
Image, video and audio hosting for agents through MCP, CLI, and API.
Tigris MCP Server seamlessly connects AI agents to Tigris bucket and object management.
Manage Gumlet video, live streams, analytics, and workspaces from an MCP client.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI models to interact with Akave's S3-compatible storage by providing tools for managing storage buckets and objects through standardized Model Context Protocol (MCP).1328 npm3-
- AlicenseBqualityDmaintenanceEnables interaction with Tencent Cloud Object Storage (COS) through MCP protocol. Supports file upload, download, deletion, listing objects, and generating temporary signed URLs for cloud storage management.524 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables interaction with AWS S3 through MCP, supporting bucket and object management, lifecycle configurations, tagging, policies, CORS settings, presigned URLs, and file uploads/downloads.3MIT
- FlicenseBqualityDmaintenanceEnables natural language exploration and management of Volcengine TOS storage, allowing users to list buckets, browse objects, and retrieve file contents. It supports content retrieval for various data types including text, images, and video files.31-