VD

vast-data/vast-admin-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

17 stars 7 forks 质量 79 趋势 35NOASSERTION

VAST 数据集群管理-监测、管理和诊断的MCP服务器

概览

VAST Admin MCP将VAST集群管理操作暴露于MCP可胜任的AI工具(Cursor, Claude Desktop,VS代码,Windsurf). 它为集群和租户管理者工作。 - 列出和监测集群、视图、租户、配额、快照、提醒和硬件 -- -- 性能指标和图表;数据流程图 -- -- 可选 -- -- 读写创建/删除(视图、快照、配额、用户等) -- -- 具有无记名标志或OAuth/OIDC的桌面(Stdio)或网络 -- -- 通过密钥环、env vars或Kubernetes机密 -- -- 通过YAML模板定制列表工具 - 用于YAML模板中的字段转换 - 集群地址(IP、FQDN或URL类似https://host:port)] -- -- 用户名和密码 -- -- 租户(租户,或超级租户使用的租户上下文) 示例 VS 代码条目(~/.vscode/mcp.json): 重新启动 IDE,然后请它列出 VAST 集群 。 添加"-read-write"作为第二个参数("args": ["mcp","-read-write"])来启用创建/删除工具.

概述(AI 翻译)

VAST Admin MCP将VAST集群管理操作暴露于MCP可胜任的AI工具(Cursor, Claude Desktop,VS代码,Windsurf). 它为集群和租户管理者工作。

□ 目录

  • 怎样?
  • 所需经费
  • 快开始
  • 快速实例
  • 安装
  • 配置
  • MCP工具
  • CLI(英语:CLI)
  • 达克
  • 网络部署(HTTP)
  • API 白名单
  • YAML 模板
  • 建筑
  • 社区和支助

它会做什么#

  • 列出和监测集群、观点、租户、配额、快照、警报和硬件
  • 业绩计量和图表;数据流动图
  • 可选 --read-write 创建/删除(视图、快照、配额、用户等)
  • 有无记名标志或OAuth/OIDC的桌面(stdio)或网络(HTTP)
  • 通过密钥环、Env vars或Kubernetes秘密获得证书
  • 通过YAML模板自定义列表工具

□ 要求

  • ** 蟒蛇 3.10+**
  • jq——YAML模板中的实地转换所需

快开始

  1. 安装

QQ 2. 配置集群连接

提示:

  • 集群地址(IP、FQDN或URL类似https://host:port)
  • 用户名和密码
  • 租户(租户,或供超级租户使用的租户背景)
  1. 配置您的AI助手

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

VAST Admin MCP Server

VAST Admin MCP exposes VAST cluster admin operations to MCP-capable AI tools (Cursor, Claude Desktop, VS Code, Windsurf). It works for both cluster and tenant admins.

Table of contents

What it does

  • List and monitor clusters, views, tenants, quotas, snapshots, alerts, and hardware
  • Performance metrics and graphs; dataflow diagrams
  • Optional --read-write create/delete (views, snapshots, quotas, users, and more)
  • Desktop (stdio) or network (HTTP) with bearer token or OAuth/OIDC
  • Credentials via keyring, env vars, or Kubernetes secrets
  • Customize list tools via YAML templates

Requirements

  • Python 3.10+
  • jq — required for field transformations in YAML templates
# macOS
brew install jq

# Ubuntu/Debian
sudo apt-get install jq

# RHEL/CentOS
sudo yum install jq

Quick start

1. Install

pip install vast-admin-mcp

2. Configure cluster connection

vast-admin-mcp setup

Prompts for:

  • Cluster address (IP, FQDN, or URL like https://host:port)
  • Username and password
  • Tenant (tenant admins, or which tenant context to use for super admins)

3. Configure your AI assistant

vast-admin-mcp mcpsetup cursor
# also: claude-desktop | windsurf | vscode

Example VS Code entry (~/.vscode/mcp.json):

{
  "servers": {
    "VAST Admin MCP": {
      "command": "vast-admin-mcp",
      "args": ["mcp"]
    }
  }
}

Restart the IDE, then ask it to list VAST clusters.

Read-write: add "--read-write" as a second arg ("args": ["mcp", "--read-write"]) to enable create/delete tools.

Prompt examples

Inventory and capacity

List all VAST clusters
Show me all tenants on cluster1; for each, the 5 views with the highest used capacity
Show me all quotas configured for tenant tenant1 on cluster cluster1
Are there any critical alerts on my clusters that were not acknowledged?

Performance and dataflow

在 GitHub 查看完整 README

安装

docker run --rm -it \
新手?先看 mcpskill.org 教程 →