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 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
Recommend MCP Servers 💡
mcp-google-sheets
This MCP server integrates with your Google Drive and Google Sheets, to enable creating and modifying spreadsheets.
mcp-server-box
An MCP server that integrates with the Box API to provide capabilities for file search, text extraction, AI-based querying, data extraction, and document generation, enabling efficient management and processing of Box data.
azure-cli-mcp
Talk with Azure using MCP
mailjet
Enables AI agents to interact with Mailjet's email marketing APIs (contacts, campaigns, statistics, etc.) through a standardized Model Context Protocol interface.
servicenow-mcp
An MCP server implementation for ServiceNow, enabling Claude to interact with ServiceNow instances through stdio or SSE communication.
@felores/cloudinary-mcp-server
An MCP server enabling media (images, videos) uploads to Cloudinary, designed for integration with Claude Desktop and other MCP clients.