Skip to main content
Glama
MCP Server for Apache OpenDAL™

MCP Server for Apache OpenDAL™

by Xuanwo

Apache OpenDAL™용 모델 컨텍스트 프로토콜 서버

Apache OpenDAL™ 을 통해 다양한 스토리지 서비스에 대한 액세스를 제공하는 MCP(Model Context Protocol) 서버 구현입니다.

PyPI - 버전 PyPI - Python 버전린트 및 테스트

특징

  • S3, Azure Blob Storage, Google Cloud Storage 등 다양한 스토리지 서비스에 원활하게 액세스

  • 저장 서비스의 파일 및 디렉토리 나열

  • 자동 텍스트/바이너리 감지 기능으로 파일 내용 읽기

  • 환경 변수 기반 구성

Related MCP server: Alibaba Cloud DMS MCP Server

설치

지엑스피1

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

그러면 mys3://path/to/file 과 같이 read and list 같은 도구를 사용할 수 있습니다.

mcp-server-opendal 도 .env 에서 로드됩니다.

개발

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

Available Tools

3 tools
get_infoB
Get metadata of file in OpenDAL service

Args:
    uri: resource URI, e.g. mys3://path/to/file

Returns:
    File metadata information

Inputs: uri (required).

listB
List files in OpenDAL service

Args:
    uri: resource URI, e.g. mys3://path/to/dir

Returns:
    String containing directory content

Inputs: uri (required).

readB
Read file content from OpenDAL service

Args:
    uri: resource URI, e.g. mys3://path/to/file

Returns:
    File content or error information

Inputs: uri (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_info retrieves metadata, list lists directory contents, and read reads file content. There is no overlap between them.

    Naming Consistency4/5

    Tools follow a verb_noun pattern (get_info, list, read), but 'list' and 'read' lack a noun component, which is a minor inconsistency. Overall, the naming is predictable.

    Tool Count2/5

    With only 3 tools, the server covers only read operations, which is too few for a full-featured storage abstraction like OpenDAL. Many essential operations (create, delete, update) are missing.

    Completeness2/5

    The tool surface is severely incomplete for the stated purpose. It only provides read and listing capabilities, leaving out write, delete, and other management operations required for a storage server.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables large language models to upload files directly to Alibaba Cloud Object Storage Service (OSS), supporting multiple OSS configurations and specified upload directories.
      6 npm
      7
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that bridges MCP clients with local LLM services, enabling seamless integration with MCP-compatible applications through standard tools like chat completion, model listing, and health checks.
      -