szlcsc-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| szlcsc_searchC | 搜索国内立创商城器件,补国内库存和人民币阶梯价。缺失价格/库存保持 unknown,不当作 0。 |
| szlcsc_parametric_searchB | 参数化选型。constraints 示例:{"output_voltage":"=3.3V","accuracy":"<=0.2%","tempco":"<=20ppm/°C"}。 |
| szlcsc_get_partA | 按 C 编号或明确 MPN 获取国内 SZLCSC 详情、参数、库存、价格、商品页和 Datasheet。 |
| szlcsc_compare_partsA | 并排比较多个明确器件,返回基础字段和同名参数差异;不会自动声明可直接替换。 |
| szlcsc_find_alternativesC | 获取 SZLCSC 替代料候选并排序。结果不是 drop-in 兼容声明。 |
| szlcsc_download_partB | 下载并整理单个器件:part.json、README.md、datasheet.pdf(若可用)和商品图片。 |
| szlcsc_download_partsC | 批量下载并整理多个器件完整资料目录。 |
| szlcsc_sync_datasheetsC | 批量同步 Datasheet 到一个目录并增量维护 manifest.json;适合 BOM/MPN 列表。 |
| szlcsc_eda_assetsC | 下载 EasyEDA 原始 EDA 资产:CAD JSON、符号/封装 SVG、OBJ/STEP(若该器件提供)。 |
| szlcsc_altium_statusB | 检查可选第三方 altium-cruncher 是否已安装,以及 easyeda-import 子命令是否可用。 |
| szlcsc_altium_setupA | 返回 Altium 转换工具链诊断和安全安装/升级命令;本工具本身不会执行安装。 |
| szlcsc_altium_smoke_testB | 实机 Altium 冒烟测试:最多 5 个 C 编号,检查 SchLib/PcbLib/report/可选3D,并可测试合并。 |
| szlcsc_altium_reviewA | 读取已生成的 Altium EasyEDA 导入报告,汇总 pin/pad/3D placement 告警,不修改文件。 |
| szlcsc_altium_importC | 调用本机 altium-cruncher,把指定 C 编号/MPN 的 EasyEDA 数据转换为 Altium SchLib/PcbLib/3D。 |
| szlcsc_altium_import_batchB | 批量调用 altium-cruncher 生成 Altium 库;最多 50 个器件,逐个执行并分别报告失败。 |
| szlcsc_library_statusB | 查看本地 SZLCSC/Altium 器件库索引、分类、重复 MPN/CAD 组和已登记器件。 |
| szlcsc_library_addB | 把器件登记进本地库;C编号保留采购元数据,MPN+封装用于 CAD 去重,可按需生成 Altium 库。 |
| szlcsc_library_syncB | 刷新库内价格、库存、Datasheet 等采购元数据;不会因这些变化重建 CAD,MPN/封装变化会标记复核。 |
| szlcsc_library_mergeB | 按库分类把已登记的独立 SchLib/PcbLib 合并成多器件 Altium 库;共享 CAD 只合并一次。 |
| szlcsc_parse_barcodeA | 解析立创包装袋常见二维码文本(pc=C编号、pm=MPN、qty=数量);lookup=true 时顺便查询器件详情。 |
| szlcsc_healthcheckA | 轻量检查 SZLCSC 搜索接口与本地缓存是否可用;不读取价格库存详情。 |
| szlcsc_cache_statusB | 查看 SQLite 请求缓存;clear=true 清空;prune_days=N 清理 N 天以前缓存。 |
| szlcsc_library_searchA | 离线检索长期器件库,可按型号/品牌/封装/分类/库存/CAD与归档资产筛选。 |
| szlcsc_library_auditB | 只读审计长期器件库:检查 classified/flat、CAD owner、索引与文件完整性。 |
| szlcsc_library_repairA | 安全修复长期器件库;默认 dry-run,只恢复 flat 镜像和 CAD owner/index 一致性,不重新下载或生成 CAD。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 25 tools
Most tools are cleanly separated by domain and action: search, parametric search, get, compare, alternatives, download, Altium import, and library management each have distinct purposes. A few adjacent pairs such as download_parts vs sync_datasheets and library_status vs library_audit require careful description reading, but the boundaries are mostly clear.
All tools share the szlcsc_ prefix and the majority follow a domain_action pattern such as get_part, library_add, and altium_import. A handful of noun-style names like eda_assets, altium_status, and healthcheck prevent the set from being fully uniform.
At 25 tools, the server sits at the upper edge of the heavy range and is larger than typical MCP servers. The count is understandable given the broad scope covering online search, artifact downloads, Altium conversion, and local library management, but it still feels slightly heavy.
The tool set covers the full workflow from online discovery and comparison to datasheet/EDA download, Altium conversion, and long-term local library management with audit and repair. The main gap is lifecycle management: parts can be added, merged, and synced, but there is no explicit tool to remove a part from the library.