MCP ExplorerExplorer

Mcp Server Opendal

@Xuanwoon a year ago
29 Apache-2.0
FreeCommunity
AI Systems
"Model Context Protocol Server for Apache OpenDAL™"

Overview

What is Mcp Server Opendal

mcp-server-opendal is a Model Context Protocol Server implementation that enables access to various storage services through Apache OpenDAL™.

Use cases

Use cases for mcp-server-opendal include data management across different cloud storage platforms, integrating various storage solutions into applications, and simplifying file access and manipulation in a unified manner.

How to use

To use mcp-server-opendal, install it via pip and configure your storage services by setting environment variables. Each service requires a specific prefix and configuration options. You can then use commands like ‘read’ and ‘list’ with the configured service.

Key features

Key features include seamless access to multiple storage services (such as S3, Azure Blob Storage, Google Cloud Storage), the ability to list files and directories, read file contents with automatic text/binary detection, and environment variable-based configuration.

Where to use

undefined

Content

Model Context Protocol Server for Apache OpenDAL™

A Model Context Protocol (MCP) server implementation that provides access to various storage services via Apache OpenDAL™.

PyPI - Version
PyPI - Python Version
Lint and Test

Features

  • Seamless access to multiple storage services including S3, Azure Blob Storage, Google Cloud Storage, and more
  • List files and directories from storage services
  • Read file contents with automatic text/binary detection
  • Environment variable based configuration

Installation

pip install mcp-server-opendal

Usage with Claude Desktop

Add the following to claude_desktop_config.json:

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

It requires uv to be installed on your machine. Check the official documentation for installation guides.

Environment variables

Configure storage services by setting environment variables. Each service requires a prefix and specific configuration options.

For example, to configure an S3 service with alias “mys3”:

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

Then you can use tool like read and list with mys3://path/to/file.

mcp-server-opendal will also load from .env.

Development

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers