Andon SOP MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MES_CONFIG_PATH | Yes | Absolute path to the MES configuration file (mes-config.json) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| likeSelectMaterielListA | 按 MES 表单配置动态分页查询物料列表。会先读取 Materiel 表单字段配置,构建查询参数,查询 /materiel/queryPageMap,并使用数据字典翻译展示值。调用 uploadSop 前可先用本工具查询物料,并从返回的 Work Buddy 查询上下文中读取记录 id 作为 materielId。 |
| selectCategoryTreeListB | 查询 SOP 分类树并扁平化展示。展示给用户时只显示层级和分类名称;Work Buddy 可从结果中的选择数据读取 id 作为 esopCategoryId。 |
| querySopListA | 分页查询 SOP 列表。会先调用 /form/initFieldData 读取 ESOPAttachment 表单字段配置,再调用 /esopAttachment/queryPageMap 查询分页数据,并使用数据字典翻译展示值。返回的 Work Buddy 查询上下文会包含每条记录的 id,方便后续按 SOP 记录继续操作。 |
| queryWorkstationListA | 查询工位机列表。会读取 AndonSysUser 表单配置,查询 /user/queryPageMap,并固定带上 accountType=1。返回的 Work Buddy 查询上下文会包含每条工位机记录的 id,方便后续选择工位机。 |
| queryProductionTaskListA | 分页查询生产任务列表。会先调用 /form/initFieldData 读取 ProductionTask 表单字段配置,再调用 /productionTask/queryPageMap 查询分页数据,并使用数据字典翻译展示值。返回的 Work Buddy 查询上下文会包含每条记录的 id,方便后续按生产任务记录继续操作。 |
| queryAbnormalDrawingListA | 分页查询SOP异常图纸列表。会先调用 /form/initFieldData 读取 AbnormalDrawing 表单字段配置,再调用 /attachment/queryPageMap 查询分页数据;分页查询 className 固定为 Attachment,并固定传入 fileType=abnormalDrawing。返回的 Work Buddy 查询上下文会包含每条记录的 id,方便后续选择异常图纸记录继续操作。 |
| previewSopFileA | 预览 SOP 文件异常标注点图片。调用本工具前应先调用 queryAbnormalDrawingList 查询 SOP 异常图纸/异常标注点列表,并让用户选择要查看的记录 id。本工具会访问 /attachment/getMapById,根据返回实体中的文件路径字段拼接前端可访问的图片 URL。 |
| auditProductionTaskA | 批量下达生产任务,调用 /productionTask/audit。调用本工具前必须先调用 queryProductionTaskList 查询生产任务并让用户选择要下达的任务。只有 checkStatus 为 0(未下达)的生产任务允许下达;其他状态不能下达。本工具会在下达前校验每个生产任务的 checkStatus。 |
| reverseAuditProductionTaskA | 批量反下达生产任务,调用 /productionTask/reverseAudit。调用本工具前必须先调用 queryProductionTaskList 查询生产任务并让用户选择要反下达的任务。只有 checkStatus 为 1(已下达)的生产任务允许反下达;其他状态不能反下达。本工具会在反下达前校验每个生产任务的 checkStatus。 |
| dispatchToStationA | 将一个或多个 SOP 派发到工位机。调用本工具前必须先调用 querySopList 查询并选择 SOP,ids 来自 SOP 记录 id;还必须先调用 queryWorkstationList 查询并选择工位机,stationId 和 stationName 必须来自同一条工位机记录。本工具支持批量派发,会把多个 SOP id 用英文逗号拼接为 ids。 |
| uploadSopB | 上传 SOP 文件到 MES 系统。只有在所有参数齐全后才能调用。 |
| saveCategoryA | 新增 SOP 分类。调用前应先使用 selectCategoryTreeList 查询分类树,让用户选择父分类;将选择数据中的 id 作为 parentId。未传 parentId 时默认创建到 ROOT。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/guansuian/sop-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server