# sample-mcp-server-tos

> MCP Server

This repository provides an MCP server implementation for retrieving data from Volcengine TOS, exposing data through Resources like PDF documents. It offers tools for listing buckets/objects and retrieving objects, requiring

## Overview

- **Category:** AI
- **Language:** Python
- **Stars:** 1
- **Forks:** 0
- **Owner:** dinghuazhou
- **GitHub:** https://github.com/dinghuazhou/sample-mcp-server-tos
- **Created:** 2025-03-12T13:04:08+00:00
- **Updated:** 2025-03-26T14:42:08+00:00
- **Source:** https://model-context-protocol.com/servers/mcp-server-volcengine-tos-data-retrieval

## Setup

## Setup

1.  Obtain volcengine access key ID, secret access key, and region from the volcengine Management Console and configure credentials files using **Default** profile.
2.  Ensure these credentials have appropriate permission READ/WRITE  permissions for TOS.
3.  Configure Claude Desktop by modifying the `claude_desktop_config.json` file, the location of which depends on the OS.
4.  For Development/Unpublished Servers, use the provided JSON configuration with the `uv` command.
5.  For Published Servers, use the provided JSON configuration with the `uvx` command.

## Tools

## Available Tools

1.  Resources (Expose volcengine TOS Data through Resources, currently only PDF documents supported and limited to 1000 objects).
2.  ListBuckets (Returns a list of all buckets owned by the authenticated sender of the request).
3.  ListObjectsV2 (Returns some or all (up to 1,000) of the objects in a bucket with each request).
4.  GetObject (Retrieves an object from volcengine TOS, supporting both virtual-hosted-style and path-style requests).
