PASCO Capstone MCP
AI와 대화하며 Capstone 실험을 조작하고 데이터를 분석하세요.
한국어 · English
시작하기 · 사용 예시 · 상세 사용 가이드 · 개인정보 보호정책
PASCO Capstone MCP는 AI 클라이언트에서 PASCO Capstone 화면 조작, .cap/CSV 실험 파일 추출, 물리 수치 분석 및 보고서 생성을 사용할 수 있게 해 주는 비공식 MCP 서버입니다. MCP(Model Context Protocol)를 통해 AI가 로컬 환경의 도구를 호출합니다.
- 오프라인 분석 (크로스플랫폼: Windows / macOS / Linux):
.cap·CSV 파일 읽기, 수치 회귀, 스펙트럼 분석, 물리 실험 계산 및 Markdown/HTML 보고서 생성은 Capstone 앱 없이 어떤 OS에서도 바로 실행됩니다. - 실시간 앱 제어 (Windows 전용): Capstone 창 제어, 파일 열기/저장/내보내기, 그래프/계산기 조작 및 센서 실시간 조회는 Windows에서 PASCO Capstone을 실행해 연동합니다.
무엇을 할 수 있나요?
| 작업 | 제공 기능 |
|---|---|
| 실험 파일 분석 | .cap 설정·데이터셋·회차·단위·저장 그래프를 추출하고, CSV의 strict ISO 8601 벽시계 시간축·원점·단위를 안전하게 파싱합니다. |
| 수치·스펙트럼 분석 | 짝지은 표본 산점도, 일반/가중 선형 회귀, Cook's distance, Hann/직사각 창 FFT 전력 스펙트럼 및 회차 비교를 수행합니다. |
| Capstone 앱 조작 | 창·컨트롤 조회, 스크린샷, 안전 모달/업데이트 팝업 가드, Windows 11 파일 열기/저장/CSV 내보내기를 지원합니다. |
| 그래프·디스플레이·계산기 | 그래프(축·23종 피팅·Copy Display 클립보드 소유권 검증), 페이지/표/Digits/Scope/FFT 배치 및 계산기(CalcEntryWidget) 수식·단위 등록을 지원합니다. |
| 센서·기록 | 로컬 CDP(127.0.0.1:9222) 기반 센서·측정량 읽기, 샘플링 속도·타이머 조건·수동 표본 요청을 지원합니다. (물리 850/550 장비 제어는 실장비 검증 필요) |
| 물리 실험·보고서 | 광전효과·편광(Malus 법칙)·RLC·강제진동·단열기체·단일/이중 슬릿 회절(GUM 불확도 포함)을 분석하고 Markdown·HTML 보고서를 생성합니다. |
시작하기
1. 설치
Git, uv, Python 3.12+ 및 MCP 호환 AI 클라이언트가 필요합니다.
실시간 데스크톱 앱 제어를 사용하려면 Windows에 PASCO Capstone이 설치되어 있어야 합니다. 기본 탐색 경로는 다음과 같으며, 다른 경로에 설치한 경우 환경 변수 CAPSTONE_EXECUTABLE에 절대 .exe 경로를 지정할 수 있습니다.
C:/Program Files/PASCO scientific/Capstone/Capstone.exe
저장소를 내려받고 의존성을 설치합니다.
git clone https://github.com/ji5zi5/capstone-mcp.git
cd capstone-mcp
uv sync --python 3.12
2. AI 클라이언트에 연결
클라이언트의 MCP 설정에 다음 항목을 추가합니다. C:/Projects/capstone-mcp는 저장소를 내려받은 실제 폴더의 절대 경로로 바꾸세요.
{
"mcpServers": {
"capstone": {
"command": "uv",
"args": [
"--directory", "C:/Projects/capstone-mcp",
"run", "--no-sync", "capstone-mcp"
]
}
}
}
설정을 적용하거나 클라이언트를 다시 시작한 뒤 capstone_file_datasets, capstone_manage_graph 등 22개 도구가 표시되는지 확인하세요. 클라이언트가 stdio 프로세스를 직접 띄우므로 별도 터미널을 열어 둘 필요가 없습니다.
Streamable HTTP 모드로 연결하기
저장소 폴더에서 HTTP 서버를 실행합니다.
uv run --no-sync capstone-mcp-http
클라이언트에 http://127.0.0.1:8766/mcp 주소를 등록하고 실행 터미널을 유지하세요. 서버는 로컬 루프백(127.0.0.1)에서만 수신합니다. 자세한 옵션은 사용 가이드를 참고하세요.
3. 첫 작업 요청
AI 클라이언트의 채팅창에서 로컬 경로를 지정해 요청하세요.
C:/Experiments/momentum.cap에 어떤 데이터가 있는지 보여 줘. 각 데이터셋의 이름, 단위 정보, 샘플 수를 정리해 줘.
앱을 조작하려면 먼저 Capstone에서 실험을 열고 “실행 중인 Capstone에 연결해서 현재 창을 확인해 줘”라고 요청하세요.
이렇게 요청하세요
- 저장된 실험 — “이 파일의 회차와 단위를 확인하고, 시간과 속도가 함께 기록된 회차의 처음 20개 표본을 보여 줘.”
- 그래프 — “저장된 두 번째 그래프에서 축, 회차, 피팅 계수를 읽어 줘.” 열린 그래프 변경 시에는 현재 창을 먼저 관찰한 뒤 네이티브 피팅 상태를 재확인합니다.
- 저장 전 내보내기 — “열린 실험을 새 파일
C:/Experiments/current.csv로 내보내고 처음 20행을 보여 줘.” - 편광·회절 분석 — “측정한 각도(
deg)와 광량 배열로 말뤼스 법칙(cos²θ) 피팅을 수행하고 HTML 보고서를 만들어 줘.” - 실시간 센서 — “현재 연결된 힘 센서의 측정값과 단위를 확인해 줘.” 실시간 조회에는 같은 Capstone 프로세스의 로컬 디버깅 포트가 필요합니다. 설정 방법
알아두기
- UI 조작 시 Capstone 창이 앞으로 나올 수 있으므로 잠금이 해제된 데스크톱에서 사용하세요. 백그라운드 실행 중인 MCP 프로세스 lock을 피하려면 CLI 테스트/실행 시
uv run --no-sync옵션을 권장합니다. - 저장·내보내기는 기존 파일을 절대 덮어쓰지 않습니다. CSV는 화면 표시 정밀도를 따르므로 저장된 원본 수치가 필요하면
.cap파일에서 추출하세요. - 저장 그래프는 파일에서 읽고, 미저장 그래프는
Copy Display클립보드 소유자·세대를 검증해 지원 형식을 복원합니다. - Capstone
2.13.4+ Windows 11 기준으로 무센서 실기 E2E 검증을 마쳤으나,.PageView내부 Table/Digits 커스텀 렌더링과 물리 850/550 하드웨어 연동은 UIA 노출 및 장비 미보유 한계에 따라 제한·미검증 상태로 남습니다.
도구별 호출 스키마, 실시간 조회 설정, 오류 코드는 **상세 사용 가이드**에서 확인할 수 있습니다.
개발 및 검증
uv run --no-sync ruff check src tests
uv run --no-sync basedpyright src
uv run --no-sync pytest -q
개인정보 보호정책 (Privacy Policy)
capstone-mcp는 사용자 PC에서 100% 로컬로 실행되며 외부 서버로 원격 분석·실험 파일·화면 데이터를 전송하지 않습니다. 자세한 내용은 PRIVACY.md를 참고하세요.
Metadata
Release files for capstone-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| capstone_mcp-0.1.1.tar.gz | 570.5 kB | With provenance | Details for capstone_mcp-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| capstone_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for capstone_mcp-0.1.1-py3-none-any.whl |
Total release size: 853.1 kB
Release files / capstone_mcp-0.1.1.tar.gz
| Download URL | capstone_mcp-0.1.1.tar.gz |
|---|---|
| Size | 570.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
018c8bdb4979f2cd60dd0f9141d5ad20c466e94202a039b1e0864eeb0766e8f9
|
|
BLAKE2b-256 checksum How to use checksums |
ff37a0e79860be53b8826ce3c144e1963f757bd85610063f054b010bf1d7f2f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / capstone_mcp-0.1.1-py3-none-any.whl
| Download URL | capstone_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 282.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44c5103d5d100ead3c3f02302a9213697629813683dd65cabddea891caac5492
|
|
BLAKE2b-256 checksum How to use checksums |
1b698e29956e4c20b7d125ec35f43f18eeefd5727b9c2762e6ef351491086661
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for capstone-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for capstone_mcp-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.