Model Context Protocol Server for Apache OpenDAL™
A Model Context Protocol (MCP) server implementation that provides access to various storage services via Apache OpenDAL™.
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 \
--directory . \
run \
mcp-server-opendal
Metadata
Release files for mcp-server-opendal 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_server_opendal-0.1.0.tar.gz | 20.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_opendal-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.9 kB
Release files / mcp_server_opendal-0.1.0.tar.gz
| Download URL | mcp_server_opendal-0.1.0.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43d83c9ee5d189ae83d7079bebe6f821bc75edfdb5642ead7ac4bfd6e1922422
|
|
BLAKE2b-256 checksum How to use checksums |
17cdc624cbc695079ead21398b88a7113abdf80cfe6017a1c3dd68f462628132
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Release files / mcp_server_opendal-0.1.0-py3-none-any.whl
| Download URL | mcp_server_opendal-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2688e5d1a5e99cdebcaf9ed265b2aa43abfc2ea88a274bb6007ae84afa865cc
|
|
BLAKE2b-256 checksum How to use checksums |
1170ad9f8fe7fb90ac29f54edc16525af377d2c08dac32e62ef4831a8b496518
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|