对象存储服务MCP

by FunnyPuppet

337 downloads
Not rated
GitHub

About

MCP server for object storage, supporting a range of operations for object storage

Details

Author
FunnyPuppet
Downloads
337
Categories
Other, File Management

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name 对象存储服务MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with uv sync, then configure the server in an MCP client by adding

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "\u5bf9\u8c61\u5b58\u50a8\u670d\u52a1mcp": {
            "bilibili": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/your-project-path/src/s3-server",
                    "run",
                    "server.py"
                ],
                "env": {
                    "ENDPOINT": "endpoint",
                    "ACCESS_KEY_ID": "your access key",
                    "ACCESS_KEY_SECRET": "your access secret"
                }
            }
        }
    }
}

McpServers

{
    "bilibili": {
        "command": "uv",
        "args": [
            "--directory",
            "/your-project-path/src/s3-server",
            "run",
            "server.py"
        ],
        "env": {
            "ENDPOINT": "endpoint",
            "ACCESS_KEY_ID": "your access key",
            "ACCESS_KEY_SECRET": "your access secret"
        }
    }
}

对象存储服务MCP

用于对象存储的MCP(模型上下文协议)服务器,支持对象存储的一系列操作

环境要求

Python >= 3.11

使用方法

1、拉取本项目到本地

2、安装依赖

uv sync

3、在mcp客户端中配置server

{
  "mcpServers": {
    "bilibili": {
      "command": "uv",
      "args": [
        "--directory",
        "/your-project-path/src/s3-server",
        "run",
        "server.py"
      ],
      "env": {
        "ENDPOINT": "endpoint",
        "ACCESS_KEY_ID": "your access key",
        "ACCESS_KEY_SECRET": "your access secret"
      }
    }
  }
}

支持操作

list-buckets

列出所有桶

exists-bucket

判断桶是否存在

create-bucket

创建一个新的桶

delete-bucket

删除桶

list-objects

查询桶下面的对象

get-object

获取对象,保存到本地文件

put-object

上传本地文件到桶中

delete-object

删除对象

  • get-object-metadata
获取对象元数据
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.