drio
Open app

Sample TOS Model Context Protocol Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Sample TOS Model Context Protocol Server is an implementation of an MCP server designed to retrieve data from TOS (Volcengine Object Storage).

To use the server, set up your volcengine credentials and configure the server according to the provided instructions. You can then access the server through specified endpoints to retrieve data.

  • Exposes volcengine TOS Data through resources, allowing for data retrieval via GET endpoints. - Supports PDF document retrieval with a limit of 1000 objects. - Provides tools for listing buckets and objects, and retrieving specific objects from TOS.
  1. Retrieving and managing data stored in volcengine TOS.
  2. Integrating TOS data into applications that require access to cloud storage.
  3. Facilitating data access for machine learning models that need context from TOS.

Add to your AI client

Use these steps to connect Sample TOS Model Context Protocol Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "sample-mcp-server-tos-dinghuazhou": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sample-mcp-server-tos-dinghuazhou"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "sample-mcp-server-tos-dinghuazhou": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sample-mcp-server-tos-dinghuazhou"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "sample-mcp-server-tos-dinghuazhou": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sample-mcp-server-tos-dinghuazhou"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "sample-mcp-server-tos-dinghuazhou": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sample-mcp-server-tos-dinghuazhou"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "sample-mcp-server-tos-dinghuazhou": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sample-mcp-server-tos-dinghuazhou"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "sample-mcp-server-tos-dinghuazhou": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sample-mcp-server-tos-dinghuazhou"
      ]
    }
  }
}

FAQ

What types of documents can be retrieved?

Currently, only PDF documents are supported.

How many objects can be retrieved at once?

The server can handle up to 1000 objects per request.

Is there a specific configuration needed for using the server?

Yes, you need to set up volcengine credentials with appropriate permissions.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2467,"uuid":"a8198fb4-162b-4dfd-a658-ea3f85bd0582","name":"sample-mcp-server-tos","title":"Sample TOS Model Context Protocol Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/141308389?v=4","created_at":"$D2025-03-13T08:10:26.241Z","updated_at":"$D2025-03-13T08:12:13.790Z","status":"created","author_name":"dinghuazhou","author_avatar_url":"https://avatars.githubusercontent.com/u/141308389?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/dinghuazhou/sample-mcp-server-tos","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"2\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-04-14 21:42:16\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]