by dinghuazhou
Provides powerful query capabilities for TOS, enabling natural language exploration and retrieval of stored content, improving data access intuitiveness and efficiency.
Tos Mcp Server integrates with Volcengine TOS to expose storage resources as searchable entities. It allows users to list buckets, enumerate objects within a bucket, and fetch object contents (text or Base64‑encoded binary) through natural‑language prompts, turning raw storage into an intelligent knowledge base.
VOLCENGINE_ACCESS_KEY
, VOLCENGINE_SECRET_KEY
, VOLCENGINE_REGION
, TOS_ENDPOINT
, and optionally SECURITY_TOKEN
and TOS_BUCKETS
in a .env
file.uv
. After installing uv
, run uv sync
to install all packages and uv build
to compile the server.uvx
:{
"mcpServers": {
"tos-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_tos", "mcp-server-tos"]
}
}
}
Alternatively, add a uv
command entry to your local MCP settings as described in the README.
4. Interact via supported platforms – the server can be invoked from Ark, Python SDKs, or Cursor, using the defined tools (list_buckets
, list_objects
, get_object
).
uv
?
A: No, uv sync
will resolve all dependencies defined in the project.list_objects
return per request?
A: Up to 1,000 objects; use pagination tokens for larger sets.TOS_BUCKETS
environment variable with a comma‑separated list.TOS 官方推出的 MCP Server 提供强大的查询能力,支持通过自然语言便捷地探索和检索 TOS 中存储的内容,提升了数据访问的直观性与效率。可以与火山引擎云产品 MCP 组合,助力构建更智能的业务应用场景。
版本 | v0.2.0 |
---|---|
描述 | 基于 MCP 管理 TOS 资源,智能化探索数据 |
分类 | 存储 |
标签 | 搜索,视频,图片,文本 |
本 MCP Server 产品提供以下 Tools (工具/能力):
SaaS
该工具允许您便捷查看火山引擎TOS的存储桶列表。
输入:
{
"inputSchema": {
"type": "object",
"required": [],
"properties": {}
},
"name": "list_buckets",
"description": "查询您账号下拥有的所有存储桶的列表。"
}
输出:
列举火山引擎 TOS 的存储桶列表。
SaaS
该工具允许您便捷查看火山引擎TOS桶下的对象列表,每次请求都会返回存储桶中的部分或全部对象(最多 1000 个)。您可以使用请求参数作为选择条件,返回存储桶中对象的子集。
输入:
{
"inputSchema": {
"type": "object",
"required": [
"bucket"
],
"properties": {
"bucket": {
"type": "string",
"description": "用户指定的存储桶名称"
},
"prefix": {
"type": "string",
"description": "可选的对象前缀"
},
"start_after": {
"type": "string",
"description": "列举对象的起始位置。您可以通过指定对象的起始位置分页列举对象"
},
"continuation_token": {
"type": "string",
"description": "指定列举操作从该 Token 开始,通常从上次请求返回的 NextContinuationToken 中获取此 Token"
}
}
},
"name": "list_objects",
"description": "查询您指定存储桶的对象列表"
}
输出:
列举火山引擎 TOS 的 example 桶下的对象。
SaaS
从 TOS 检索对象,需要指定桶名和对象的完整路径。对于文本内容的对象,比如文本文件、CSV 文件等,该工具返回的是其内容。对于图片、视频等二进制对象,该工具返回的是Base64编码的内容。
输入:
{
"inputSchema": {
"type": "object",
"required": [
"bucket",
"key"
],
"properties": {
"bucket": {
"type": "string",
"description": "用户指定的存储桶名称"
},
"key": {
"type": "string",
"description": "用户需要读取的对象名,需要指定完整的对象名"
}
}
},
"name": "get_object",
"description": "获取指定对象的内容,对于文本内容的对象,比如文本文件、CSV 文件等,该工具返回的是其内容。对于图片、视频等二进制对象,该工具返回的是Base64编码的内容。"
}
输出:
读取火山引擎 TOS 桶example下对象名为example.txt的文件内容
方舟,python,cursor
https://console.volcengine.com/tos
火山引擎,从 volcengine 管理控制台获取 volcengine 访问密钥 ID、秘密访问密钥和区域,请在.env文件中设置相关环境变量
以下环境变量可用于配置MCP服务器:
环境变量 | 描述 | 默认值 |
---|---|---|
VOLCENGINE_ACCESS_KEY |
火山引擎账号 ACCESS KEY | - |
VOLCENGINE_SECRET_KEY |
火山引擎账号 SECRET KEY | - |
VOLCENGINE_REGION |
火山引擎 TOS region | - |
TOS_ENDPOINT |
火山引擎 TOS Endpoint | - |
SECURITY_TOKEN |
火山引擎 Security Token,可选 | - |
TOS_BUCKETS |
指定访问的 TOS 桶,可选 | - |
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
uv sync
uv build
When using uv
no specific installation is needed. We will
use uvx
to directly run mcp-server-tos.
添加以下配置到你的 mcp settings 文件中
{
"mcpServers": {
"tos-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/src/mcp_server_tos",
"run",
"mcp-server-tos"
]
}
}
}
[示例如下]
[示例如下]
{
"mcpServers": {
"tos-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_tos",
"mcp-server-tos"
],
"env": {
"VOLCENGINE_ACCESS_KEY": "your access-key-id",
"VOLCENGINE_SECRET_KEY": "your access-key-secret",
"VOLCENGINE_REGION": "tos region",
"TOS_ENDPOINT": "tos endpoint",
"SECURITY_TOKEN": "your security token",
"TOS_BUCKET": "your specific bucket"
}
}
}
}
volcengine/mcp-server is licensed under the MIT License.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by awslabs
Provides specialized servers that expose AWS capabilities through the Model Context Protocol, enabling AI assistants to retrieve up-to-date documentation, execute API calls, and automate infrastructure workflows directly within development environments.
by cloudflare
Provides a collection of Model Context Protocol servers that enable MCP‑compatible clients to interact with Cloudflare services such as Workers, Observability, Radar, and more, allowing natural‑language driven management of configurations, data, and operations.
by Flux159
Connects to a Kubernetes cluster and offers a unified MCP interface for kubectl, Helm, port‑forwarding, diagnostics, and non‑destructive read‑only mode.
by TencentEdgeOne
Deploy HTML, folders, or zip archives to EdgeOne Pages and instantly obtain a public URL for fast edge delivery.
by rishikavikondala
Provides Model Context Protocol tools for performing AWS S3 and DynamoDB operations, with automatic logging and audit access via the `audit://aws-operations` endpoint.
by confluentinc
Enables AI assistants to manage Confluent Cloud resources such as Kafka topics, connectors, and Flink SQL statements through natural‑language interactions.
by aliyun
Enables AI assistants to operate Alibaba Cloud resources such as ECS, Cloud Monitor, OOS and other services through seamless integration with Alibaba Cloud APIs via the Model Context Protocol.
by aws-samples
Retrieve PDF documents and other S3 objects through Model Context Protocol resources, enabling LLMs to pull data directly from AWS S3 buckets.
by kocierik
Connects to HashiCorp Nomad and exposes Model Context Protocol endpoints for job, deployment, node, allocation, variable, volume, ACL, Sentinel, and cluster management via a Go‑based server.