Cover image
Try Now
2025-04-14

3 years

Works with Finder

1

Github Watches

1

Github Forks

2

Github Stars

Sample TOS Model Context Protocol Server

An MCP server implementation for retrieving data from TOS.

Features

Tools

  • list_buckets
    • Returns a list of all buckets owned by the authenticated sender of the request
  • list_objects
    • Returns some or all (up to 1,000) of the objects in a bucket with each request
  • get_object
    • Retrieves an object from volcengine TOS. In the GetObject request, specify the full key name for the object. General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported

Configuration

The server requires the following environment variables to be set:

  • VOLC_ACCESSKEY: Required, The access key for the VolcEngine.
  • VOLC_SECRETKEY: Required, The secret key for the VolcEngine.
  • REGION: Required, The region for the TOS service.
  • TOS_ENDPOINT: Required, The endpoint for the TOS service.
  • SECURITY_TOKEN: Optional, The security token for the credential.
  • TOS_BUCKETS: Optional, If you want to use a specific bucket, you need to set this.

You can set these environment variables in your shell.

MCP Settings Configuration

To add this server to your MCP configuration, add the following to your MCP settings file:

{
  "mcpServers": {
    "tos-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src/mcp_server_tos",
        "run",
        "main.py"
      ]
    }
  }
}

or

{
    "mcpServers": {
        "tls": {
            "command": "uvx",
            "args": [
                "--from",
                "git+https://github.com/volcengine/ai-app-lab#subdirectory=mcp/server/mcp_server_tos",
                "mcp-server-tos"
            ],
            "env": {
                "VOLC_ACCESSKEY": "your ak",
                "VOLC_SECRETKEY": "your sk",
                "REGION": "tos region",
                "TOS_ENDPOINT": "tos endpoint",
                "SECURITY_TOKEN": "your security token",
                "TOS_BUCKET": "your specific bucket"
            }
        }
    }
}

Usage

Running the Server

# Run the server with stdio transport (default)
tos-mcp-server

License

This library is licensed under the MIT-0 License. See the LICENSE file.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    5 (1)
    Avatar
    user_Hsn5bvPl
    2025-04-15

    I've been using my-mcp-servers by msasaki666 for a few months now, and it's been a game changer! The server performance is rock solid, and I haven't experienced any downtime. The documentation is clear, and setting it up was a breeze. Highly recommend for anyone needing reliable server solutions! Check it out here: https://mcp.so/server/my-mcp-servers/msasaki666