connect
Connect to the local Multisim Automation API.
无需输入参数。

io.github.yxy050208由 GitHub 账号 yxy050208 发布v1.3.1更新于 Nov 3, 2026
Generate Multisim circuits, run simulations, export data, and create experiment reports.
驱动本机已授权的 Multisim,生成可编辑电路、运行 DC/AC/瞬态仿真、测量结果并导出实验报告。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
[Glama MCP server score] [DeepSeek Harness npm bundle]
让 AI Agent 根据实验要求自动生成 Multisim 电路、运行仿真、提取实验数据,并导出 电路图、CSV、波形图和实验报告。
当前
release/v1.3.0分支正在完成稳定版发布门禁;在线 PyPI、MCP Registry 和 DSH 状态会在发布后分别核对。项目非 NI 官方产品,需要本机安装并授权 Multisim 14+;COM 在独立 32 位 Python worker 中运行,MCP 前端可使用 32 或 64 位 Python。
当前
main主干状态(2026-10-09):已完成双板复杂数字回归的 Multisim 14.3 原生验收,覆盖split_logic_load、split_mixed_logic、HDR1X4 逐针连接、跨板接口、远端 1 kΩ 负载以及 DC/TRAN/AC。该能力属于发布分支的受限能力, 详细门禁和边界见双板复杂数字回归;该能力必须按记录的版本、模板和夹具解释。
开发分支已加入组合模拟电路原生工作流:宿主 AI
可通过 run_generated_analog_project 提交组合网表与采样指标,完成原生连接核对、
OP/AC、完整电路图和报告导出。已在 Multisim 14.3 实测两级(14 器件)和四级
(24 器件)RC+理想运放电路;这不代表任意真实芯片或开关电源已支持。
另已完成 LM324AJ 毕业设计场景插件验收:
经 MCP stdio 生成两级电路,运行原生 OP/AC/TRAN,根据测量校准零点后以相同指标复验。
真实模型依赖本地授权模板;校准电压源的硬件实现和其他芯片仍未验收。
新增 2N3904 共射原生验收:通过
run_natural_common_emitter 执行中文需求,生成原生图纸并检查工作点、1kHz 增益和
脉冲响应。图纸使用真实直流/脉冲源、共射布局和隐藏测量面板。要求重建本地模板包,
当前仅实测 Multisim 14.3;新工程仍需图面复核,不代表第二阶段全部完成。
当前发布分支的准确变更、验证结果和发布边界见
1.3.0 发布说明;已发布的 rc1 仍保留在
rc1 发布说明。
后续源码开发新增 桥式整流原生插件工作流:
run_natural_rectifier 从低压交流输入、负载电流和纹波要求生成 1N4001GP 桥式电路,
核对原生模型、引脚及保存参数,运行 OP/TRAN 并导出图纸、波形与报告。
已完成默认工况、4V/5mA、18V/60Hz/200mA 和更严格纹波工况的本机实测。
这些新增能力已纳入发布分支的验证材料,公开发行仍须通过本次发布门禁;不包含稳压电源或实物设计认证。
进一步新增 原生整流电容优化闭环:
optimize_natural_rectifier 固定负载比较九个电容候选,检查输入/负载/电容变化及启动,
选定通过全部声明工况的最小候选,重开保存工程复验并导出对比报告。
12V/100mA/纹波≤0.3V 的本机测试完成 27 次原生运行,将电容从4700μF降至3900μF。
最新主干已加入双板复杂数字回归:
split_logic_load 和 split_mixed_logic 将逻辑拆分到 logic、io 两块板,
通过已验收的 HDR1X4 连接器和显式边界夹具验证跨板 clk/data 接口、远端 1 kΩ
负载以及 DC/TRAN/AC 完整采样。Windows 11、Multisim 14.3 和本地授权模板包上的
六次原生运行均为 accepted/native-verified,并完成生成、保存重开、ReportNetlist、
逐针连接、布局、接口比较和报告导出。该证据只覆盖当前案例、元件族和 Multisim 14.3;
其他连接器、版本或更复杂的多板拓扑仍需独立 manifest 与实机验收。
v1.3.0仍是发布分支中的 MCP Core 版本:包含 Python MCP 服务、CLI、EDA 核心、 模型适配、测试和文档;React Workbench 仍是独立的可选本地工作台。发布前不把 本地模板、Multisim 工程或实验输出放入公开工件。
四个开发阶段和 1.0 发布门禁见 1.0 路线图。
PyPI 安装包 ·
官方 MCP Registry 条目 ·
DeepSeek Harness npm 插件 ·
1.3.0 发布说明
v1.2.0 的历史发布说明仍保留用于迁移参考;v1.3.0 的 PyPI、MCP Registry、GitHub
Release 和 npm bundle 必须在各自工作流完成后独立核对。由本地 NI
样例提取的 XML 模板不属于
MIT 代码授权范围,公开仓库默认不应包含这些文件。用户需要运行
tools/bootstrap_local_component_pack.py,从自己已授权的 Multisim 安装生成本地模板包。
请不要上传 analysis/、.ms14、解码 XML、类型库转储、实验输出或当前包含 142 个
本地模板的开发 wheel。完整发布步骤见 docs/PUBLISHING.md。
1.3.0 发布分支已经通过当前本地的公开工件和目标兼容性检查;完整 GitHub Actions、PyPI、
MCP Registry 和 npm 发布仍是待执行门禁。
发布流程仍将 npm bundle、PyPI 核心和 MCP Registry 作为三个独立发布物;npm 的
latest/next 标签必须在 Trusted Publishing 完成后再核对,不由源码提交自动宣称。
历史 v1.2.0 的 78 工具兼容面仍受支持;1.3.0 将在同一安全边界内加入已验证的
布局、双板、模型来源和 Agent 工作流能力,具体以 1.3.0 发布说明 为准。
开发分支新增只读的 review_design_requirements 需求契约审查:在基线实验前区分硬约束、
软目标、偏好和假设,并拦截同一信号上的明显冲突。接口说明见
需求契约审查。
开发分支还新增 bind_requirement_review_to_design,把契约绑定到已有设计快照并报告
缺失信号与可优化参数,以及 snapshot_open_circuit 的 COM 导入快照入口;已发布的
v1.2.0 仍保持 78 个工具,当前 1.3.0 发布分支的 full profile 为 123 个工具。
开发分支已提供 自然语言 RC/RLC/OPAMP 工程入口:从明确的中文/英文需求生成
可编辑 Multisim 工程,原生仿真并比较 E24 候选,导出带验收状态的报告。当前为有限规则解析,
尚不代表通用 AI 自动设计或任意电路支持。
可选 --planner model 接入已配置的模型,先检查原始需求与提案的一致性,再执行原生实验。
模型调用、拒绝原因和原生实验会共同留档;本机 Ollama/Qwen3 与 Multisim 14.3 已完成一次真实联合测试。
绑定结果中的 native_optimization_readiness 带有完整性摘要;在用户明确批准、通过运行时门禁后,
run_native_parameter_sweep 才会对当前打开工程执行有界 R/C/L 参数扫描,并在每次运行后恢复原值。
扫描完成后可用 rank_native_sweep_results 按均值、峰峰值、RMS 或目标值距离自动排序候选方案。
prepare_native_sweep_patch 会把最佳候选转换为现有审批体系可处理的标准可逆 DesignPatch。
通过显式审批后,apply_native_sweep_patch_to_copy 只写入新的 .ms14 副本,并重新打开源工程。
compare_native_sweep_baseline 会自动识别原始参数组并计算改进量;
export_native_sweep_report 导出中文为主的 Markdown、JSON 和 SHA-256 清单;传入已批准生成的
.ms14 副本后,还会把优化工程复制到报告目录并建立相对链接,形成可移交的证据包;传入原始
扫描结果后,还会生成基线/优化波形 CSV 与 SVG 对照图。
run_circuit_experiment 可以从同一份受限 SPICE 网表完成:
.ms14 原理图。manifest.json。对于较长实验,submit_circuit_experiment 持久任务接口会立即返回
job_id,可通过 get_experiment_job、list_experiment_jobs、
cancel_experiment_job、retry_experiment_job 或 multisim://jobs/{job_id} 查询、
取消和重试任务。每个实验
运行在隔离任务进程中;全部 Multisim COM/编解码操作还会进入长期驻留的 32 位
COM worker。worker 崩溃、RPC 超时或心跳超时不会拖垮 MCP 服务,后续调用可重启
COM worker,服务重启后未完成任务会安全地重新排队。
1.0 还加入了可计算的设计验收与批量实验:
run_verified_circuit_experiment 接收版本化 ExperimentSpec,自动测量时域频率、
THD、增益、带宽、截止频率、上升时间、过冲、纹波、功耗等指标,并把逐项
pass / fail / unverified 结论写入 verification.json 和实验报告。measure_experiment 与 verify_experiment_requirements 可对已注册实验重新计算
指标;信号或证据缺失时只返回 unverified,不会猜测结果。plan_experiment_sweep、run_experiment_sweep、submit_experiment_sweep 支持
参数、容差、温度与可复现 Monte Carlo 扫描。每次扫描最多 100 个运行点,长扫描
复用持久任务的取消、超时、崩溃恢复与输出锁。summary.json、扁平 data.csv 和每个运行点的原始产物,并通过
multisim://sweeps/{sweep_id}/summary|data 读取。验收请求的核心结构如下;operator 支持 at_least、at_most、between 和
approximately:
扫描的 mode 可设为 parameter、tolerance、temperature 或
monte_carlo。元件数值使用有限数字替换已声明的 {{NAME}} 占位符;建议先调用
plan_experiment_sweep 检查完整展开结果,再提交真实运行。
已经在 Multisim 14.3 上完成分压器、耦合电感、数字门/JK 时序以及 函数发生器 + 示波器联合实验的真实验证。
1.0 加入不分发 NI 数据库资产的可移植元件与数据仪器:
@TRANSFORMER、@POTENTIOMETER、@RELAY、@CRYSTAL、功率二极管/MOS;@DFF、@TFF、@COUNTER4、@SHIFT_REGISTER4、@ADC1、@DAC1;read_virtual_multimeter、analyze_bode_response 和 analyze_logic_signals;export_formal_experiment_report,以及 5 个新的正式报告/清单 Resource。适配器语法与社区 JSON 接口见 docs/COMPONENT_ADAPTERS.md,
真实版本边界见 docs/COMPATIBILITY.md。
工作目录持久化格式见 docs/WORKSPACE_MANIFESTS.md。
1.0 真实回归覆盖适配器原理图打开/回导、变压器瞬态、继电器与功率器件工作点、
晶振 AC、DFF 瞬态以及双语正式报告的完整事务发布。
稳定:
实验性:
.subckt 宏模型可递归展开为可编辑原生器件,保留嵌套依赖、
局部节点和 PARAMS: 参数;editable_model_coverage 会区分完整展开、部分展开和
仅载体状态,详见 docs/VENDOR_SPICE_MODELS.md。在源码目录运行以下命令可为多个 Agent 生成 MCP 配置。Agent 可以是 64 位,
-Python32 必须指向已安装 pywin32 且能连接 Multisim 的 32 位 Python:
配置会写入 generated-config/。将对应 JSON 的 mcpServers.multisim 节点复制到
Qwen、ChatGPT、DeepSeek 或其他支持 MCP 的 Agent 配置后重启客户端,再调用
runtime_status 自检。完整边界见 多 Agent 安装说明。
最简单的兼容部署仍是直接安装到 32 位 Python:
也可以把 MCP 前端安装到 64 位 Python,并为 COM worker 单独保留一套安装了本项目和
pywin32 的 32 位 Python。若系统 py launcher 能发现 32 位 Python,会自动选择;
否则设置:
Linux/Docker 仅提供 MCP 工具发现和兼容性诊断,不能运行 Multisim 仿真。容器中的
runtime_status 会返回 introspection-only;所有 COM 自动化能力仍要求上述 Windows
环境。根目录 Dockerfile 用于 Glama 等目录验证 MCP 协议和工具定义。
从源码安装并生成本地元件模板包:
模板包生成器会连接已授权的 Multisim,并新建一个临时空白电路以取得与当前安装版本 一致的工程骨架;执行前请保存正在编辑的工作。alpha 版本生成的 schema 1 包需要重建。
v1.1.0 提供安装诊断和配置生成命令。默认情况下它们不会启动
Multisim,也不会修改现有客户端配置:
配置生成器默认只打印可复制片段;--output 写入新文件,除非再传入 --force,
否则不会覆盖已有文件。它不会自动合并 Claude Desktop、Codex 或 Harness 的现有配置。
DeepSeek 模型与官方 Harness 的分层、凭据边界和版本兼容性见
DeepSeek / Harness 适配说明。
--tool-profile core|experiment|optimization|full 可限制客户端发现的工具;
省略时保持 122 个工具全部可用的 full 兼容模式。产物导出只有在设置
--artifact-export-dir 后可用,并且只能写入该目录之下。
Harness Skill 安装默认不覆盖现有文件;需要恢复打包版本时显式增加 --force。
模型 Provider 自助配置支持 DeepSeek、OpenAI、Ollama 和任意
OpenAI-compatible 服务;默认只预览,--apply 才原子写入,--probe 才联网。
配置文件不会保存 API Key 值。完整变量表、手动配置和安全边界见
模型 Provider 自助配置。
第一版模型运行时支持非流式 Chat Completions、用量、取消、显式失败回退和白名单
有界工具循环;普通 model 命令不公开工具。独立的 model-diagnose 可对严格
CircuitDesign JSON 或安全 SPICE 网表启用四个只读 EDA 工具,不执行仿真或修改设计。
详见 模型 Provider 运行时 与
只读 EDA 模型诊断。
仓库维护者可用 python tools/check_deepseek_harness_compat.py --json 验证固定的
Harness 本地契约;版本与上游检查细节见适配说明。
需要把集成作为 Harness 插件安装时,可使用
integrations/deepseek-harness 中的独立 bundle;
[email protected] 已公开发布到 npm。固定版本安装命令为
dsh plugin --profile web add [email protected];维护者的发布后
Trusted Publishing 与后续 OIDC 暂存流程见
npm 发布手册。
手工 MCP 客户端配置:
详细安装、工具、安全开关和测试说明见 mcp_server/README.md。
元件覆盖和剩余边界见 docs/COMPONENT_COVERAGE.md。
从 alpha 升级请阅读 docs/MIGRATION_TO_1.0.md;任务与
实验恢复流程见 docs/RECOVERY.md。
1.0 之后的纠错、优化、多 EDA 后端和可视化工作台计划见
2.0 综合路线图。阶段 A 已加入第一版传输无关
EDA 核心与后端边界和受限 SPICE 转换器;原理图生成与独立
SPICE 仿真、同步/验证/持久任务完整实验均已通过应用服务执行,现有 MCP 工具签名与
job 存储格式保持兼容;实验 staging、报告、原子发布和回滚已移入独立流水线。
面向 DeepSeek Harness、其他 Agent 和未来 Workbench 的稳定返回值约定见
Agent API 契约,可从 runtime_status.api_contract 读取。
产品定位、标准审批流程、极简界面原则和“AI 工程电路控制台”路线见
产品愿景。
mcp_server/:MCP server、COM adapter、原理图构建器和测试。skills/multisim-workflow/:面向 Agent 的实验工作流。docs/:架构、实测流程和能力边界。analysis/、tools/:互操作研究材料;发布前需要独立做来源和隐私审计。op、dc、ac、tran 实验命令。详见 SECURITY.md。
项目自有代码采用 MIT License。NI Multisim、商标、格式以及本地安装样本仍受其各自 权利和许可条款约束。本仓库不应提交 NI 二进制、许可证材料或未确认可再分发的样本。
来源:README.md,提交 68df741
Connect to the local Multisim Automation API.
无需输入参数。
Check local EDA runtime compatibility without starting Multisim.
target_versionRegister an existing complete experiment directory as MCP Resources. Use this after a server restart when the experiment was generated earlier. Only the fixed high-level experiment artifact set is exposed.
output_dir必填List artifact metadata, hashes, MIME types, and safe access capabilities.
experiment_id必填Read one bounded page from an allowlisted text experiment artifact.
name必填offsetmax_charsexperiment_id必填Export an artifact beneath MULTISIM_MCP_ARTIFACT_EXPORT_DIR.
name必填overwriteexperiment_id必填destination_subdirReturn a compact report, verification, and artifact summary for agents.
experiment_id必填Audit SPICE dialect, model hashes/licenses, and static backend risks.
backendnetlist必填declared_dialectmodel_referencesNumerically compare common signals from two registered EDA experiments.
signalsmax_pointsabsolute_tolerancecandidate_experiment_id必填reference_experiment_id必填relative_tolerance_percentRegister a completed sweep directory and return opaque MCP Resources.
output_dir必填Compute explicit metrics from a registered experiment's raw data.
measurements必填experiment_id必填Read DC, true RMS, AC RMS and range from experiment data.
signal必填experiment_id必填reference_signalUse the Bode Plotter adapter on an AC-sweep experiment.
max_pointsinput_signal必填experiment_id必填output_signal必填frequency_signalUse the Logic Analyzer adapter to digitize traces and list edges.
signals必填thresholdmax_eventstime_signalexperiment_id必填Export bilingual HTML/PDF reports and a reproducibility manifest.
experiment_id必填List portable built-in and local declarative component adapters.
无需输入参数。
Convert supported native DFF carriers into an explicit ngspice reference. The returned netlist is not run automatically and never replaces the source design. It maps native ``D, ~PR, ~CLR, CLK, Q, ~Q, GND, VCC`` pins to the portable ``@DFF`` adapter, inserts explicit control inverters for active-low ``~PR/~CLR``, and records the behavioral-only claim. Pass the returned ``netlist`` explicitly to ``run_spice_netlist`` with ``backend='ngspice'`` when a reference run is desired.
netlist必填Build and run an explicit ngspice behavioral reference in one call. This workflow is intentionally opt-in: it only accepts a netlist containing a supported native ``DFF8``/``7474N``-family carrier, converts that carrier to the portable ``@DFF`` reference, and then runs the converted netlist through the explicitly selected ngspice backend. The source design is not modified, and the result must not be interpreted as native Multisim 74LS74 timing or electrical-equivalence evidence.
netlist必填timeoutcommands必填overwritemax_pointsoutput_dirEvaluate explicit design requirements; unsupported evidence stays unverified.
requirements必填experiment_id必填theoretical_valuesValidate and preview parameter, tolerance, temperature, or Monte Carlo runs.
spec必填Return comparable technical方案 without generating or executing a circuit. The result is a bounded planning-only ``DesignPlan``. It contains a deterministic recommendation, alternative implementation paths, trade-offs, and explicit assumptions. Netlists, schematics, files, and simulations are intentionally deferred until a caller selects an option in a later step.
contextobjectivesconstraintsmax_optionsrequirements必填Review an optimisation contract before running a baseline experiment. The tool normalises measurement requirements, separates hard constraints from soft objectives and preferences, and detects obvious contradictory bounds for the same signal. It never creates a circuit, writes files, or starts a simulation; a clean result only means the declared contract is internally coherent.
titlesummaryassumptionspreferencessoft_objectiveshard_constraints必填Bind reviewed requirements to an existing design snapshot without edits. Voltage and current signals are matched against design nets and component references. Unrecognised signal text is reported for explicit aliasing; no .ms14 file, source netlist, or simulation state is modified.
design必填signal_aliasessnapshot_evidencerequirement_review必填Lock one planning option without generating or executing a circuit. The input plan digest is checked before selection. The returned envelope binds the source and selected digests so a later generator can require an explicit, untampered handoff.
plan必填option_id必填Prepare a reviewable electrical specification from a selected plan. This read-only step lists required electrical parameters, planned modules, analyses, and validation gates. It requires a valid selection digest and never creates a CircuitDesign, netlist, schematic, file, or simulation.
plan必填parameter_valuesPrepare a logical netlist draft after explicit specification approval. The result contains block-level nets, connections, unresolved component requirements, and derived constraints. It is not executable SPICE and never creates a CircuitDesign, schematic, file, or simulation.
plan必填approval必填specification必填Resolve logical roles into reviewable component candidates and rating gates. This remains a read-only planning step. It does not choose a silent part number, create a CircuitDesign, generate SPICE, write a file, or start a simulation. A later stage must provide model provenance and explicit human approval before compiling an executable netlist.
draft必填selectionsRecord explicit human approval for a complete component resolution. This is still a review artifact. It does not generate SPICE, create a CircuitDesign, write a file, render a schematic, or start a simulation; those actions require a later compiler and separate approval gates.
draft必填approval必填resolution必填Compile an approved logical draft into a bounded pin-level preview. Only options in the compiler support matrix are accepted. External model bytes, when present, are re-hashed beneath ``MULTISIM_MCP_MODEL_ROOT``. Optional experiment_fixture composes an explicit DC/AC source and source impedance before review, currently signal-active/14.3 only. It requires schema_version, target_version, dc_voltage_v, source_impedance_ohm and included_load_ohm; optional ac_amplitude_v/ac_phase_deg are small-signal AC. The resulting netlist review requires confirm_fixture and fixture_sha256. The result stays in memory and does not write files, create a schematic, start Multisim, or run a simulation.
draft必填component_approval必填experiment_fixtureRecord explicit human approval for one immutable netlist preview. The approval binds the compiled CircuitDesign and SPICE digest. It does not write a schematic, create a project file, add stimuli, or start a simulation; those remain separate downstream gates.
approval必填executable_netlist必填Record explicit approval for one safe simulation plan. The artifact binds the approved executable-netlist preview to the exact analysis commands, measurement requirements, and theoretical values in an ``ExperimentSpec``. It does not create a schematic, write files, or start a simulation; ``run_verified_circuit_experiment`` must validate it again.
approval必填experiment_spec必填netlist_approval必填executable_netlist必填Return the bilingual five-waveform course-design contract. With no arguments this returns the safe behavioral reference model. A caller may provide a native Multisim-compatible netlist and analysis commands to keep the same explicit requirement gates while changing the implementation. This tool only builds/validates the contract; use ``run_verified_circuit_experiment`` for measured evidence.
netlistcommandscomponent_evidenceexperiment_evidenceQueue a durable, cancellable experiment in an isolated worker process. Prefer this tool for long experiments. Poll ``multisim://jobs/{job_id}`` or call ``get_experiment_job``. Completed jobs return the same experiment result and resource handles as ``run_circuit_experiment``. When approval artifacts are supplied, all three are persisted with the job and verified again inside the isolated worker before execution.
titlenetlist必填timeoutcommands必填overwritemax_pointsoutput_dir必填job_timeoutrequirementsnetlist_approvalheartbeat_timeoutexecutable_netlist另有 2 个Return durable progress, failure diagnostics, or the completed result.
job_id必填List recent durable jobs without returning their potentially large results.
limitstateCancel a queued job or safely stop its isolated worker process.
job_id必填Queue a fresh attempt using a failed, cancelled, or timed-out job spec.
job_id必填List native component families available to the schematic generator.
target_versionDisconnect from Multisim and release the open circuit.
无需输入参数。
Open a Multisim design file and return circuit info.
path必填Create a new empty Multisim design.
无需输入参数。
Return name, file, simulation state, and last error for the open circuit.
无需输入参数。
List component reference designators. 0 returns all.
component_typeList simulation inputs. 0 returns all.
input_typeList simulation outputs. 0 returns all.
output_typeConfigure an output request before RunSimulation.
methodnum_samplesoutput_name必填repeat_flagsample_rateFetch data for an output that is ready; shape depends on analysis type.
max_pointsoutput_name必填Run a transient simulation and return downsampled time/real data.
timeoutdurationmax_pointsnum_samplesoutput_name必填repeat_flagsample_rateRun DC operating point analysis for the given outputs.
timeoutmax_pointsoutput_names必填Run AC sweep and return frequency/real/imag rows.
timeoutmax_pointsnum_pointssweep_typeoutput_names必填stop_frequencystart_frequencyRun AC analysis at a single frequency.
timeoutfrequencymax_pointsoutput_names必填Inject a sampled waveform into a simulation input.
values必填input_name必填repeat_flagsample_rate必填Inject a raw (time, value) waveform into a simulation input.
times必填values必填input_name必填repeat_flagClear injected data from a simulation input.
input_name必填Stop the currently running simulation.
无需输入参数。
Save the circuit, optionally to a new path.
pathExport the circuit schematic as an image.
path必填image_formatExport the SPICE netlist to a text file.
fmtpath必填probes_flagExport the open Multisim circuit into a validated design snapshot. The source ``.ms14`` remains untouched. The exported netlist and snapshot are written only below ``output_dir``; COM enumeration is retained as evidence alongside the parsed ``CircuitDesign``.
fmtoutput_dir必填probes_flagallow_unsupportedRun an approved, bounded COM sweep and restore every original R/L/C value.
timeoutanalysisapproval必填durationreadiness必填candidates必填max_pointsnum_samplesoutput_name必填sample_ratestop_frequencystart_frequency另有 1 个Rank completed native sweep records against an explicit scalar objective.
objective必填sweep_result必填Prepare a standard reversible DesignPatch from the best native sweep result.
ranking必填readiness必填Apply an approved native sweep patch to a new .ms14 copy and reopen the source.
draft必填approval必填output_path必填Compare the best native sweep candidate against the original-value baseline.
ranking必填Export a bilingual native sweep comparison report and integrity manifest.
comparison必填output_dir必填sweep_resultoptimized_copy_pathExport the bill of materials to a text file.
fmtpath必填real_flagRun an unrestricted Multisim command file when explicitly enabled. This advanced tool is disabled by default because command files can access the filesystem and may expose engine-specific command execution features.
log_file必填command_file必填Run SPICE through Multisim or ngspice with safe analysis commands. The default path rejects scripting, shell escapes, file commands, and arbitrary command sourcing. Unrestricted engine commands require both the ``unsafe_commands`` argument and an explicit server-side environment flag.
backendnetlist必填timeoutcommands必填overwritemax_pointsoutput_dirunsafe_commandsValidate a structured multi-board request and return a planning-only contract. This tool never opens Multisim, writes a project, or starts simulation. A feasible candidate may include board-local logical artifacts, but native generation and acceptance remain a separate explicit step.
requestvendor_contractnetlist_approvalexecutable_netlistLock a structurally ready multi-board candidate without native execution.
plan必填candidate_indexRun or preview native acceptance for a selected structured multi-board request. The request is re-planned and a structurally ready candidate is selected before any schematic or COM work. Preview mode is side-effect free. Execution opens, saves, reopens, reads back and simulates each board in the installed Multisim version, then compares explicit fixture observations and a full-design reference. ``analysis`` accepts ``dc`` (default), ``tran`` or ``ac``. Native results retain complete sampled axes; TRAN and AC compare every aligned sample (AC compares real and imaginary parts) without interpolation by default. Set ``analysis_options.series_alignment`` to ``"linear"`` only when independently simulated boards have different adaptive axes; the bounded resampling basis is recorded in the result. Scalar endpoint values remain a report summary only.
executerequest必填analysiscandidate_indexvendor_contractanalysis_optionsnetlist_approvaloutput_directory必填executable_netlisttarget_multisim_versionUse a configured model to propose a requirement, then validate it locally. The model receives one narrow tool and cannot return a schematic, file path, shell command or executable SPICE. The resulting proposal is still only a plan until native execution is requested separately.
text必填timeoutproviderallow_failoverfallback_providersprovider_config_pathModel-propose, locally validate, then optionally run the native RC flow.
text必填executetimeoutprovideroutput_dir必填allow_failoverfallback_providersprovider_config_pathQueue an auditable model-to-Multisim engineering run. The worker persists the model plan before native execution and exposes the same durable status/SSE contract as other long-running experiment jobs.
text必填provideroutput_dir必填job_timeoutmodel_timeoutallow_failoverheartbeat_timeoutfallback_providersprovider_config_pathQueue a native RC, RLC, or OPAMP engineering workflow.
kind必填text必填output_dir必填job_timeoutPreview or execute supported natural RC requirements in a new output directory. Explicit execution generates .ms14 files, runs native OP/AC/TRAN for bounded candidates and exports acceptance evidence. No external AI model or source- netlist simulation fallback is used. Review disclosed assumptions in preview.
text必填executeoutput_dir必填Translate a bounded natural-language electrical request into a validated plan. The returned netlist is a proposal only. Callers must review it, create the native schematic, and run native measurements before accepting a design. Ambiguous requirements fail closed instead of selecting an unverified topology.
text必填Build a bounded RLC contract and SPICE preview without native execution. Native RLC acceptance remains disabled until the corresponding Multisim measurement adapter has passed a real-version regression.
text必填Preview or execute bounded RLC candidates with native Multisim acceptance.
text必填executeoutput_dir必填Build a bounded non-inverting OPAMP5 contract and SPICE preview.
text必填Preview or execute the bounded non-inverting OPAMP5 native workflow.
text必填executeoutput_dir必填Build and verify a composed linear analog design in native Multisim 14.3. The host AI translates the user's request into proposal fields: title, application, netlist, probe_nets, experiments (op/ac with commands), checks. Accepts up to 64 R/C/L, DC/AC voltage sources and ideal OPAMP5 devices in any connected topology. Also accepts explicit LM324AJ from a licensed local template pack, with native model identity verification and OP/AC/TRAN sampled checks (no independent ideal-model equivalence). Other vendor models and semiconductors are rejected. Checks contain analysis, net, quantity, min/max, optional reference_net; AC requires frequency_min_hz/max_hz. Use quantity=value for OP, magnitude or phase_deg for AC. A reference_net checks the voltage ratio. Every sample in the specified band must pass. LM324AJ requires OP and AC and checks for every analysis. Its optional transient uses quantity=value with time_min_s/time_max_s, and a DC/AC voltage source may append PULSE(low high delay rise fall width period). Preview performs no writes/COM. Execute creates a new .ms14, verifies every native pin, runs native analyses, checks ideal-model phasors against independent nodal equations, exports schematic PNG, matrices, CSV and HTML. Missing checks yields reference-only acceptance, not requirements approval. Optional executable_netlist/netlist_approval must be supplied together and bind proposal.netlist exactly to a reviewed experiment_fixture preview. This path also checks passive values and the saved ideal VCVS model. The native proposal's experiments/checks and execute flag authorize the run; this path does not claim a separate simulation-plan approval artifact.
executeproposal必填output_dir必填netlist_approvalexecutable_netlistTranslate a bounded sensor analog-front-end request into a native proposal.
text必填Generate and verify a sensor front end from Chinese/English requirements.
text必填executeoutput_dir必填Translate a bounded DC divider request into a native proposal.
text必填Generate and verify a resistive DC divider from a natural-language request.
text必填executeoutput_dir必填Plan a bounded single-NPN common-emitter amplifier request.
text必填Build a bounded 2N3904 amplifier and verify native OP/AC/pulse measurements. Requires a licensed local pack with VDC and VPULSE carriers. Saves the editable schematic, PNG, raw measurements, model/pin checks and report. Success verifies declared sampled conditions; visual review is still needed.
text必填executeoutput_dir必填Plan a 4–18 Vrms, 50/60 Hz 1N4001GP bridge with a 5–200 mA resistive load.
text必填Build a local native bridge, export its schematic/report and verify OP/transient evidence. Requires licensed AC_VOLTAGE and full 1N4001GP carriers. Checks saved values, diode models/pins, input RMS, DC mean, ripple, resistive load current and settling. Preview by default. This bounded simulation does not certify a physical power supply.
text必填executeoutput_dir必填Minimize bridge capacitance by native experiments, tolerance cases and saved-file replay. Preview discloses nine discrete candidates and fixed input/load/capacitance cases. Execution may take several minutes. Keeps every failed candidate, checks startup, reopens the selected saved circuit and exports comparison reports. No physical certification.
text必填executeoutput_dir必填Create an editable Multisim schematic from a supported SPICE netlist. Supports RLC components, scalar/waveform voltage and current sources, B/E/F/G/H/T primitives, modeled semiconductors and switches, OPAMP5, and user-local verified TIMER8/LM555CN and DFF8/7474N native carriers, generic two-to-sixteen-terminal X subcircuits, digital devices, ground, named nets, wiring, and deterministic layout. Compatible inline subcircuits are recursively expanded into editable primitives; unsupported macro-model constructs remain explicit carrier-only evidence. Generated schematic probes remain experimental. The high-level experiment tool obtains authoritative data from the same source netlist through Multisim's command engine. ``component_positions`` optionally maps refdes -> [x, y] sheet coordinates (example: {"R1": [36, 117]}). Listed components are placed exactly there before the wire router runs, so all wiring follows; unlisted components keep the deterministic auto-layout. When ``executable_netlist`` and ``netlist_approval`` are both supplied, the approval is revalidated against the immutable compiled preview before any schematic work begins. The supplied ``netlist`` must exactly match the approved preview's bound SPICE text. This path opens schematic generation only; it does not approve or start a simulation. When ``require_layout_pass`` is true, geometry findings are a delivery gate: the XML preflight and layout report are retained for repair, but no encoded ``.ms14`` file is produced until the layout passes.
verifynetlist必填overwriteimage_pathprobe_netssheet_sizeoutput_ms14必填netlist_approvalopen_after_buildexecutable_netlistcomponent_positionsrequire_layout_pass另有 1 个Create a schematic, run a safe Multisim analysis, and export a report. This synchronous compatibility tool blocks until completion. For queueing, progress, cancellation, persisted state, and worker recovery, prefer ``submit_circuit_experiment``.
titlenetlist必填timeoutcommands必填overwritemax_pointsoutput_dir必填Run an ExperimentSpec and persist evidence-backed requirement verdicts. When the three approval inputs are supplied, the exact executable-netlist and simulation-plan handoff is revalidated before any schematic or simulation work begins. The legacy direct-spec path remains available for compatibility; it does not claim this additional approval provenance.
spec必填timeoutoverwritemax_pointsoutput_dir必填netlist_approvalexecutable_netlistsimulation_plan_approvalDiagnose a circuit without modifying it or silently guessing repairs. Structural checks require only ``design``. When ``experiment_dir`` is supplied, its artifact integrity manifest and canonical netlist are verified before requirement, convergence, BJT, or op-amp evidence is used. An optional bounded ``simulation_failure`` object may contain code, type, stage, and message fields from a failed run.
design必填experiment_dirsimulation_failureRetest one explicit reversible patch against its unchanged baseline. The service runs exactly two verified experiments under the same hard requirements, writes before/after deterministic diagnoses and an inverse patch, and never persists the candidate as the source design. A passing result remains subject to the separate local approval workflow.
spec必填patch必填design必填max_pointsoutput_dir必填timeout_per_experimentregenerate_source_netlistApprove one exact patch apply or revert and write its bearer token locally. The one-time token is written to ``token_output`` and is intentionally omitted from the returned MCP payload. Pass exactly one of ``patch_path`` or ``revert_transaction``; this step never changes the design.
in_placepatch_pathdesign_path必填output_pathttl_secondsreceipt_path必填token_output必填approval_storerevert_transactionregenerate_source_netlistConsume a file-backed approval and durably apply one design patch.
in_placepatch_path必填design_path必填output_pathreceipt_path必填approval_storeapproval_token_file必填regenerate_source_netlistConsume a separate approval and durably revert one patch transaction.
in_placedesign_path必填output_pathreceipt_path必填approval_storetransaction_path必填approval_token_file必填regenerate_source_netlistRecover one abandoned patch journal after its owner process has exited.
actiontarget_pathjournal_pathapproval_storeApprove a patch plus its exact verification and commit contract.
in_placemax_pointspatch_path必填design_path必填output_pathttl_secondsreceipt_path必填token_output必填approval_storetimeout_secondsexperiment_output必填workflow_manifest必填另有 2 个Run the approved experiment and commit only when every requirement passes.
in_placemax_pointspatch_path必填design_path必填output_pathreceipt_path必填approval_storetimeout_secondsexperiment_output必填workflow_manifest必填approval_token_file必填verification_plan_path必填另有 1 个Finalize or safely abort a crash-interrupted verified patch workflow.
workflow_manifest必填Evaluate bounded component-value candidates without modifying the source design. The baseline consumes one experiment from ``spec.max_experiments``. When ``requirement_review`` is supplied, its verified hard constraints and a uniquely matched soft objective fill the spec before validation. Values may be explicit or generated from bounded E12/E24/E48/E96 ranges. Electrical, optional in-stock, and maximum variable-cost rules are hard constraints; failed/unverified candidates are never feasible, and the returned best patch still requires the separate local approval workflow before persistence.
spec必填design必填max_pointsoutput_dir必填requirement_reviewtimeout_per_experimentAttach bounded single-board layout evidence to an optimization directory. The parameter optimization must already have produced its auditable directory. Every persisted candidate patch is replayed, evaluated by the deterministic layout validator, and ranked together with its electrical objective. ``materialize`` optionally emits candidate ``.ms14`` files; native Multisim save/reopen and simulation acceptance remain a separate explicit gate.
stepmovesoverwriteprobe_netsmaterializefixed_refdesbase_positions必填max_candidatesmaterialize_directoryoptimization_output_dir必填Run auditable mixed topology/value multi-objective global optimization. When ``requirement_review`` is supplied, its verified hard constraints and matched soft objectives fill the multi-objective spec before validation. Small declared domains are exhaustive; larger domains use deterministic Halton space filling. Every candidate runs a real verified experiment, failed hard constraints are excluded, and the result contains an epsilon-aware Pareto front. No candidate is persisted automatically.
spec必填design必填max_pointsoutput_dir必填requirement_reviewtimeout_per_experimentQueue durable mixed topology/value Pareto optimization. Completed candidates are integrity-checked and reused after restart. An interrupted candidate is rerun in a new attempt directory. No recommended patch is persisted into the source design automatically.
spec必填design必填max_pointsoutput_dir必填job_timeoutresume_existingheartbeat_timeoutrequirement_reviewtimeout_per_experimentAutonomously diagnose, propose, simulate, and select a repair candidate. The configured model may propose bounded parameter or topology patches, but every candidate is revalidated and simulated locally. The final all-pass candidate is returned as one reversible patch against the original design; applying it remains a separate explicit approval operation.
spec必填design必填providermax_pointsoutput_dir必填model_timeoutallow_failoverfallback_providersrequirement_reviewprovider_config_pathtimeout_per_experimentQueue durable model-planned correction with round-level recovery. The persisted provider configuration is validated and secret-free: it contains only endpoint/model metadata and environment-variable names. API keys are resolved by the isolated worker and are never written to job state. Completed rounds are evidence-revalidated; an incomplete planning round is replanned in a new attempt directory. No patch is applied automatically.
spec必填design必填providermax_pointsoutput_dir必填job_timeoutmodel_timeoutallow_failoverresume_existingheartbeat_timeoutfallback_providersrequirement_review另有 2 个Queue a durable optimization with candidate-level crash recovery. Completed candidates are evidence-verified and reused after a worker or MCP restart. An interrupted candidate is rerun in a new attempt directory. The result still returns only a proposed patch and never modifies the design. Set ``resume_existing`` only to adopt a matching interrupted output folder.
spec必填design必填max_pointsoutput_dir必填job_timeoutresume_existingheartbeat_timeoutrequirement_reviewtimeout_per_experimentRank complete designs or approved in-memory patches using one contract. A normal item contains exactly ``variant_id`` and ``design``. A patch item contains exactly ``variant_id`` and ``patch`` and requires ``base_design``; the patch is validated and applied in memory before the same experiment service evaluates it. Patch JSON is persisted beside the candidate design for review. All requirements remain hard constraints, only finite measured passes are ranked, and no source design is modified or automatically adopted.
spec必填variants必填max_pointsoutput_dir必填base_designtimeout_per_experimentregenerate_source_netlistRun a transactional parameter, tolerance, temperature, or Monte Carlo sweep.
spec必填overwritemax_pointsoutput_dir必填timeout_per_runQueue a durable sweep in the same isolated, cancellable worker system.
spec必填overwritemax_pointsoutput_dir必填job_timeouttimeout_per_runheartbeat_timeoutWrite a Markdown report for the open circuit and analysis results.
titleanalysesinclude_bomoutput_path必填include_imageinclude_netlistRead the current value of an R/L/C component through RLCValue.
component_name必填Set an R/L/C component value through SetRLCValue.
value必填component_name必填Decode a .ms14 file to editable XML using ewd.
path必填output_xmlEncode an XML design back to .ms14 using ewe.
source_xml必填output_ms14List the sheet position (x, y) of every component in an .ms14 file. Decodes the design with the packaged ewd codec and reads each component symbol's translation pair (Transformer-M20/M21). No Multisim session is required. With ``output_xml`` the decoded XML is also written there for offline inspection.
path必填output_xmlMove components inside an .ms14 file to new sheet coordinates. ``positions`` maps refdes -> [x, y] in sheet units (the builder's auto-layout grid step is 270 x 216; use ``list_component_positions`` to read current values). ``mode="relative"`` treats the values as deltas; ``anchor="pin_center"`` matches the builder's component_positions anchor; ``snap`` rounds onto a grid (9 pt = the builder's normalization grid). Batch-safe: any number of components moves in ONE decode/edit/encode cycle. Attached wires are re-routed with the same obstacle-aware router used at build time. Per Multisim's wiring model, wire endpoints are FIXED references (component ports / joined segments) -- rerouting only changes the drawn path, never which endpoints a wire connects. The result includes ``overlaps_after`` so you can confirm immediately whether the new arrangement still has overlapping bodies. When ``output_ms14`` is omitted the source file is updated in place after a one-time ``*.placement-backup.ms14`` copy is saved next to it.
modepath必填snapanchoroverwritepositions必填output_ms14Report components whose bodies overlap in an .ms14 file (no COM call). Uses each component's pin-hull box plus ``clearance`` (the same geometry the wire router treats as an obstacle), so it tells you exactly where a dense custom layout would force wires through symbol bodies. Pure decode + geometry: runs in seconds and is the fast pre-check to run after ``set_component_positions`` or before rebuilding a board.
path必填clearanceDry-run a custom layout and report geometry findings in seconds. By default this runs the real builder (obstacle-aware routing included) into a scratch directory -- no Multisim launch, no files kept -- and returns the geometry preflight: final placements, component-overlap pairs, wire-through-body points and the resulting sheet size. With ``optimize=true, materialize=true`` and an explicit ``output_ms14``, the selected candidate is instead regenerated into a new file for the next native save/reopen and simulation gate.
stepmovesnetlist必填optimizeoverwritepositionsprobe_netssheet_sizematerializeoutput_ms14fixed_refdesmax_candidates另有 1 个Enlarge (or shrink) an .ms14 design's page and GUI working area. Sizes are inches at 96 dpi. Both page stores are kept in sync: the CircPrefs sheet dimensions that drive the image/export API and the DesignSheet WorkArea rectangle the GUI displays (a fixed A4 work area used to clip larger schematics on screen). Components are not moved. When ``output_ms14`` is omitted the source file is updated in place after a one-time ``*.sheet-backup.ms14`` copy is saved next to it.
path必填overwritewidth_inch必填height_inch必填output_ms14已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
{ "spec": { "schema_version": 1, "title": "分压器验收", "netlist": "VIN vin 0 DC 10\nR1 vin vout 1k\nR2 vout 0 1k\n.end\n", "commands": "dc VIN 0 10 1", "requirements": [ { "id": "gain", "metric": "gain", "signal": "V(vout)", "reference_signal": "V(vin)", "operator": "approximately", "target": 0.5, "tolerance_percent": 1 } ], "theoretical_values": {"gain": 0.5} }, "output_dir": "C:\\experiments\\divider-verified"}.\tools\install-agent.ps1 ` -Client all ` -Python32 C:\path\to\python32\python.exeC:\path\to\python32\python.exe -m pip install "multisim-mcp==1.1.0"C:\path\to\python32\Scripts\multisim-mcp.exe$env:MULTISIM_MCP_WORKER_PYTHON = 'C:\path\to\python32\python.exe'C:\path\to\python64\python.exe -m multisim_mcp.servercd mcp_server.\setup.ps1 -Python C:\path\to\python32\python.exenpm install --global [email protected]cd ..$env:PYTHONPATH = (Resolve-Path .\mcp_server).PathC:\path\to\python32\python.exe .\tools\bootstrap_local_component_pack.py ` --output C:\MultisimMcp\component-pack$env:MULTISIM_MCP_TEMPLATE_DIR = 'C:\MultisimMcp\component-pack'cd mcp_server.\run_server.ps1# 人类可读诊断;完整工作流未就绪时给出逐项修复建议C:\path\to\python32\Scripts\multisim-mcp.exe doctor --lang zh
# 可选:显式启动/连接 Multisim,验证许可证和 COM 激活C:\path\to\python32\Scripts\multisim-mcp.exe doctor --lang zh --connect
# 便于 Agent/脚本解析的稳定 JSON;--strict 可用于 CIC:\path\to\python32\Scripts\multisim-mcp.exe --json doctor
# 输出 Claude Desktop JSON 片段C:\path\to\python32\Scripts\multisim-mcp.exe config ` --client claude-desktop ` --python C:\path\to\python32\python.exe ` --template-dir C:\MultisimMcp\component-pack
# 输出 Codex config.toml 片段C:\path\to\python32\Scripts\multisim-mcp.exe config ` --client codex ` --python C:\path\to\python64\python.exe ` --worker-python C:\path\to\python32\python.exe ` --template-dir C:\MultisimMcp\component-pack
# 输出 DeepSeek Harness Cordis 插件片段C:\path\to\python32\Scripts\multisim-mcp.exe config ` --client deepseek-harness ` --python C:\path\to\python32\python.exe ` --template-dir C:\MultisimMcp\component-pack ` --work-dir C:\msre_exp ` --artifact-export-dir C:\MultisimMcp\exports ` --tool-profile experiment
# 在 Harness 项目根安装五个双语实验 SkillC:\path\to\python32\Scripts\multisim-mcp.exe harness-skills --output .dsh/skills
# 自动发现模型 Provider 并安全预览(不写文件、不联网)C:\path\to\python32\Scripts\multisim-mcp.exe configure --auto --json
# 确认后写入仅含环境变量引用的配置C:\path\to\python32\Scripts\multisim-mcp.exe configure --auto --apply
# 使用 UTF-8 文件做一次明确、无工具的模型调用C:\path\to\python32\Scripts\multisim-mcp.exe model ` --input .\prompt.txt ` --json
# 显式启用四个只读 EDA 工具分析安全 SPICE 网表(不会执行网表)C:\path\to\python32\Scripts\multisim-mcp.exe model-diagnose ` --input .\diagnosis-prompt.txt ` --netlist .\circuit.cir ` --json{ "mcpServers": { "multisim": { "command": "C:\\path\\to\\python32\\python.exe", "args": ["-m", "multisim_mcp.server"] } }}