内容
# @theyahia/yandex-cloud-mcp
用于管理 Yandex Cloud 基础设施的 MCP 服务器 -- 计算虚拟机、对象存储、 函数、操作。**8**
[](https://www.npmjs.com/package/@theyahia/yandex-cloud-mcp)
[](https://opensource.org/licenses/MIT)
[Russian API MCP](https://github.com/theYahia/russian-mcp)(50 个服务器)系列的一部分,由 [@theYahia](https://github.com/theYahia) 维护。
## 安装
### Claude Desktop
{
"mcpServers "yandex-cloud": {
"command": "npx",
"args": ["-y", "@theyahia/yandex-cloud-mcp"],
"env": { "YANDEX_CLOUD_TOKEN": "您的 IAM 令牌", "YANDEX_CLOUD_FOLDER_ID": "您的文件夹 ID" }
}
}
}
```
### Claude Code
```bashaude mcp add yandex-cloud YANDEX_CLOUD_TOKEN=您的 IAM牌 -e YANDEX_CLOUD_FOLDER_ID=您的文件夹 ID -- npx -y @theyahia/yandex-cloud-mcp
```
### VS Code / Cursor
```json
{ "servers": { "yandex-cloud": { "command": "npx", "args": ["-y", "@theyahia/yandex-cloud-mcp"], "env": { "YANDEX_CLOUD_TOKEN": "您的 IAM 令牌", "YANDEX_CLOUD_FOLDER_ID": "您的文件夹 ID" } } } }
```
> 需要 `YANDEX_CLOUD_TOKEN`(IAM 令牌)和 `YANDEX_CLOUD_FOLDER_ID`。请在 [Yandex Cloud 控制台](https://console.cloud.yandex.ru/) 中获取。
## 工具列表
| 工具 | 描述 |
| --- | --- |
|` | 目录中的虚拟机列表 |
| `get_instance` | 获取 VM 信息 |
| `start_instance` | 启动 VM |
| `stop_instance` | 停止 VM |
| `list_buckets` | 对象存储 |
| `list_functions` | Serverless 函数列表 |
| `invoke_function` | 调用 Serverless 函数 |
| `get_operation` | 检查操作状态 |
## 演示提示
```
显示我目录中的所有虚拟机
获取 VM epd1234567890 的信息
启动虚拟机 epd1234567890
停止 VM epd1234567890
显示所有对象存储桶
显示所有 Serverless 函数
调用函数 d4e1234567890,参数为 {"keyvalue"}
检查操作 abcdef123456 的状态
```
## 许可证
MIT