MCP Server for Apache OpenDAL™

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Supports loading configuration from .env files for easier setup of storage service connections.

  • Provides integration with Apache OpenDAL™, enabling access to various storage services through a unified interface.

  • Enables listing files, reading file contents, and retrieving metadata from Google Cloud Storage through the OpenDAL interface.

Apache OpenDAL™ 的模型上下文协议服务器

模型上下文协议 (MCP) 服务器实现,通过Apache OpenDAL™提供对各种存储服务的访问。

特征

  • 无缝访问多种存储服务,包括 S3、Azure Blob Storage、Google Cloud Storage 等
  • 列出存储服务中的文件和目录
  • 使用自动文本/二进制检测读取文件内容
  • 基于环境变量的配置

安装

pip install mcp-server-opendal

与 Claude Desktop 一起使用

将以下内容添加到claude_desktop_config.json

{ "mcpServers": { "opendal": { "command": "uvx", "args": [ "mcp-server-opendal" ], "env": { "YOUR_ENV_VAR": "YOUR_ENV_VALUE" } } } }

它需要在你的机器上安装uv 。查看官方文档获取安装指南。

环境变量

通过设置环境变量来配置存储服务。每个服务都需要一个前缀和特定的配置选项。

例如,要配置别名为“mys3”的 S3 服务:

OPENDAL_MYS3_TYPE=s3 OPENDAL_MYS3_BUCKET=mybucket OPENDAL_MYS3_REGION=us-east-1 OPENDAL_MYS3_ENDPOINT=http://localhost:9000 OPENDAL_MYS3_ACCESS_KEY_ID=myaccesskey OPENDAL_MYS3_SECRET_ACCESS_KEY=mysecretkey

然后,您可以使用诸如readlist类的工具以及mys3://path/to/file

mcp-server-opendal也将从.env加载。

发展

npx @modelcontextprotocol/inspector \ uv run mcp-server-opendal

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

模型上下文协议服务器,通过 Apache OpenDAL™ 提供对多种存储服务(包括 S3、Azure Blob Storage 和 Google Cloud Storage)的无缝访问。

  1. Features
    1. Installation
      1. Usage with Claude Desktop
        1. Environment variables
          1. Development
            ID: pwpk8kdcom