ChipCloud MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_TRANSPORT | No | Transport mode: stdio or streamable-http. | stdio |
| CHIPCLOUD_HOST | No | ChipCloud IP or domain. Required when independent service Base URLs are not set. | |
| CHIPCLOUD_TOKEN | No | Static Bearer Token, alternative to account/password login. | |
| CHIPCLOUD_ACCOUNT | No | Login account used with password for automatic login refresh. | |
| CHIPCLOUD_PASSWORD | No | Plaintext password, encrypted at runtime with AES-CBC. | |
| MCP_STATELESS_HTTP | No | Enable stateless mode for Kubernetes multi-replica load balancing. | true |
| CHIPCLOUD_CA_BUNDLE | No | Path to a private CA certificate bundle. | |
| CHIPCLOUD_LOGIN_TYPE | No | Login type: LOCAL, AD, LDAP, or NIS. | LOCAL |
| CHIPCLOUD_LOG_FORMAT | No | Log format, such as text or JSON. | |
| CHIPCLOUD_VERIFY_SSL | No | Enable or disable TLS verification. | true |
| MCP_SERVER_AUTH_TOKEN | No | Inbound Bearer Token protecting the Streamable HTTP /mcp endpoint. | |
| CHIPCLOUD_ADMIN_BASE_URL | No | Override Base URL for the admin/login/job service. | http://<host>:18083 |
| CHIPCLOUD_MONITOR_BASE_URL | No | Override Base URL for the monitor service. | http://<host>:18090 |
| CHIPCLOUD_CONFIGURE_BASE_URL | No | Override Base URL for the queue configuration service. | http://<host>:18082 |
| CHIPCLOUD_DEFAULT_CLUSTER_ID | No | Optional default clusterId automatically used when omitted from tool calls. | |
| CHIPCLOUD_PASSWORD_ENCRYPTED | No | AES-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。 使用建议:
若未知目标集群 clusterId,请先调用
list_clusters获取纳管集群清单。日常巡检或全局排查请优先调用复合工具
get_cluster_health_summary;定位作业排队原因请优先调用diagnose_pending_jobs。所有工具均为只读查询(readOnly),可安全重复调用;状态枚举释义可查阅资源
chipcloud://reference/enums。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_auth_statusA | 检查芯片云平台认证连通性、License 状态(hasLicense / remainNum)与 Token 有效期。 |
| list_clustersA | 查询芯片云纳管的集群列表,返回 clusterId、调度器类型(如 zscheduler)、主节点 IP 与纳管状态。 |
| list_active_jobsB | 分页查询芯片云集群中的活动作业列表(运行中、排队中、挂起中等)。 |
| get_active_job_detailA | 查询单个活动作业的详细信息,包含命令行、资源需求、进程 PIDs、峰值 CPU/内存、排队原因(pendReason)与挂起原因(suspReason)。 |
| list_history_jobsA | 分页查询芯片云历史作业列表,支持队列、用户、项目、状态、内存/运行时长以及时间区间过滤。 |
| get_history_job_detailA | 查询单条历史作业的详细信息,包括退出码/退出原因、排队与运行时长、峰值/平均内存与 CPU 指标等。 |
| list_queue_namesB | 查询指定集群下的所有队列名称列表。 |
| list_queue_resourcesA | 查询队列的计算节点数、CPU/内存利用率、总/已用/排队作业槽数及平均排队时长。 |
| list_queue_configsA | 查询队列的调度配置与配额限制,包括队列状态(Open:Active 等)、调度策略、优先级、QJOB/UJOB/HJOB/PJOB_LIMIT 以及内存/Swap 阈值。 |
| list_node_resourcesB | 查询集群节点的实时 CPU/内存/磁盘/网络负载、作业槽占用、调度核心进程存活状态(processList)、SSH/VNC 会话数及节点健康状态。 |
| get_cluster_health_summaryA | 并发聚合集群元数据、节点监控、队列资源与队列配置,一次性输出集群健康全景报告。 |
| diagnose_pending_jobsA | 自动抓取 PEND 排队作业并并发查询作业详情,聚合 pendReason 根因分布、关联队列配额限制与节点状态。 一步定位「为什么作业一直在排队」,省去人工逐个查看 getJobDetail 和 queueList。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| cluster_inspection_report | 生成指定芯片云集群的健康巡检报告(节点状态、资源水位、队列排队压力与风险建议) |
| troubleshoot_job | 系统排查指定活动或历史作业的排队原因、挂起状态或异常退出问题 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| chipcloud_enums | 登录类型、集群类型、作业状态、队列状态与节点状态的完整枚举取值及中文释义 |
| chipcloud_clusters | 实时获取芯片云纳管的所有集群元数据列表 |
TDQS
Scored across 12 tools
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.
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.
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.
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.