Skip to main content
Glama
JonathanChan-geek

autoshop

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTOSHOP_MFC_PATHNoOptional path to specify for checking mfc90.dll, defaults to auto-detection
AUTOSHOP_INSTALL_DIRYesThe installation directory of AutoShop, e.g., C:\Program Files (x86)\AutoShop

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

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
capabilitiesA

工具清单、支持格式矩阵、限制与原生运行库状态。

project_inspectB

列出工程机型、POU/文件类型、每个文件的 SHA256、支持级别与派生表。

il_readA

读取纯明文 .IL POU 的 IL 源码文本(LF 换行,GBK 解码)。

il_patch_copyB

在不改动源工程的前提下,生成打了唯一匹配文本补丁的新工程副本,并把失效缓存/陈旧产物移入隔离区。

project_diffA

对比两个工程目录:新增/删除/改动文件、IL 文本 diff、配置与索引变化。

package_projectA

打包源码与配置(排除派生表/陈旧编译结果),输出 ZIP 与 SHA256/CRC32 清单。

native_compile_probeA

静态读取 PE 证据/安装目录,报告架构、SHA256 与编译相关导出;不执行 DLL、不假编译。

native_compile_copyA

在全新副本中调用原厂 x86 DLL 编译 H3U IL/LD;校验完整覆盖、稳定产物和配置不变,成功后输出工程 ZIP。无需 GUI,不连接 PLC。

ld_to_il_copyA

调用原厂接口将指定 LD 转成可编辑 IL,仅转换前后编译产物逐字节一致时交付新副本。无需 GUI。

il_to_ld_copyA

原厂 IL 转梯形图;独立回读 IL、清缓存编译并要求机器码一致后交付。

symbols_readA

原厂接口读取全局符号名称、地址、注释;只在工程副本中运行。

symbols_patch_copyA

新增或修改全局符号,独立进程回读并要求前后机器码一致;只交付新副本。

project_searchA

搜索已登记 IL 的字面文本,返回文件、行号和上下文;明确未覆盖的 LD/保护块。

project_xrefA

列出显式软元件地址的指令和读写分类;范围、隐式双字和间接地址不作完整性保证。

project_auditA

静态检查缺失文件、多处 OUT、跨块写入和未知指令;不是运行仿真或逻辑合格证明。

project_exportB

导出 UTF-8 IL 文本、哈希、引用和静态检查 JSON 到新目录,供审查。

il_batch_patch_copyA

一次核对多文件、多处非重叠补丁;成功才发布副本,隔离旧产物并核对其余文件。

project_convert_all_copyA

将工程内全部 LD 依次转成 IL,每次验证机器码等价,最后统一编译交付。

project_build_copyA

可选全部 LD 转换、多文件补丁、原厂编译和打包的一次调用;失败不发布中间工程。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 19 tools

Disambiguation5/5

Each tool has a clearly distinct purpose—read, patch, convert, compile, inspect, etc.—with no overlapping functionality. Even the copy variants are differentiated by their operation (IL-to-LD, LD-to-IL, patch, batch patch, convert-all, build).

Naming Consistency3/5

Names use underscores and lowercase but mix conventions: some are verb-noun (package_project), some noun-verb (project_search), and others are compound phrases (il_batch_patch_copy). The pattern is not uniform but still readable.

Tool Count4/5

19 tools is on the higher side but fits the server's comprehensive scope of PLC code manipulation, offering both granular operations and a combined build tool. The count is justified, though it approaches the heavy range.

Completeness4/5

The toolset covers reading, patching, converting, compiling, inspecting, searching, auditing, exporting, diffing, and packaging. Minor gaps exist (e.g., no delete/restore), but core workflows for IL/LD conversion and patching are fully covered.

Maintenance

ActivityMaintained
ResponsivenessNo issues