Skip to main content

A Model Context Protocol server providing tools to access storage services for usage by LLMs

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_opendal-0.2.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_opendal-0.2.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_opendal-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_server_opendal-0.2.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_server_opendal-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b7062636b2d1c4b5cd319c962f0cd7f78d30a444feef5c9ae68579df0da2137e
MD5 d33ec7c47d89be03177c141e48a52e59
BLAKE2b-256 9590042b81e09d3de9d178c7e96a2916f38abfadc74f28e7195027c118fdaa38

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_opendal-0.2.0.tar.gz:

Publisher: release.yml on Xuanwo/mcp-server-opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_opendal-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_opendal-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 960c13a82125b1a3391c5443c20e3af27402b16ca4a52116bc9378f830515f07
MD5 df3fff0c988f4c4e728bcfbe97d5fdb6
BLAKE2b-256 8bcb17876bc1474db8fc8910a3089727f4c8bc2c76cbf3072615ca67fd7f3c61

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_opendal-0.2.0-py3-none-any.whl:

Publisher: release.yml on Xuanwo/mcp-server-opendal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page