
xuio/ltspice-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
LTSpice MCP 서버
개요
Model Context Protocol (MCP) 서버는 macOS에서 에이전트 및 MCP 클라이언트 제어 LTspice를 시뮬레이션, schematic 생성, 데이터 추출, 검증 및 렌더링 할 수 있습니다. 이 프로젝트는 실용적인 자동화를 위해 디자인됩니다: 믿을 수 있는 뛰기, 재현 가능한 artifacts 및 LTspice 행동을 밀접하게 일치하는 산출. 에 의해 영감을: - gtnoble/ngspice-mcp - luc-me/ltspiceMCP - MCP (simulateNetlistFile, runSimulation, 큐 도구)에서 LTspice 시뮬레이션을 실행합니다. - 생성 및 정제 schematics (createSchematic*, lint/clean/debug 도구). - schematics, 플로트 및 기호에 대한 실제 LTspice 이미지 렌더링. - Query RAW 벡터 및 분석 메트릭 (bandwidth, margins, increase/fall, settling). - Automate .meas 및 assertion 구동 검증 워크플로우. - 구조화된 결과를 가진 stepped와 Monte Carlo 학문을 실행하십시오. - LTspice가 설치된 macOS (/Applications/LTspice.app은 기본적으로 예상). - Python 3.11+. - uv (recommended) 또는 pip. 기본 엔드포인트: - http://127.0.0.
개요(AI 번역)
Model Context Protocol (MCP) 서버는 macOS에서 에이전트 및 MCP 클라이언트 제어 LTspice를 시뮬레이션, schematic 생성, 데이터 추출, 검증 및 렌더링 할 수 있습니다.
이 프로젝트는 실용적인 자동화를 위해 디자인됩니다: 믿을 수 있는 뛰기, 재현 가능한 artifacts 및 LTspice 행동을 밀접하게 일치하는 산출.
에 의해 영감을:
- gtnoble/ngspice-mcp
- luc-me/ltspiceMCP의
당신이 할 수있는 것
- MCP (
simulateNetlistFile],runSimulation], queue 도구에서 LTspice 시뮬레이션을 실행합니다. - 생성 및 정제 schematics (
createSchematic*], lint/clean/debug 도구). - schematics, 플로트 및 기호에 대한 실제 LTspice 이미지 렌더링.
- Query RAW 벡터 및 분석 메트릭 (bandwidth, margins, increase/fall, settling).
- Automate
.meas및 assertion 구동 검증 워크플로우. - 구조화된 결과를 가진 stepped와 Monte Carlo 학문을 실행하십시오.
빠른 시작 (5 분)
1) 필수품
- LTspice가 설치된 macOS (
/Applications/LTspice.app]). - 파이썬 3.11+.
uv(권장) 또는pip.
##2 설치
당신이 핍을 선호하는 경우:
##3) MCP 데몬 시작
기본 엔드포인트:
- [T7]]
##4 보조 macOS 권한 한 번
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
LTspice MCP for macOS
Model Context Protocol (MCP) server that lets agents and MCP clients control LTspice on macOS for simulation, schematic generation, data extraction, verification, and rendering.
This project is designed for practical automation: reliable runs, reproducible artifacts, and outputs that match LTspice behavior closely.
Inspired by:
What You Can Do
- Run LTspice simulations from MCP (
simulateNetlistFile,runSimulation, queue tools). - Generate and refine schematics (
createSchematic*, lint/clean/debug tools). - Render real LTspice images for schematics, plots, and symbols.
- Query RAW vectors and analysis metrics (bandwidth, margins, rise/fall, settling).
- Automate
.measand assertion-driven verification workflows. - Run stepped and Monte Carlo studies with structured results.
Quick Start (5 Minutes)
1) Prerequisites
- macOS with LTspice installed (
/Applications/LTspice.appexpected by default). - Python 3.11+.
uv(recommended) orpip.
2) Install
uv sync
If you prefer pip:
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
3) Start the MCP daemon
./scripts/ltspice_mcp_daemon.sh start
./scripts/ltspice_mcp_daemon.sh status
Default endpoint:
http://127.0.0.1:8765/mcp
4) Grant macOS permissions once
Required for screenshot/render and some UI automation features.
./scripts/ltspice_mcp_daemon.sh trigger-initial-permissions
./scripts/ltspice_mcp_daemon.sh check-accessibility
5) Run a smoke test
uv run python smoke_test_mcp.py \
--transport streamable-http \
--server-url http://127.0.0.1:8765/mcp
Client Configuration
URL-capable MCP clients
[mcp_servers.ltspice]
url = "http://127.0.0.1:8765/mcp"
enabled = true
Claude Desktop via mcp-remote
{
"mcpServers": {
"ltspice-mcp": {
"command": "/opt/homebrew/bin/npx",
"args": ["-y", "mcp-remote", "http://127.0.0.1:8765/mcp"]
}
}
}
stdio (subprocess) mode
{
"mcpServers": {
"ltspice-mcp": {
"command": "ltspice-mcp",
"args": ["--transport", "stdio"],
"cwd": "/absolute/path/to/ltspice-mcp"
}
}
}
Core Capabilities by Category
Setup and diagnostics
getLtspiceStatus,getLtspiceUiStatusdaemonDoctor,tailDaemonLog,getRecentErrors,getCaptureHealth
Simulation and queueing
simulateNetlist,simulateNetlistFile,runSimulationqueueSimulationJob,listJobs,jobStatus,cancelJob,listJobHistory
Schematic workflows
createSchematic,createSchematicFromNetlist,createSchematicFromTemplatevalidateSchematic,lintSchematic,autoDebugSchematicinspectSchematicVisualQuality,autoCleanSchematicLayout
Data, measurements, and verification
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"ltspice-mcp": {
"command": "/opt/homebrew/bin/npx",
"args": ["-y", "mcp-remote", "http://127.0.0.1:8765/mcp"]
}
}
}