Apache OpenDAL™ 的模型上下文协议服务器
模型上下文协议 (MCP) 服务器实现,通过Apache OpenDAL™提供对各种存储服务的访问。
👁 PyPI - 版本
👁 PyPI - Python 版本
👁 Lint 和测试
特征
无缝访问多种存储服务,包括 S3、Azure Blob Storage、Google Cloud Storage 等
列出存储服务中的文件和目录
使用自动文本/二进制检测读取文件内容
基于环境变量的配置
Related MCP server: Alibaba Cloud DMS MCP Server
安装
pip install mcp-server-opendal与 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然后,您可以使用诸如read和list类的工具以及mys3://path/to/file 。
mcp-server-opendal也将从.env加载。
发展
npx @modelcontextprotocol/inspector \
uv run mcp-server-opendalA
license - permissive licenseB
qualityC
maintenanceMaintenance
–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Xuanwo/mcp-server-opendal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
