Skip to main content
Glama
ChipCloud MCP Server

ChipCloud MCP Server

by bystone84

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TRANSPORTNoTransport mode: stdio or streamable-http.stdio
CHIPCLOUD_HOSTNoChipCloud IP or domain. Required when independent service Base URLs are not set.
CHIPCLOUD_TOKENNoStatic Bearer Token, alternative to account/password login.
CHIPCLOUD_ACCOUNTNoLogin account used with password for automatic login refresh.
CHIPCLOUD_PASSWORDNoPlaintext password, encrypted at runtime with AES-CBC.
MCP_STATELESS_HTTPNoEnable stateless mode for Kubernetes multi-replica load balancing.true
CHIPCLOUD_CA_BUNDLENoPath to a private CA certificate bundle.
CHIPCLOUD_LOGIN_TYPENoLogin type: LOCAL, AD, LDAP, or NIS.LOCAL
CHIPCLOUD_LOG_FORMATNoLog format, such as text or JSON.
CHIPCLOUD_VERIFY_SSLNoEnable or disable TLS verification.true
MCP_SERVER_AUTH_TOKENNoInbound Bearer Token protecting the Streamable HTTP /mcp endpoint.
CHIPCLOUD_ADMIN_BASE_URLNoOverride Base URL for the admin/login/job service.http://<host>:18083
CHIPCLOUD_MONITOR_BASE_URLNoOverride Base URL for the monitor service.http://<host>:18090
CHIPCLOUD_CONFIGURE_BASE_URLNoOverride Base URL for the queue configuration service.http://<host>:18082
CHIPCLOUD_DEFAULT_CLUSTER_IDNoOptional default clusterId automatically used when omitted from tool calls.
CHIPCLOUD_PASSWORD_ENCRYPTEDNoAES-CBC+Base64 encrypted password. Alternative to CHIPCLOUD_PASSWORD.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

ChipCloud (芯片云) HPC 调度与监控 MCP Server。 使用建议:

  1. 若未知目标集群 clusterId,请先调用 list_clusters 获取纳管集群清单。

  2. 日常巡检或全局排查请优先调用复合工具 get_cluster_health_summary;定位作业排队原因请优先调用 diagnose_pending_jobs。

  3. 所有工具均为只读查询(readOnly),可安全重复调用;状态枚举释义可查阅资源 chipcloud://reference/enums。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_auth_statusA

检查芯片云平台认证连通性、License 状态(hasLicense / remainNum)与 Token 有效期。

    对应芯片云 API: GET /v1/admin/inner/login(端口 18083)。
    不会暴露任何明文密码或 Bearer Token。
    
list_clustersA

查询芯片云纳管的集群列表,返回 clusterId、调度器类型(如 zscheduler)、主节点 IP 与纳管状态。

    对应芯片云 API: GET /manageCluster(端口 18083)。
    建议在调用作业、队列或节点查询工具前先调用本工具获取目标集群的 clusterId。
    
list_active_jobsB

分页查询芯片云集群中的活动作业列表(运行中、排队中、挂起中等)。

    对应芯片云 API: GET /cluster/getJob(端口 18083)。
    
get_active_job_detailA

查询单个活动作业的详细信息,包含命令行、资源需求、进程 PIDs、峰值 CPU/内存、排队原因(pendReason)与挂起原因(suspReason)。

    对应芯片云 API: GET /cluster/getJobDetail(端口 18083)。
    
list_history_jobsA

分页查询芯片云历史作业列表,支持队列、用户、项目、状态、内存/运行时长以及时间区间过滤。

    对应芯片云 API: POST /jobInfo/jobHistoryPageNew(端口 18083)。
    返回记录中的 id 与 endTime 可用于调用 get_history_job_detail 查看完整历史详情。
    
get_history_job_detailA

查询单条历史作业的详细信息,包括退出码/退出原因、排队与运行时长、峰值/平均内存与 CPU 指标等。

    对应芯片云 API: GET /jobInfo/getJobHistoryDetailNew(端口 18083)。
    
