Unofficial KakaoTalk CLI and native MCP server for macOS — read, watch, and send messages via Accessibility automation.
MCPpedia last refreshed this data
Kmsg is an MCP server that unofficial KakaoTalk CLI and native MCP server for macOS — read, watch, and send messages via Accessibility automation. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 95/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"kmsg": {
"args": [
"-y",
"skills"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
프로젝트 홈페이지 · English
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked skills against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Build, run and debug Make automation scenarios.
专门为 agent 打造的 agent 搜索工具,具备多语言搜索能力,覆盖中文/英文/学术/代码/购物/金融/新闻/百科。
Generate, validate, repair and style editable draw.io XML diagrams.
MCP Security Weekly
Get CVE alerts and security updates for Kmsg and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.

kmsg는 macOS용 비공식 카카오톡 CLI이자 네이티브 MCP 서버입니다.
macOS 손쉬운 사용 API로 메시지를 읽고, 감시하고, 전송하며 로컬 자동화와
AI 에이전트를 위한 구조화된 출력을 제공합니다.
Disclaimer:
kmsg는 Kakao Corp. 의 공식 도구가 아닙니다. 사용자는 본인 계정/환경에서 관련 법규, 서비스 약관, 회사 보안 정책을 준수할 책임이 있습니다. 이 도구 사용으로 발생할 수 있는 계정 제한, 오작동, 데이터 손실, 기타 손해에 대한 책임은 사용자에게 있습니다. LOCO Protocol 이 아닌 AX 를 사용한 이유와 계정 제재 가능성에 대한 제 개인적인 판단은 왜 KakaoTalk 의 LOCO Protocol 을 사용하지 않나요? 항목을 참고해 주세요.
kmsg는 macOS의 공식 Accessibility API, 즉 AX를 핵심 자동화 계층으로
사용해 개발되었습니다. Swift에서 ApplicationServices와 AXUIElement를
직접 호출해 사용자가 보는 KakaoTalk 창, 채팅 목록, 메시지 영역, 입력창을
탐색하고 제어합니다. 키보드와 마우스 입력이 필요한 동작은 CGEvent를
사용합니다.
CLI / MCP
→ KakaoTalkApp
→ UIElement
→ AXUIElement
→ macOS용 KakaoTalk
UIElement는 AX 속성 조회,
계층 탐색, 값 설정, 액션 실행을 Swift 인터페이스로 감쌉니다.AXActionRunner는
AX 액션과 CGEvent 기반 입력을 실행합니다.AXPathCache는 자주 쓰는
UI 경로를 캐시하고, KakaoTalk UI가 바뀌어 경로가 유효하지 않으면 다시
탐색할 수 있게 합니다.이 구조는 kmsg 자체가 KakaoTalk 서버나 비공개 LOCO 프로토콜에 직접
연결하지 않고, 사용자가 실제로 조작하는 앱 UI를 통해 동작한다는 뜻입니다.
따라서 설치한 kmsg 바이너리에 macOS 손쉬운 사용 권한이 필요하며,
KakaoTalk UI 구조가 바뀌면 일부 탐색 경로가 영향을 받을 수 있습니다.
자세한 설계 배경과 제약은 아키텍처 문서를 참고하세요.
https://github.com/user-attachments/assets/c620b2e3-7106-40fa-86d1-ed847e3b1a6f
Builder Josh: 헤르메스 에이전트 5개로 뉴스 큐레이션부터 주식 매매까지 자동화한 방법 전부 공개합니다 (AI 엔지니어 샘 호트만님) — 17:00부터 재생
샘 호트만: 나만의 Hermes 시스템 구축 방법 (문제정의부터 구축까지, 해외 AI 인사이트 발굴하기)
chat_id를 생성합니다.stdout으로 출력하고 AX 추적 로그는 stderr로 분리합니다.kmsg 바이너리에 대한 손쉬운 사용 권한Homebrew 설치를 권장합니다.
brew install channprj/tap/kmsg
이미 설치했다면 다음 명령으로 업데이트합니다.
kmsg update
kmsg update는 필요하면 Homebrew를 설치하고, 포뮬러를 설치하거나 업그레이드한
뒤, 직접 설치한 바이너리를 Homebrew 명령으로 연결합니다.
직접 다운로드와 소스 빌드 방법은 USAGE.md를 참고하세요.
kmsg status
kmsg chats
kmsg read "채팅방 이름" --limit 20
kmsg send "채팅방 이름" "안녕하세요" --dry-run
kmsg status는 손쉬운 사용 권한을 요청하고, 필요하면 KakaoTalk을 실행한
뒤 로그인 상태를 확인합니다. 마지막 명령은 dry run이므로 실제 메시지를
전송하지 않습니다.
저장소에 포함된 kmsg 스킬을 설치하면 Claude Code와 Codex가 채팅방을
구조화된 JSON으로 찾고, 안정적인 chat_id로 메시지를 읽고, 전송 전에
dry-run을 수행하는 공통 워크플로우를 사용할 수 있습니다. 먼저 위의
Homebrew 명령으로 kmsg를 설치한 다음 스킬을 전역 설치하세요.
npx skills add channprj/kmsg --skill kmsg --agent claude-code codex -g -y
호출 방법은 에이전트마다 다음과 같습니다.
| 에이전트 | 호출 |
|---|---|
| Claude Code | /kmsg |
| Codex | $kmsg |
/kmsg 출시 준비 채팅방의 최근 메시지 10개를 요약해줘
$kmsg 출시 준비 채팅방에 '배포 완료했습니다.'라고 보내줘
스킬은 텍스트 전송 전에 항상 d