内容
# Azure Blob Storage MCP 服务器
本项目提供一个MCP服务器,用于使用MCP协议与Azure Blob Storage交互。您可以将此服务器连接到Claude Desktop等客户端,以实现对Azure Blob Storage资源的自然语言访问。
## 快速入门
### 1. 克隆仓库
```bash
git clone https://github.com/your-username/azure-blob-storage-mcp-server.git
cd azure-blob-storage-mcp-server
```
### 2. 配置 AI 代理
- 在您的 AI 代理设置中添加以下内容
```json
"Azure-Blob-Storage-MCP-Server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"azure-storage-blob",
"--with",
"azure-identity",
"mcp",
"run",
"{path/to/where/you/cloned/the/repository}azure-blob-storage-mcp-server/server/main.py"
]
}
```
## 注意事项
- 确保您的 Azure 凭证有效,并且可以访问目标存储帐户。(在终端中运行 `az login`)
- 确保您对访问的存储帐户/容器/Blob具有读写权限
- 如果从其他设备连接,可能需要调整防火墙或网络设置。
- 有关MCP协议或Claude Desktop的更多信息,请参阅它们各自的文档。