# \#mac

**URL:** https://discuss.pytorch.kr/tag/mac/3391.md

[최신](https://discuss.pytorch.kr/latest.md) · [카테고리](https://discuss.pytorch.kr/categories.md) · [태그](https://discuss.pytorch.kr/tags.md)

---

## [iMCP: macOS용 애플리케이션들을 MCP 기반으로 AI 모델과 연동 가능하게 해주는 도구](https://discuss.pytorch.kr/t/imcp-macos-mcp-ai/6313)

<div class="topic-metadata">

**Author:** [@9bow](https://discuss.pytorch.kr/u/9bow)\
**댓글:** 0\
**마지막 업데이트:** [3월 8, 2025, 9:30오전 UTC](https://discuss.pytorch.kr/t/imcp-macos-mcp-ai/6313 "2025-03-08T09:30:50Z")

</div>

iMCP 소개 iMCP는 macOS에서 AI 기반 워크플로우를 보다 원활하게 연결할 수 있도록 도와주는 애플리케이션입니다. 특히 Claude Desktop과 같은 AI 모델과 직접 연결하여 캘린더, 연락처, 메시지, 위치 정보 등을 활용할 수 있도록 지원합니다. iMCP는 Model Context Protocol(MCP)을 기반으로 AI 모델과 macOS의 다양한 기능을 연결해주는 도구입니다. 기본적으로 Claude Desktop과 연동되지만, 다른 MCP 지원 클라이언트와도 함께 사용할 수 있습니다. 이를 통해 AI가 사용자의 캘린더, 연락처, 메시지, 날씨 정보 등과 같은 macOS 시스템 데이터를 활용할 수 있도록 돕습니다. 기존 AI 모델은 사용자의 로컬 데이터를 직접 접근하기 어려운 경우가 많았지만, iMCP는 안전한 방식으로 데이터를 공유하여 더욱 스마트한 AI 활용을 가능하게 합니다. 예를 들어, “내일 일정이 뭐야?“라고 Claude에 질문하면 iMCP가 캘린더에서 데이터를 불러와 AI가 응답할 수 있도록 해줍니다. 기존 AI 어시스턴트는 주로 클라우드 기반으로 동작하며, 로컬 데이터 접근이 제한적이거나 불가능한 경우가 많습니다. 반면, iMCP는 로컬 환경에서 실행되며 필요할 때만 AI가 데이터를 요청할 수 있도록 설계되었습니다. iMCP의 주요 기능 iMCP는 다음과 같은 macOS 시스템 기능과 AI의 연계를 지원합니다: 캘린더(Calendar): 일정 확인 및 새로운 이벤트 생성 (반복 일정, 알람 설정 등 포함) 연락처(Contacts): 사용자의 연락처 정보 검색 및 조회 위치(Location): 현재 위치 확인 및 주소-좌표 변환 메시지(Messages): 특정 참가자와의 대화 기록 조회 리마인더(Reminders): 새로운 알림 설정 및 기존 알림 조회 날씨(Weather): 현재 기온, 풍속 등 날씨 데이터 제공 각 기능은 개별적으로 활성화할 수 있으며, Apple의 보안 정책에 …

---

## [M1에서 MPS 설정이 안 됩니다.](https://discuss.pytorch.kr/t/m1-mps/4775)

<div class="topic-metadata">

**Author:** [@sujeong](https://discuss.pytorch.kr/u/sujeong)\
**댓글:** 4\
**마지막 업데이트:** [7월 30, 2024, 1:40오전 UTC](https://discuss.pytorch.kr/t/m1-mps/4775 "2024-07-30T01:40:26Z")

</div>

M1 pro 사용 중입니다. VSCode에서 conda 가상환경으로 SciBERT로 파인튜닝을 진행하려고 하는데요, device = torch.device("mps") data=data sentences = \[\] labels = \[\] sentence = \[\] label = \[\] for idx, row in data.iterrows(): if pd.isna(row\['Token'\]): if sentence: sentences.append(sentence) labels.append(label) sentence = \[\] label = \[\] else: sentence.append(row\['Token'\]) label.append(row\['Label'\]) if sentence: sentences.append(sentence) labels.append(label) df\_label = list(data\['Label'\].unique()) label2id = {label: i for i, label in enumerate(df\_label)} id2label = {i: label for i, label in enumerate(df\_label)} train\_sentences, test\_sentences, train\_labels, test\_labels = train\_test\_split(sentences, labels, test\_size=0.2, random\_state=42) def tokenize\_and\_align\_labels(sentences, labels, tokenizer, label2id, max\_length=512): tokenized\_inputs = tokenizer(sentences, padding='max\_length', truncation=True, max\_length=max\_length,…