list_queue_namesB

查询指定集群下的所有队列名称列表。

    对应芯片云 API: GET /monitor-service/queue/listQueueNames(端口 18090)。
    
list_queue_resourcesA

查询队列的计算节点数、CPU/内存利用率、总/已用/排队作业槽数及平均排队时长。

    对应芯片云 API: POST /monitor-service/queue/listQueueResource(端口 18090)。
    
list_queue_configsA

查询队列的调度配置与配额限制,包括队列状态(Open:Active 等)、调度策略、优先级、QJOB/UJOB/HJOB/PJOB_LIMIT 以及内存/Swap 阈值。

    对应芯片云 API: GET /configure/queue/queueList(端口 18082)。
    
list_node_resourcesB

查询集群节点的实时 CPU/内存/磁盘/网络负载、作业槽占用、调度核心进程存活状态(processList)、SSH/VNC 会话数及节点健康状态。

    对应芯片云 API: POST /monitor-service/node/listNodeResource(端口 18090)。
    
get_cluster_health_summaryA

并发聚合集群元数据、节点监控、队列资源与队列配置,一次性输出集群健康全景报告。

    适用于日常巡检、故障定位与容量评估,自动识别:
    - 异常/不可达/宕机/进程异常节点(unavail / unreach / closed_Loadmgr / process status != 1)
    - 高负载节点(CPU / 内存 / 磁盘 / 作业槽 >= 阈值)
    - 处于关闭或灭活状态的队列以及排队压力最大的队列
    支持部分降级:若某个子服务短暂不可用,仍返回其余维度并记录 warnings。
    
diagnose_pending_jobsA

自动抓取 PEND 排队作业并并发查询作业详情,聚合 pendReason 根因分布、关联队列配额限制与节点状态。

一步定位「为什么作业一直在排队」,省去人工逐个查看 getJobDetail 和 queueList。

Prompts

Interactive templates invoked by user choice

NameDescription
cluster_inspection_report生成指定芯片云集群的健康巡检报告(节点状态、资源水位、队列排队压力与风险建议)
troubleshoot_job系统排查指定活动或历史作业的排队原因、挂起状态或异常退出问题

Resources

Contextual data attached and managed by the client

NameDescription
chipcloud_enums登录类型、集群类型、作业状态、队列状态与节点状态的完整枚举取值及中文释义
chipcloud_clusters实时获取芯片云纳管的所有集群元数据列表

TDQS

A3.8/5.0

Scored across 12 tools

Disambiguation4/5

Most tools have clearly distinct resource/action targets: clusters, queue names, queue resources, queue configs, active jobs, history jobs, node resources, auth, and two aggregate diagnosis tools. The main overlap is between granular tools and the composite tools get_cluster_health_summary and diagnose_pending_jobs, which intentionally re-aggregate data from list_node_resources, list_queue_resources, list_queue_configs, and job detail tools. Descriptions make the intended distinction clear, but an agent may still hesitate between calling a summary tool versus the underlying detailed tools.

Naming Consistency5/5

All 12 names use consistent snake_case with predictable verb_noun phrasing: list_*, get_*, check_*, and diagnose_*. Resource nouns are consistently ordered and descriptive, such as list_active_jobs/get_active_job_detail and list_history_jobs/get_history_job_detail. No mixed casing or wildly inconsistent verb styles are present.

Tool Count5/5

Twelve tools is well within the ideal range for a monitoring-oriented cluster management server. Each tool maps to a meaningful operation, and the two aggregate tools add convenience without bloating the surface excessively. The set is scoped enough to stay navigable while covering several resource types.

Completeness4/5

For a cluster monitoring/inspection server, coverage is strong: clusters, queues, queue resources/configs, active jobs, history jobs, nodes, auth/license status, health summary, and pending-job diagnosis are all present. Minor gaps remain, such as retrieving job logs/output, node-level detail, or project/user-level quota views, and there are no job lifecycle actions like submit/cancel/hold. These gaps are workable for a monitoring-focused surface but prevent full lifecycle completeness.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues