Skip to main content
Glama

TOS MCP Server

by jneless

火山引擎 对象存储 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 # 如果使用 bash

2. 方式一:直接从 GitHub 使用(推荐,无需克隆)

使用 uvx 可以直接从 GitHub 运行,无需克隆仓库:

# 直接运行(会自动从 GitHub 下载和安装) uvx --from git+https://github.com/jneless/tos-mcp.git tos-mcp-server

3. 方式二:克隆到本地使用

如果需要修改代码或本地开发:

# 克隆项目 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"

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: 火山引擎访问密钥 ID

  • TOS_SECRET_KEY: 火山引擎访问密钥 Secret

  • TOS_REGION: TOS 服务区域(如 cn-beijing)

  • TOS_ENDPOINT: TOS 服务端点(可选,如果不设置会根据 region 自动生成)

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

Deploy Server
-
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. macOS 从零开始配置
    2. 环境变量配置
  2. MCP 配置
    1. 方式一:直接从 GitHub 安装(推荐,无需克隆仓库)
    2. 环境变量配置说明
  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.
        • 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 -
          31
          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
          52
          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