5e53ddaa07e1763de6c1b17a82aafa2cb1476d4bsource_git · hyl64/jlcmcp · current release
Observed 2026-08-25T08:28:24.284Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {
"listChanged": true
}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
calc_impedance计算 PCB 走线阻抗,或根据目标阻抗反算线宽。支持微带线/带状线/差分模式Input schema{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"microstrip",
"stripline",
"diff_microstrip",
"diff_stripline"
],
"description": "走线类型"
},
"width": {
"type": "number",
"description": "线宽 (mil),与 targetImpedance 二选一"
},
"targetImpedance": {
"type": "number",
"description": "目标阻抗 (Ω),填此项则反算线宽"
},
"thickness": {
"type": "number",
"description": "铜厚 (mil),默认 1.4 (1oz)"
},
"height": {
"type": "number",
"description": "介质厚度 (mil)"
},
"er": {
"type": "number",
"description": "介电常数,默认 4.3 (FR4)"
},
"spacing": {
"type": "number",
"description": "差分间距 (mil),差分模式必填"
}
},
"required": [
"type",
"height"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
calc_trace_width根据载流要求计算最小走线宽度 (IPC-2221)Input schema{
"type": "object",
"properties": {
"current": {
"type": "number",
"description": "电流 (A)"
},
"thickness": {
"type": "number",
"description": "铜厚 (mil),默认 1.4 (1oz)"
},
"tempRise": {
"type": "number",
"description": "允许温升 (°C),默认 10"
},
"layer": {
"type": "string",
"enum": [
"external",
"internal"
],
"description": "走线层类型,默认 external"
}
},
"required": [
"current"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_auto_fanout_and_route流水线:全部元件扇出 → 全部网络自动布线 → DRC → 丝印自修复Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_auto_place_components自动布局:把元件移动到其焊盘质心(一阶优化),锁定元件跳过Input schema{
"type": "object",
"properties": {
"maxMoves": {
"type": "number",
"description": "最大移动数(默认 100)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_auto_route_nets自动布线:单层障碍规避(默认,绕开焊盘+clearance)或两层 L 型(useVias)。需 DRC 复查Input schema{
"type": "object",
"properties": {
"nets": {
"type": "array",
"items": {
"type": "string"
},
"description": "要布线的网络列表(默认全部)"
},
"topLayer": {
"type": "number",
"description": "布线层(默认 1 顶层)"
},
"viaLayer": {
"type": "number",
"description": "垂直走线层(useVias 时,默认 2 底层)"
},
"width": {
"type": "number",
"description": "线宽 mil(默认 10)"
},
"clearance": {
"type": "number",
"description": "障碍间距 mil(默认 15)"
},
"useVias": {
"type": "boolean",
"description": "true=两层 L 型(含过孔);false/缺省=单层障碍规避"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_auto_silkscreen自动排列所有丝印(避免重叠)Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_batch_move批量移动多个元件Input schema{
"type": "object",
"properties": {
"moves": {
"type": "array",
"items": {
"type": "object",
"properties": {
"designator": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"rotation": {
"type": "number"
}
},
"required": [
"designator",
"x",
"y"
],
"additionalProperties": false
},
"description": "移动列表 [{designator, x, y, rotation?}]"
}
},
"required": [
"moves"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_bom_export导出 PCB BOM(按元件名聚合:数量、位号、网络、LCSC 料号),返回 JSON + CSVInput schema{
"type": "object",
"properties": {
"lcscCodes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "元件名 → LCSC 料号映射(如 {\"R-10k\":\"C25744\"},LCSC API 受保护无法自动查询)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_bridge_status查看官方 Bridge Server 连接状态(服务标识、EDA 窗口连接数、当前活动窗口)Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_component_clearance_check检查所有元件对的最小间距,标记低于阈值的违规对Input schema{
"type": "object",
"properties": {
"minClearance": {
"type": "number",
"description": "最小间距 mil(默认 20)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_create_component从库中放置元件到 PCBInput schema{
"type": "object",
"properties": {
"libraryUuid": {
"type": "string",
"description": "库 UUID"
},
"componentUuid": {
"type": "string",
"description": "元件 UUID"
},
"layer": {
"type": "number",
"description": "层号 (1=顶层, 2=底层)"
},
"x": {
"type": "number",
"description": "X 坐标 (mil)"
},
"y": {
"type": "number",
"description": "Y 坐标 (mil)"
},
"rotation": {
"type": "number",
"description": "旋转角度"
}
},
"required": [
"libraryUuid",
"componentUuid",
"layer",
"x",
"y"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_create_copper_pour创建矩形铺铜区域Input schema{
"type": "object",
"properties": {
"net": {
"type": "string",
"description": "网络名称(如 GND)"
},
"layer": {
"type": "number",
"description": "层号 (1=顶层, 2=底层)"
},
"x1": {
"type": "number",
"description": "左上角 X (mil)"
},
"y1": {
"type": "number",
"description": "左上角 Y (mil)"
},
"x2": {
"type": "number",
"description": "右下角 X (mil)"
},
"y2": {
"type": "number",
"description": "右下角 Y (mil)"
}
},
"required": [
"net",
"layer",
"x1",
"y1",
"x2",
"y2"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_create_diff_pair创建差分对Input schema{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "差分对名称"
},
"posNet": {
"type": "string",
"description": "正极网络名"
},
"negNet": {
"type": "string",
"description": "负极网络名"
}
},
"required": [
"name",
"posNet",
"negNet"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_create_equal_length创建等长组Input schema{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "等长组名称"
},
"nets": {
"type": "array",
"items": {
"type": "string"
},
"description": "网络名称列表"
}
},
"required": [
"name",
"nets"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_create_keepout创建矩形禁布区Input schema{
"type": "object",
"properties": {
"x1": {
"type": "number",
"description": "左上角 X (mil)"
},
"y1": {
"type": "number",
"description": "左上角 Y (mil)"
},
"x2": {
"type": "number",
"description": "右下角 X (mil)"
},
"y2": {
"type": "number",
"description": "右下角 Y (mil)"
},
"layer": {
"type": "number",
"description": "层号(不填则所有层)"
}
},
"required": [
"x1",
"y1",
"x2",
"y2"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_create_via创建过孔Input schema{
"type": "object",
"properties": {
"net": {
"type": "string",
"description": "网络名称"
},
"x": {
"type": "number",
"description": "X 坐标 (mil)"
},
"y": {
"type": "number",
"description": "Y 坐标 (mil)"
},
"drill": {
"type": "number",
"description": "钻孔直径 (mil)"
},
"diameter": {
"type": "number",
"description": "过孔外径 (mil)"
}
},
"required": [
"net",
"x",
"y",
"drill",
"diameter"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_current_density_report各网络载流能力估算(IPC-2221,线宽总和 → 电流容量),标记偏低网络Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_delete_diff_pair删除差分对Input schema{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "差分对名称"
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_delete_equal_length删除等长组Input schema{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "等长组名称"
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_delete_keepout删除禁布区Input schema{
"type": "object",
"properties": {
"primitiveId": {
"type": "string",
"description": "禁布区图元 ID"
}
},
"required": [
"primitiveId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_delete_pour删除铺铜Input schema{
"type": "object",
"properties": {
"primitiveId": {
"type": "string",
"description": "铺铜图元 ID"
}
},
"required": [
"primitiveId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_delete_selected删除当前选中的对象Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_delete_tracks删除走线Input schema{
"type": "object",
"properties": {
"primitiveIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "走线图元 ID 列表"
}
},
"required": [
"primitiveIds"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_delete_via删除过孔Input schema{
"type": "object",
"properties": {
"primitiveIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "过孔图元 ID 列表"
}
},
"required": [
"primitiveIds"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_design_diff对比当前设计与上次快照,报告新增/移除/移动的元件Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_design_health_report一键输出设计健康报告:BOM + 连通性 + 载流 + DRC + 间距,给出 READY/NEEDS_WORK/POOR 评分Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_design_snapshot保存当前设计快照(作为后续 pcb_design_diff 的基线)Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_drc_autofix运行 DRC 并自动修复可自动处理的问题(当前:丝印冲突),返回修复前后对比Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_eprj3_project_info检查嘉立创EDA专业版 .eprj3 工程(目录或文件):工程索引、原理图/PCB/面板文件清单,或源文件记录统计(JSON-lines)Input schema{
"type": "object",
"properties": {
"projectPath": {
"type": "string",
"description": ".eprj3 工程根目录路径,或 .eprj3/.epcb2/.esch2 等文件路径"
}
},
"required": [
"projectPath"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_execute_code在嘉立创EDA专业版内直接执行 JavaScript 代码(高级/调试用)。代码运行于扩展环境,eda 为官方扩展 API。示例:return await eda.dmt_Project.getCurrentProjectInfo();Input schema{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "要执行的 JavaScript 代码(支持 await,以 return 返回结果)"
},
"windowId": {
"type": "string",
"description": "目标 EDA 窗口 ID(可选,默认活动窗口)"
}
},
"required": [
"code"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_fanout_component为指定元件的所有焊盘创建扇出过孔(同一网络)Input schema{
"type": "object",
"properties": {
"designator": {
"type": "string",
"description": "元件位号,如 U1"
}
},
"required": [
"designator"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_get_board_info获取工程信息(板名、层数等)Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_get_feature_support查询 bridge 支持的功能列表Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_get_net_primitives查询指定网络的所有图元Input schema{
"type": "object",
"properties": {
"net": {
"type": "string",
"description": "网络名称"
}
},
"required": [
"net"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_get_pads查询焊盘信息Input schema{
"type": "object",
"properties": {
"designator": {
"type": "string",
"description": "元件位号(可选)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_get_silkscreens查询所有丝印文字Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_get_state获取 PCB 完整状态(元件、网络、板框等)Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_get_tracks查询走线段Input schema{
"type": "object",
"properties": {
"net": {
"type": "string",
"description": "网络名称(可选)"
},
"layer": {
"type": "number",
"description": "层号(可选)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_list_diff_pairs列出所有差分对Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_list_eda_windows列出所有已连接嘉立创EDA窗口及其活动状态Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_list_equal_lengths列出所有等长组Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_move_component移动元件到指定坐标 (mil)Input schema{
"type": "object",
"properties": {
"designator": {
"type": "string",
"description": "元件位号,如 U1, R1"
},
"x": {
"type": "number",
"description": "X 坐标 (mil)"
},
"y": {
"type": "number",
"description": "Y 坐标 (mil)"
},
"rotation": {
"type": "number",
"description": "旋转角度"
}
},
"required": [
"designator",
"x",
"y"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_move_silkscreen移动丝印文字Input schema{
"type": "object",
"properties": {
"primitiveId": {
"type": "string",
"description": "丝印图元 ID"
},
"x": {
"type": "number",
"description": "X 坐标 (mil)"
},
"y": {
"type": "number",
"description": "Y 坐标 (mil)"
},
"rotation": {
"type": "number",
"description": "旋转角度"
}
},
"required": [
"primitiveId",
"x",
"y"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_net_connectivity_check检查所有网络的连通性(焊盘数/走线段数,标记未布线网络)Input schema{
"type": "object",
"properties": {
"nets": {
"type": "array",
"items": {
"type": "string"
},
"description": "指定检查的网络(默认全部)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_netlist_report从 PCB 焊盘数据生成网表报告(元件→引脚→网络、网络→元件)Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_open_document切换到指定文档(原理图或 PCB)Input schema{
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "文档 UUID"
}
},
"required": [
"uuid"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_ping检查 bridge 连接状态Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_relocate_component安全搬迁元件(自动断开走线)Input schema{
"type": "object",
"properties": {
"designator": {
"type": "string",
"description": "元件位号"
},
"x": {
"type": "number",
"description": "X 坐标 (mil)"
},
"y": {
"type": "number",
"description": "Y 坐标 (mil)"
},
"rotation": {
"type": "number",
"description": "旋转角度"
}
},
"required": [
"designator",
"x",
"y"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_route_differential_pairs差分对自动布线:正/负网络平行 L 型走线(负网络偏移 gap),报告等长偏差Input schema{
"type": "object",
"properties": {
"pairName": {
"type": "string",
"description": "指定差分对名称(默认全部)"
},
"layer": {
"type": "number",
"description": "走线层(默认 1 顶层)"
},
"width": {
"type": "number",
"description": "线宽 mil(默认 6)"
},
"gap": {
"type": "number",
"description": "正负线间距 mil(默认 8)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_route_track画走线Input schema{
"type": "object",
"properties": {
"net": {
"type": "string",
"description": "网络名称"
},
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"additionalProperties": false
},
"description": "走线路径点 (mil)"
},
"layer": {
"type": "number",
"description": "层号 (1=顶层, 2=底层)"
},
"width": {
"type": "number",
"description": "线宽 (mil)"
}
},
"required": [
"net",
"points",
"layer",
"width"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_run_drc运行 PCB 设计规则检查 (DRC)Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_screenshot截取当前 PCB 编辑器截图Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
pcb_select_component在编辑器中选中元件Input schema{
"type": "object",
"properties": {
"designator": {
"type": "string",
"description": "元件位号"
}
},
"required": [
"designator"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
pcb_select_eda_window选择当前活动的嘉立创EDA窗口(多开时指定执行目标)Input schema{
"type": "object",
"properties": {
"windowId": {
"type": "string",
"description": "窗口 ID(来自 pcb_list_eda_windows)"
}
},
"required": [
"windowId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
sch_generate_from_netlist通过官方 sch_Netlist.setNetlist 将网表导入原理图(生成原理图)。类型: EasyEDA/JLCEDA/Protel2/PADS/Allegro/DISA/DSNETInput schema{
"type": "object",
"properties": {
"netlist": {
"type": "string",
"description": "网表内容(Protel2 示例: [GND\nU1-1\nR1-2\n])"
},
"type": {
"type": "string",
"description": "网表格式(默认 Protel2)"
}
},
"required": [
"netlist"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
sch_generate_from_pcb一键:读取当前 PCB 网表报告 → 转 Protel2 网表 → 导入原理图生成Input schema{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "网表格式(默认 Protel2)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
sch_get_netlist导出网表Input schema{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "网表格式"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
sch_get_state读取原理图状态Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | — · — | — |
sch_run_drc运行原理图 DRCInput schema{
"type": "object",
"properties": {
"strict": {
"type": "boolean",
"description": "是否严格模式"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |