Skip to main content
Glama

TOS MCP Server

by jneless

火山引擎 对象存储 TOS 非官方 MCP工具

  • TOS 非官方 MCP 工具

快速开始

使用 uv (推荐,更好的可移植性)

安装 uv
# Linux/macOS curl -LsSf https://astral.sh/uv/install.sh | sh
克隆项目和安装依赖
git clone <repository-url> cd tos-mcp # 自动安装依赖 uv sync
运行服务器
# 直接运行(推荐) uv run tos-mcp-server # 或者通过模块运行 uv run python -m 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"

config 配置

使用uv方式(推荐)

或者如果项目在用户目录下:

{ "mcpServers": { "tos-mcp-server": { "command": "uv", "args": ["run", "tos-mcp-server"], "cwd": "~/tos-mcp", "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" } } } }

环境变量方式(.env文件)

如果你不想在配置中暴露敏感信息,可以使用.env文件:

  1. 复制并配置环境变量:
cp .env.example .env # 编辑.env文件填入你的配置
  1. 简化的MCP配置:
{ "mcpServers": { "tos-mcp-server": { "command": "uv", "args": ["run", "tos-mcp-server"], "cwd": "~/tos-mcp" } } }

API 测试状态

API 名称功能描述分类测试状态测试环境备注
tos_create_bucket创建存储桶桶管理✅ 已测试Cline-
tos_list_buckets列举存储桶桶管理✅ 已测试Cline-
tos_get_bucket_meta获取存储桶元数据桶管理✅ 已测试Cline-
tos_delete_bucket删除存储桶桶管理✅ 已测试Cline-
tos_put_object上传对象对象管理✅ 已测试Cline-
tos_get_object下载对象对象管理✅ 已测试Cline-
tos_list_objects列举对象对象管理✅ 已测试Cline-
tos_delete_object删除对象对象管理✅ 已测试Cline-
tos_presigned_url生成预签名URL预签名✅ 已测试Cline-
tos_image_process基础图片处理图片处理✅ 已测试Cline回写,并提供 URL 下载
tos_image_info获取图片信息图片处理✅ 已测试Cline-
tos_video_snapshot视频截帧视频处理✅ 已测试Cline-
tos_video_info获取视频信息视频处理✅ 已测试Cline回写,并提供 URL 下载

测试图片

Cline 配置测试

创建bucket

list bucket

删除 bucket

获取 bucket 元数据

生成预签名 url

下载TOS文件 到本地

上传本地文件 到TOS

列举桶内对象

删除文件

获取图片元信息

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

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

TOS 文档

Appendix

  • 本项目参考 https://github.com/dinghuazhou/sample-mcp-server-tos
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables interaction with Volcengine's TOS (Object Storage) service through MCP protocol. Supports bucket management, object operations, pre-signed URLs, and media processing including image manipulation and video frame extraction.

  1. 快速开始
    1. 使用 uv (推荐,更好的可移植性)
    2. 环境变量配置
  2. config 配置
    1. 使用uv方式(推荐)
    2. 环境变量方式(.env文件)
  3. API 测试状态
    1. 测试图片
      1. Cline 配置测试
      2. 创建bucket
      3. list bucket
      4. 删除 bucket
      5. 获取 bucket 元数据
      6. 生成预签名 url
      7. 下载TOS文件 到本地
      8. 上传本地文件 到TOS
      9. 列举桶内对象
      10. 删除文件
      11. 获取图片元信息
      12. 图像处理,并回写,生成 presign url
      13. 视频截帧,并回写,生成 presign url
    2. TOS 文档
      1. Appendix

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          This server provides a standardized framework using the Model Context Protocol (MCP) to seamlessly integrate and manage diverse tools, enabling features like Twitter automation, cryptocurrency updates, and ElizaOS interaction.
          Last updated -
          2
        • -
          security
          A
          license
          -
          quality
          This server implements the Model Context Protocol (MCP) to handle asynchronous tasks with real-time status tracking, robust error handling, and automatic resource management.
          Last updated -
          1
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server that provides tools for managing todo items, including creation, updating, completion, deletion, searching, and summarizing tasks.
          Last updated -
          30
          MIT License
        • A
          security
          F
          license
          A
          quality
          A server based on MCP protocol that allows large language models to directly access Tencent Cloud Object Storage (COS) and Cloud Infinite (CI) services without coding, enabling file storage, retrieval, and processing operations.
          Last updated -
          18
          43
          17

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/jneless/tos-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server